ESP-IDF: Create New ESP-IDF Component

LarsMygh
Posts: 3
Joined: Sun Aug 01, 2021 9:19 pm

ESP-IDF: Create New ESP-IDF Component

Postby LarsMygh » 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"

Who is online

Users browsing this forum: No registered users and 120 guests