summaryrefslogtreecommitdiff
path: root/examples/device/board_test/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-11-29 17:09:52 +0700
committerhathach <[email protected]>2023-11-29 17:09:52 +0700
commit83840041a86d3893dc66e9a39cdace78158da011 (patch)
tree90d5fda99c5296311f316a9ca7466ce994753c6d /examples/device/board_test/src
parent9c9ebb342d2d3cb0396ff4ad8c7b09acd2aee75e (diff)
update esp32 to also be supported by hil test
test run locally well
Diffstat (limited to 'examples/device/board_test/src')
-rw-r--r--examples/device/board_test/src/tusb_config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/device/board_test/src/tusb_config.h b/examples/device/board_test/src/tusb_config.h
index 2c2eb5280..1a27cc87f 100644
--- a/examples/device/board_test/src/tusb_config.h
+++ b/examples/device/board_test/src/tusb_config.h
@@ -48,6 +48,11 @@
#define CFG_TUSB_OS OPT_OS_NONE
#endif
+// Espressif IDF requires "freertos/" prefix in include path
+#if TU_CHECK_MCU(OPT_MCU_ESP32S2, OPT_MCU_ESP32S3)
+#define CFG_TUSB_OS_INC_PATH freertos/
+#endif
+
// This example only test LED & GPIO, disable both device and host stack
#define CFG_TUD_ENABLED 0
#define CFG_TUH_ENABLED 0