-
Notifications
You must be signed in to change notification settings - Fork 7.6k
SD Library- Architecture or board not supported #2191
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
Comments
There is no CardInfo.ino in the SD library examples. You are running something from another architecture. |
All recent versions of the Arduino IDE do architecture-based library priority inversion. This means that the library with the best library.properties
So, as long as you correctly install the package, that library will have priority over other installed SD libraries which provide a wildcard match (such as the standard Arduino SD library), or an architecture mismatch. I suspect you have not correctly installed the ESP32 package (similar problem to #20). I recommend you to use the Boards Manager installation method, which will insure it is installed correctly: |
Hi @lbernstone , thank you for your reply. Regards. |
Hi @per1234 , thank you for your reply. Regards. |
Hi @per1234 , I installed the board manager following the link you had suggested in the precedent post. I have the same error as before. Below there are what I read on the console
Regards, |
As I suspected, the problem was caused by an incorrect manual installation. Your architecture folder is named "eps32". This causes the Arduino IDE to consider the architecture of all the boards in this package to be "eps32", which does not match the specified architecture "esp32" of the SD library at C:\Users\crist\Documents\Arduino\hardware\espressif\eps32\libraries\SD (the library you want to be using). That causes the standard SD library at C:\Users\crist\Documents\Arduino\libraries\SD to be used instead. The reason is that library specifies a wildcard in its architectures field and a wildcard architecture match has priority over an architecture mismatch ("esp32" vs. "eps32").
If so, then it looks like you have a manual installation at C:\Users\crist\Documents\Arduino\hardware\espressif\eps32 in addition to the version installed via Boards Manager, which is installed to a different location on your computer. You should remove the invalid manual installation by deleting the C:\Users\crist\Documents\Arduino\hardware\espressif\eps32 folder. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This stale issue has been automatically closed. Thank you for your contributions. |
Hardware:
Board: ESP32 Dev Module
IDE name: Arduino IDE
Flash Frequency: 80Mhz
Upload Speed: 921600
Computer OS: Windows 10
Description:
Hello everyone,
I tried to run CardInfo.ino example project from the SD library and it turns out the following error:
#error Architecture or board not supported.
This is really weird because on an another computer it's run fine.
Furthermore the console tells me that there are more than one SD library.
Anyone can help me please?
Regards,
Vincenzo
The text was updated successfully, but these errors were encountered: