Skip to content

Add SS declaration to Arduino.h for SD lib compatibility #72

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

Merged
merged 3 commits into from
Oct 14, 2019
Merged

Conversation

nseidle
Copy link
Member

@nseidle nseidle commented Oct 13, 2019

Add a #define SS to Arduino.h instead of variant files. This pin is required by the built in SD lib for Arm architectures but is often (if not always?) over written by a local chipSelect or equivalent pin - so the actual value of SS is fairly arbitrary.

nseidle and others added 3 commits October 10, 2019 21:18
The built-in SD examples require SS to be defined even though the chip select pin is set inside the INO.
This removes the need to have SS in variant files.
@oclyke oclyke merged commit f647a3c into master Oct 14, 2019
@oclyke oclyke deleted the spiSD branch October 14, 2019 18:18
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