Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32-C6 CONFIG_SOC_UART_NUM wrongly set to 3 (IDFGH-10775) #11989

Closed
3 tasks done
petergjoel opened this issue Aug 1, 2023 · 2 comments
Closed
3 tasks done

ESP32-C6 CONFIG_SOC_UART_NUM wrongly set to 3 (IDFGH-10775) #11989

petergjoel opened this issue Aug 1, 2023 · 2 comments
Labels
Resolution: Won't Do This will not be worked on Status: Done Issue is done internally Type: Bug bugs in IDF

Comments

@petergjoel
Copy link

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.

28167ea

Operating System used.

Linux

How did you build your project?

Command line with idf.py

If you are using Windows, please specify command line type.

None

What is the expected behavior?

I expect CONFIG_SOC_UART_NUM to be set to 2 which is consistent with the documentation.

What is the actual behavior?

CONFIG_SOC_UART_NUM is set to 3, causing issues with compilation of e.g. Arduino libraries.

Steps to reproduce.

  1. Set up a project for ESP-C6
  2. Observe the sdkconfig file
  3. (extra) try to include and compile an example with https://github.com/espressif/arduino-esp32/blob/esp-idf-v5.1-libs

Build or installation Logs.

No response

More Information.

No response

@petergjoel petergjoel added the Type: Bug bugs in IDF label Aug 1, 2023
@espressif-bot espressif-bot added the Status: Opened Issue is new label Aug 1, 2023
@github-actions github-actions bot changed the title ESP32-C6 CONFIG_SOC_UART_NUM wrongly set to 3 ESP32-C6 CONFIG_SOC_UART_NUM wrongly set to 3 (IDFGH-10775) Aug 1, 2023
@igrr
Copy link
Member

igrr commented Aug 1, 2023

This is probably something that has to updated on arduino-esp32 side. SOC_UART_NUM still means "number of UART peripherals in the chip", but one of these UARTs on ESP32-C6 is the LP_UART peripheral. From IDF perspective, LP_UART can also be used with the UART driver (921713f).

To find the number of non-LP UARTs there is another option, SOC_UART_HP_NUM.

@petergjoel
Copy link
Author

@igrr, makes sense. I will forward the issue to the arduino-esp32.

@espressif-bot espressif-bot added Status: Done Issue is done internally Resolution: Won't Do This will not be worked on and removed Status: Opened Issue is new labels Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Won't Do This will not be worked on Status: Done Issue is done internally Type: Bug bugs in IDF
Projects
None yet
Development

No branches or pull requests

3 participants