Closed
Description
Related area
Onboard led blinking
Hardware specification
Onboard led
Is your feature request related to a problem?
Arduino IDE works fine with CORE-ESP32 board (choosing "ESP32C3 Dev Module" from board manager) except for the LED_BUILTIN value that is set to 30, while CORE-ESP32 has a LED on pin 12 and a secondary LED on pin 13.
Describe the solution you'd like
Provide the board manager with a board choice specific for the CORE-ESP32 board, returning the correct value of LED_BUILTIN: 12.
Describe alternatives you've considered
No response
Additional context
No response
I have checked existing list of Feature requests and the Contribution Guide
- I confirm I have checked existing list of Feature requests and Contribution Guide.
Activity
SuGlider commentedon Mar 2, 2023
@fabriziop -
ESP32C3 Dev Module
has a configuration with a NeoLED in GPIO 8.We made a change to the code and pin definition according to these links:
#6783
#6968
#6979
arduino-esp32/variants/esp32c3/pins_arduino.h
Lines 11 to 15 in 05ae83a
Therefore,
LED_BUILTIN
may change in order to work with boards that use NeoLED instead of plain LED, depending on how the board Variant is created.Maybe the
CORE-ESP32
board may need a new Board definition and Variant setup.SuGlider commentedon Mar 2, 2023
We rely on the community and board makers to add such new boards.
Please feel free to submit a PR adding it.
SuGlider commentedon Mar 2, 2023
It is possible to get some "inspiration" in a similar board, the https://github.com/espressif/arduino-esp32/blob/master/variants/esp_c3_m1_i_kit/pins_arduino.h
It has 5 LEDs... No NeoPixel.
Board Definition in https://github.com/espressif/arduino-esp32/blob/master/boards.txt#L21318-L21429
VojtechBartoska commentedon Aug 18, 2023
Closing this as it was already covered in mentioned PR above and there are no updates from author of this issue. If needed, you can reopen this issue.