-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Fix for issue #8185 (added SPI default pins for M5Stack Stamp S3 board) #8187
New issue
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
Conversation
LCD port is marked for parallel. I suggest that you add pins that are available on the headers |
Done, copied SPI PINs mapping from Stamp C3. |
Any news on this one? |
I think this is not actual, as most recent version contains this fix. |
Newbie question but how long does it take for this to be pulled through to VSCode/PlatformIO? I am still getting this issue with the "builtin" board configuration. I did use your fix (@bsergei) to repair this so not urgent, was just wondering. |
@bsergei Still getting the errors on VSCode/PlatformIO for StampS3... Any particular release/update I should be looking for? |
ATTOW, I am still getting the errors on VSCode/PlatformIO for StampS3... Any particular release/update I should be looking for?
|
Indeed, most recent variants/m5stack_stamp_s3/pins_arduino.h doesn't contain SPI pins definition. I was confused with issue-8185 branch comparison. |
f1ad07c
to
5fb3b03
Compare
Cool. @bsergei could you suggest a way for testing the change in VSC with PlatformIO? I see I can use the specific platform in my platformio.ini:
Is there a way to force the IDE to use your branch of arduino-esp32? |
@karol-brejna-i this worked for me platform = espressif32 framework = arduino platform_packages = framework-arduinoespressif32 @ https://github.com/bsergei/arduino-esp32.git#issue-8185 board = m5stack-stamps3` |
By completing this PR sufficiently, you help us to review this Pull Request quicker and also help improve the quality of Release Notes
Description of Change
Add definition for SPI pins in board's specific pins_arduino.h so SPI.cpp for ESP32-S3 would be able to compile. GPIOs 34, 35, 36, 37 are available on LCD port of the development board and have the same meaning.
Tests scenarios
I have tested my pull request on M5Stack Stamp S3 board with sketch provided in issue #8185.
Related links
Closes #8185