We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
M5Stack Stamp S3
Original M5Stack Stamp S3.
Bare dev board.
latest master (checkout manually)
PlatformIO
Windows 10
default
yes
While trying to compile sketch with FastLed.h dependency I got these compiler errors:
Compiling .pio\build\m5stack-stamps3\lib575\SPI\SPI.cpp.o C:/Users/user/.platformio/packages/framework-arduinoespressif32/libraries/SPI/src/SPI.cpp: In member function 'void SPIClass::begin(int8_t, int8_t, int8_t, int8_t)': C:/Users/user/.platformio/packages/framework-arduinoespressif32/libraries/SPI/src/SPI.cpp:87:37: error: 'SCK' was not declared in this scope _sck = (_spi_num == FSPI) ? SCK : -1; ^~~ C:/Users/user/.platformio/packages/framework-arduinoespressif32/libraries/SPI/src/SPI.cpp:87:37: note: suggested alternative: 'SCL' _sck = (_spi_num == FSPI) ? SCK : -1; ^~~ SCL C:/Users/user/.platformio/packages/framework-arduinoespressif32/libraries/SPI/src/SPI.cpp:88:38: error: 'MISO' was not declared in this scope _miso = (_spi_num == FSPI) ? MISO : -1; ^~~~ C:/Users/user/.platformio/packages/framework-arduinoespressif32/libraries/SPI/src/SPI.cpp:89:38: error: 'MOSI' was not declared in this scope _mosi = (_spi_num == FSPI) ? MOSI : -1; ^~~~ C:/Users/user/.platformio/packages/framework-arduinoespressif32/libraries/SPI/src/SPI.cpp:90:36: error: 'SS' was not declared in this scope _ss = (_spi_num == FSPI) ? SS : -1; ^~ C:/Users/user/.platformio/packages/framework-arduinoespressif32/libraries/SPI/src/SPI.cpp:90:36: note: suggested alternative: 'PS' _ss = (_spi_num == FSPI) ? SS : -1; ^~ PS
FastLed library has dependency on SPI.h. However SCK, MISO, MOSI, SS pins are not declared in variants\m5stack_stamp_s3\pins_arduino.h.
#include <Arduino.h> #include <FastLed.h> void setup() { } void loop() { }
Not related.
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Board
M5Stack Stamp S3
Device Description
Original M5Stack Stamp S3.
Hardware Configuration
Bare dev board.
Version
latest master (checkout manually)
IDE Name
PlatformIO
Operating System
Windows 10
Flash frequency
default
PSRAM enabled
yes
Upload speed
default
Description
While trying to compile sketch with FastLed.h dependency I got these compiler errors:
FastLed library has dependency on SPI.h. However SCK, MISO, MOSI, SS pins are not declared in variants\m5stack_stamp_s3\pins_arduino.h.
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: