Skip to content

Commit

Permalink
Merge branch 'test/disable_twai_example_ci' into 'master'
Browse files Browse the repository at this point in the history
Temporarily disable TWAI network example test

See merge request espressif/esp-idf!11560
  • Loading branch information
igrr committed Dec 12, 2020
2 parents 75d32ec + 9b34f1c commit b015061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/peripherals/twai/twai_network/example_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def dut_thread_callback(**kwargs):
result[0] = True


@ttfw_idf.idf_example_test(env_tag='Example_TWAI2')
@ttfw_idf.idf_example_test(env_tag='Example_TWAI2', ignore=True)
def test_twai_network_example(env, extra_data):

# Get device under test. "dut1", "dut2", and "dut3" must be properly defined in EnvConfig
Expand Down

2 comments on commit b015061

@brainstorm
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Argh, just found myself in here today... is TWAI broken?:

[ 99%] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/twai_network_example_slave_main.c.obj
/Users/romanvg/dev/esp32s2_can/twai_network_slave/main/twai_network_example_slave_main.c:31:10: fatal error: driver/twai.h: No such file or directory
 #include "driver/twai.h"
          ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [esp-idf/main/CMakeFiles/__idf_main.dir/twai_network_example_slave_main.c.obj] Error 1
make[1]: *** [esp-idf/main/CMakeFiles/__idf_main.dir/all] Error 2
make: *** [all] Error 2

Cannot find the See merge request espressif/esp-idf!11560 referred in the commit message, is it an internal espressif PR tracker? :/

@brainstorm
Copy link
Contributor

@brainstorm brainstorm commented on b015061 Dec 30, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm... nevermind, sorry for the noise, might be PEBCAK after all:

$ find ~/dev/esp-idf/ -iname "twai.h"
~/dev/esp-idf/components/driver/include/driver/twai.h

Please sign in to comment.