-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Closed
Labels
IDE: PlaformIOIssue relates to PlatformIO IDEIssue relates to PlatformIO IDEType: 3rd party BoardsRelated to third-party/non-Espressif hardware boards.Related to third-party/non-Espressif hardware boards.Type: Bug 🐛All bugsAll bugs
Description
Board
ESp32 Lolin S3 mini
Device Description
default
Hardware Configuration
default
Version
v3.1.0
IDE Name
VScode, PlatformIO
Operating System
macOS
Flash frequency
80Mhz
PSRAM enabled
yes
Upload speed
115200
Description
I got a warning (and can build without -Werror, but I like this option) when use a board that contains RGB led:
.platformio/packages/framework-arduinoespressif32/variants/lolin_s3_mini/pins_arduino.h:17: error: "RGB_BUILTIN_LED_COLOR_ORDER" redefined
.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-rgb-led.h:15
The cause of the error is pins_arduino.h for the lolin_s3_mini variant.
How can I include these files in proper order to make the #ifndef works?
Sketch
Any sketch
Debug Message
No debug, compile warning
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.
Metadata
Metadata
Assignees
Labels
IDE: PlaformIOIssue relates to PlatformIO IDEIssue relates to PlatformIO IDEType: 3rd party BoardsRelated to third-party/non-Espressif hardware boards.Related to third-party/non-Espressif hardware boards.Type: Bug 🐛All bugsAll bugs