diff options
| author | hathach <[email protected]> | 2024-04-25 20:23:40 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-04-25 20:23:40 +0700 |
| commit | 2e995d7cf4b2971e3ca7167a097b99832c8d61ce (patch) | |
| tree | 7895e6ba2a2e4f34b42af14930dea5be698a9e3b /examples/device/video_capture_2ch/src | |
| parent | fc91e15488523548b6eafa63a3cb6190c1ba72d8 (diff) | |
adding support for esp32 for use with max3421e host
Diffstat (limited to 'examples/device/video_capture_2ch/src')
| -rw-r--r-- | examples/device/video_capture_2ch/src/main.c | 4 | ||||
| -rw-r--r-- | examples/device/video_capture_2ch/src/tusb_config.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/device/video_capture_2ch/src/main.c b/examples/device/video_capture_2ch/src/main.c index eb1cf2580..e8c2ec6b0 100644 --- a/examples/device/video_capture_2ch/src/main.c +++ b/examples/device/video_capture_2ch/src/main.c @@ -296,7 +296,7 @@ void led_blinking_task(void* param) { #define BLINKY_STACK_SIZE configMINIMAL_STACK_SIZE #define VIDEO_STACK_SIZE (configMINIMAL_STACK_SIZE*4) -#if TU_CHECK_MCU(OPT_MCU_ESP32S2, OPT_MCU_ESP32S3) +#if TUP_MCU_ESPRESSIF #define USBD_STACK_SIZE 4096 int main(void); void app_main(void) { @@ -352,7 +352,7 @@ void freertos_init_task(void) { #endif // skip starting scheduler (and return) for ESP32-S2 or ESP32-S3 - #if !TU_CHECK_MCU(OPT_MCU_ESP32S2, OPT_MCU_ESP32S3) + #if !TUP_MCU_ESPRESSIF vTaskStartScheduler(); #endif } diff --git a/examples/device/video_capture_2ch/src/tusb_config.h b/examples/device/video_capture_2ch/src/tusb_config.h index fe66d63b5..43c7dfc90 100644 --- a/examples/device/video_capture_2ch/src/tusb_config.h +++ b/examples/device/video_capture_2ch/src/tusb_config.h @@ -58,7 +58,7 @@ #endif // Espressif IDF requires "freertos/" prefix in include path -#if TU_CHECK_MCU(OPT_MCU_ESP32S2, OPT_MCU_ESP32S3) +#if TUP_MCU_ESPRESSIF #define CFG_TUSB_OS_INC_PATH freertos/ #endif |
