-
-
Notifications
You must be signed in to change notification settings - Fork 7k
add support for Microduino SD #4428
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
Add enhance for SD pin layout to supprot the microduino board. Just like board that listed in this Sd2PinMap.h, such as Teensy, Sanguino. |
The commit looks good by itself, though I cannot verify the actual pinouts. However, I'm wondering if all this pin mapping code is really needed at all? Nowadays, most variants' pins_arduino.h files expose constants for special pins (like |
Actually we have tested it. And it only can be used if the Macro is true, so it won't impact the Arduino IDE. |
BTW, the SD library is very special, and can't change your listed file to support new pinout, so have to change the file "Sd2PinMap.h", this is the only method. Hope you can accept this patch. |
there is this PR that did it already: #121 @JasonSheng may I ask you give it a try with the Microduino? (it does need some minor edits to merge cleanly, but you should be able to use the file SD2PinMap.h from here https://github.com/arduino/Arduino/pull/121/files) |
@cmaglie , I checked the file Sd2PinMap.h, it didn't use PR 121's change. I am not sure the PR #121 has been accepted. Could you please double check it? If use PR #121, our PR no need again. The PR #121 was submitted in 2012, that directory is /libraries/SD/utility/Sd2PinMap.h, so far the directory has changed to /libraries/SD/src/utility/Sd2PinMap.h. |
it wasn't, my request is if you can check if it's working for you so we can move it forward :-) |
@cmaglie , @matthijskooijman , I tested the PR#121, works well, after this patch, the user can change the pin layout easily. It is a wonderful PR. Could you consider how to move on? |
@matthijskooijman , @cmaglie , what's your opinion for this new patch, We have verified it, no issue found. |
@JasonSheng, I'm for merging #121, but I expect it is now on @cmaglie's stack, waiting for him to find time to test and merge it. |
Hi @JasonSheng, yes we are working on this one, #121 will get merged very soon! |
#121 has been merged. |
@cmaglie , @matthijskooijman thanks a lot.. we weill try our best to popularize the Arduino... |
No description provided.