Skip to content

Issue #1552: Fix to enhance ESP32-S3 SPI compatibility by enabling flexible pin assignment - #1608

Closed
coryking wants to merge 3 commits into
FastLED:masterfrom
coryking:esp32s3-fix
Closed

coryking wants to merge 3 commits into
FastLED:masterfrom
coryking:esp32s3-fix

Conversation

@coryking

Copy link
Copy Markdown
Contributor

This pull request aims to resolve issue #1552 by adapting FastLED's SPI handling for the ESP32-S3. The ESP32-S3 diverges from previous ESP32 models by not using named SPI buses (VSPI/HSPI). Instead, it supports flexible pin assignments for SPI communication. In response, this update defaults to "FSPI" for the ESP32-S3, allowing dynamic pin assignment rather than relying on hardcoded pin mappings.

I want to note that while this solution aligns FastLED with the ESP32-S3's SPI flexibility, I'm not entirely certain this is the absolute "best practice" within the broader context of esp-idf and the arduino-espressif library ecosystem. If you know a better way, I'm all ears!

@coryking coryking changed the title Issue #1552: Enhance ESP32-S3 SPI Compatibility by Enabling Flexible Pin Assignment Issue #1552: Fix to enhance ESP32-S3 SPI compatibility by enabling flexible pin assignment Mar 11, 2024
@samguyer

Copy link
Copy Markdown
Contributor

Hello! Thanks for this contribution. A couple of things before I merge it ... I had to pull in an earlier PR that might invalidate yours (or create a bunch of conflicts). It's in the same file, but not directly conflicting with yours. I'm also wondering if you can limit the changes a bit more -- right now, your PR appears to change almost every line in the file.

@coryking

Copy link
Copy Markdown
Contributor Author

I see those line changes... VSCode probably did something stupid when I saved and i didn't catch it before making this pull request.

@coryking

Copy link
Copy Markdown
Contributor Author

Going to close this pull request and roll with PR #1610. VSCode decided to reformat the entire file in this commit and I didn't catch it!

@coryking coryking closed this Mar 15, 2024
@coryking
coryking deleted the esp32s3-fix branch March 15, 2024 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants