Search found 41 matches

by espmich
Wed Dec 31, 2025 11:23 am
Forum: Hardware
Topic: Why have a UART to USB bridge?
Replies: 1
Views: 1111

Why have a UART to USB bridge?

Many Espressif devkits (ESP32-C6-DevKitC-1) include a UART USB bridge, usually the Silicon Labs CP2102N.

Most of the chips (ESP32-S3, ESP32-C3, ESP32-C6) in these devkits can support USB serial communication (standard USB CDC-ACM) easily without use of any other hardware, so it seems like adding a ...
by espmich
Sat Dec 27, 2025 7:30 pm
Forum: ESP-IDF
Topic: Kconfig syntax error on set default
Replies: 1
Views: 936

Kconfig syntax error on set default

I'm trying to use the set default construct in my Kconfig.projbuild file, but getting the error esp-idf kconfig error couldn't parse set default syntax error .

The set default construct is defined in the online Kconfig documentation :

set_default ::= "set default" + assignment [+ "if ...
by espmich
Fri Dec 26, 2025 1:55 pm
Forum: ESP-IDF
Topic: Escape sequences problem in console and linenoise components
Replies: 8
Views: 2803

Re: Escape sequences problem in console and linenoise components

You're right that it's not enough to simply wait for a USB connection to happen. That is easy to detect (see the two methods previously reported) but does nothing to ensure terminal emulation is executing.

have the terminal send some special sequence when it is connected and ready to be queried ...
by espmich
Wed Dec 24, 2025 3:55 pm
Forum: ESP-IDF
Topic: Escape sequences problem in console and linenoise components
Replies: 8
Views: 2803

Re: Escape sequences problem in console and linenoise components

I think you are correct, the author of this example probably doesn't intend for runtime to execute without warnings or errors.

you can call linenoiseSetDumbMode(0) later to enable "smart" mode again

Another idea is to detect the USB connected state, and wait to run the console component until ...
by espmich
Sun Dec 21, 2025 11:58 pm
Forum: ESP-IDF
Topic: Escape sequences problem in console and linenoise components
Replies: 8
Views: 2803

Re: Escape sequences problem in console and linenoise components

The $ idf monitor command always properly used escape codes, and did not exhibit the problem stated here. I have not been using that command much, in order to focus on the standard terminal applications most typically used like Winterm, Putty, Screen, Cu, Minicom, and similar.

Update

While ...
by espmich
Fri Dec 19, 2025 6:08 pm
Forum: ESP-IDF
Topic: Escape sequences problem in console and linenoise components
Replies: 8
Views: 2803

Re: Escape sequences problem in console and linenoise components

If the ESP-IDF console component performs a check to see if the monitoring terminal application responds properly to an escape-coded request, then I wonder how the example can ever run correctly. I mean, unless the example code waits until a USB connection is detected, it would issue the check logic ...
by espmich
Fri Dec 19, 2025 1:09 am
Forum: ESP-IDF
Topic: Escape sequences problem in console and linenoise components
Replies: 8
Views: 2803

Escape sequences problem in console and linenoise components

I'm running the examples/system/console/basic application on a custom board using the ESP32-C3. This board connects a USB Type C connector the the standard GPIO18 and GPIO19 of the MCU without any UART bridge IC. This example application uses the console and linenoise components.

ESP32-C3 ...
by espmich
Tue Dec 16, 2025 2:35 pm
Forum: ESP-IDF
Topic: The esp_cli component appears to be flawed, calling functions that don't exist
Replies: 3
Views: 2318

Re: The esp_cli component appears to be flawed, calling functions that don't exist

Thanks @nopnop2002 your comments may help. The compile problems are solved in bug report 641 on the IDF extra components repository, but now we are trying to get the example to work with the USB console. It was hard coded to use UART0, which is not always easy to access.

https://www.github.com ...
by espmich
Mon Dec 15, 2025 4:57 pm
Forum: ESP-IDF
Topic: The esp_cli component appears to be flawed, calling functions that don't exist
Replies: 3
Views: 2318

The esp_cli component appears to be flawed, calling functions that don't exist

Has anybody used the esp_cli component as instructed on the page:

https://components.espressif.com/components/espressif/esp_cli/

...because the example code there calls functions that don't exist, and of course fails to compile. Seems like a sloppy job at component development but the author ...

Go to advanced search