ESP32 UART-USB Brige How to use

For general Flowcode discussion that does not belong in the other sections.
stefan.erni
Valued Contributor
Posts: 1133
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 215 times
Been thanked: 237 times

Re: ESP32 UART-USB Brige How to use

Post 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

mnfisher
Valued Contributor
Posts: 1737
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 147 times
Been thanked: 809 times

Re: ESP32 UART-USB Brige How to use

Post by mnfisher »

Something looks awry with the path ?

How (and where) are you creating the flowchart?

Martin

stefan.erni
Valued Contributor
Posts: 1133
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 215 times
Been thanked: 237 times

Re: ESP32 UART-USB Brige How to use

Post 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 43 times

Steve-Matrix
Matrix Staff
Posts: 1662
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 233 times
Been thanked: 393 times

Re: ESP32 UART-USB Brige How to use

Post by Steve-Matrix »

May also need "main"?

mnfisher
Valued Contributor
Posts: 1737
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 147 times
Been thanked: 809 times

Re: ESP32 UART-USB Brige How to use

Post 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

stefan.erni
Valued Contributor
Posts: 1133
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 215 times
Been thanked: 237 times

Re: ESP32 UART-USB Brige How to use

Post 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


mnfisher
Valued Contributor
Posts: 1737
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 147 times
Been thanked: 809 times

Re: ESP32 UART-USB Brige How to use

Post 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

Post Reply