Page 3 of 3

Re: ESP32 UART-USB Brige How to use

Posted: Thu Dec 04, 2025 8:57 am
by stefan.erni
Hi Martin

Thanks for the support. I tried, but I always end up with a new error and then I get a little lost. I'll keep trying.

Code: Select all

ERROR: Directory "C:\C#_sourcecode\_#FC11\Tiny_usb\main" does not exist! Please specify a valid component under C:\C#_sourcecode\_#FC11\Tiny_usb or try to use --path

C:\C#_sourcecode\_#FC11\Tiny_usb>ERROR: Directory "C:\C#_sourcecode\_#FC11\Tiny_usb\main" does not exist! Please specify a valid component under C:\C#_sourcecode\_#FC11\Tiny_usb or try to use --path

Re: ESP32 UART-USB Brige How to use

Posted: Thu Dec 04, 2025 9:21 am
by mnfisher
Something looks awry with the path ?

How (and where) are you creating the flowchart?

Martin

Re: ESP32 UART-USB Brige How to use

Posted: Thu Dec 04, 2025 9:32 am
by stefan.erni
I made a copy of supplementary.c supplementary.h from the supplementary folder to Tiny_usb
I did not help...
2025-12-04_10-28-51.PNG
2025-12-04_10-28-51.PNG (34.85 KiB) Viewed 44 times

Re: ESP32 UART-USB Brige How to use

Posted: Thu Dec 04, 2025 9:39 am
by Steve-Matrix
May also need "main"?

Re: ESP32 UART-USB Brige How to use

Posted: Thu Dec 04, 2025 9:41 am
by mnfisher
Yes - supplementary.h & .c need to go into tiny_usb (project directory) /main/includes - and add includes to CMakeLists.txt as above.

Martin

Re: ESP32 UART-USB Brige How to use

Posted: Thu Dec 04, 2025 10:34 am
by stefan.erni
ok I create main and all...

Code: Select all

In file included from C:/Users/Kfs-Forschung/Desktop/esp-idf-2/mtxesp32_s3_sdkconfig/main/esp-project.c:20:
C:\C#_sourcecode\_#FC11\Tiny_usb\tinyusb_test.h:64:10: fatal error: supplementary.h: No such file or directory


Re: ESP32 UART-USB Brige How to use

Posted: Thu Dec 04, 2025 11:13 am
by mnfisher
Odd - the main directory should be created with the project - you could try either pasting the .h and .c files into the supplementary code (instead of the #includes) or give them a fixed address (#include "c:/test/file.h")

Martin