Skip to content

Redefined define with lolin_s3_mini #10822

Closed
@BCsabaEngine

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

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions