Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Redefined define with lolin_s3_mini #10822

Closed
Assignees
Labels
IDE: PlaformIOIssue relates to PlatformIO IDE Type: 3rd party BoardsRelated to third-party/non-Espressif hardware boards. Type: Bug 🐛All bugs
@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

Metadata

Labels

IDE: PlaformIOIssue relates to PlatformIO IDE Type: 3rd party BoardsRelated to third-party/non-Espressif hardware boards. Type: Bug 🐛All bugs

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /