ESP-IDF: Create New ESP-IDF Component
Posted: Mon May 20, 2024 4:17 am
Simple question:
Using ESP-IDF directly under VS-Code:
- Creating a new project based on # TinyUSB Composite Device (MSC + Serial) Example (using "ESP-IDF: Create New Project")
- Adding a new component "esp32_utils" (using "ESP-IDF: Create New ESP-IDF Component")
- Adding "include "esp32_utils.h" to my tusb_composite_main.c
Error when compiling:
C:/ESP32-Projects/NewProject/main/tusb_composite_main.c:15:10: fatal error: esp32_utils.h: No such file or directory
15 | #include "esp32_utils.h"
Where do I get in wrong? Same sequence works with other projects based in templates, such as "blink"
Using ESP-IDF directly under VS-Code:
- Creating a new project based on # TinyUSB Composite Device (MSC + Serial) Example (using "ESP-IDF: Create New Project")
- Adding a new component "esp32_utils" (using "ESP-IDF: Create New ESP-IDF Component")
- Adding "include "esp32_utils.h" to my tusb_composite_main.c
Error when compiling:
C:/ESP32-Projects/NewProject/main/tusb_composite_main.c:15:10: fatal error: esp32_utils.h: No such file or directory
15 | #include "esp32_utils.h"
Where do I get in wrong? Same sequence works with other projects based in templates, such as "blink"