You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Edit: SPI error, see second posting.
cant complie the sketch - incompatible architecture
Affected file(s) or example(s):
Steps to reproduce:
Observed Results:
Edit: SPI error, see second posting.
Arduino: 1.8.2 (Windows 10), Board: "Intel® Galileo Gen2"
Build options changed, rebuilding all
WARNING: library rfidmaster claims to run on (avr, STM32F1, teensy, esp8266) architecture(s) and may be incompatible with your current board which runs on (i586) architecture(s).
C:\Program Files (x86)\Arduino\libraries\rfidmaster\src\MFRC522.cpp: In constructor 'MFRC522::MFRC522()':
Expected Results:
Relevant Code:
Standard Skecth (Setup/Loop) with #include <MFRC522.h>
What i'm doing wrong ? I found many exmaples with galileo gen2 and MFRC522 !?
There is no official support for galileo boards. It should compile because it is only a warning and not a error. Maybe the intel compiler is stupid..
Try to remove library.properties where the architectures are listed.
Build options changed, rebuilding all
WARNING: library MFRC522 claims to run on (avr, STM32F1, teensy, esp8266) architecture(s) and may be incompatible with your current board which runs on (i586) architecture(s).
C:\data\dev\arduino\sketchbook\libraries\MFRC522\src\MFRC522.cpp: In constructor 'MFRC522::MFRC522()':
C:\data\dev\arduino\sketchbook\libraries\MFRC522\src\MFRC522.cpp:16:33: error: 'UINT8_MAX' was not declared in this scope
C:\data\dev\arduino\sketchbook\libraries\MFRC522\src\MFRC522.cpp: In member function 'void MFRC522::PCD_WriteRegister(MFRC522::PCD_Register, byte)':
C:\data\dev\arduino\sketchbook\libraries\MFRC522\src\MFRC522.cpp:49:6: error: 'class SPIClass' has no member named 'beginTransaction'
C:\data\dev\arduino\sketchbook\libraries\MFRC522\src\MFRC522.cpp:49:72: error: 'SPISettings' was not declared in this scope
C:\data\dev\arduino\sketchbook\libraries\MFRC522\src\MFRC522.cpp:54:6: error: 'class SPIClass' has no member named 'endTransaction'
C:\data\dev\arduino\sketchbook\libraries\MFRC522\src\MFRC522.cpp: In member function 'void MFRC522::PCD_WriteRegister(MFRC522::PCD_Register, byte, byte*)':
C:\data\dev\arduino\sketchbook\libraries\MFRC522\src\MFRC522.cpp:65:6: error: 'class SPIClass' has no member named 'beginTransaction'
C:\data\dev\arduino\sketchbook\libraries\MFRC522\src\MFRC522.cpp:65:72: error: 'SPISettings' was not declared in this scope
C:\data\dev\arduino\sketchbook\libraries\MFRC522\src\MFRC522.cpp:72:6: error: 'class SPIClass' has no member named 'endTransaction'
C:\data\dev\arduino\sketchbook\libraries\MFRC522\src\MFRC522.cpp: In member function 'byte MFRC522::PCD_ReadRegister(MFRC522::PCD_Register)':
C:\data\dev\arduino\sketchbook\libraries\MFRC522\src\MFRC522.cpp:82:6: error: 'class SPIClass' has no member named 'beginTransaction'
C:\data\dev\arduino\sketchbook\libraries\MFRC522\src\MFRC522.cpp:82:72: error: 'SPISettings' was not declared in this scope
C:\data\dev\arduino\sketchbook\libraries\MFRC522\src\MFRC522.cpp:87:6: error: 'class SPIClass' has no member named 'endTransaction'
C:\data\dev\arduino\sketchbook\libraries\MFRC522\src\MFRC522.cpp: In member function 'void MFRC522::PCD_ReadRegister(MFRC522::PCD_Register, byte, byte*, byte)':
C:\data\dev\arduino\sketchbook\libraries\MFRC522\src\MFRC522.cpp:106:6: error: 'class SPIClass' has no member named 'beginTransaction'
C:\data\dev\arduino\sketchbook\libraries\MFRC522\src\MFRC522.cpp:106:72: error: 'SPISettings' was not declared in this scope
C:\data\dev\arduino\sketchbook\libraries\MFRC522\src\MFRC522.cpp:125:6: error: 'class SPIClass' has no member named 'endTransaction'
C:\data\dev\arduino\sketchbook\libraries\MFRC522\src\MFRC522.cpp: In member function 'void MFRC522::PCD_Init()':
C:\data\dev\arduino\sketchbook\libraries\MFRC522\src\MFRC522.cpp:201:28: error: 'UINT8_MAX' was not declared in this scope
exit status 1
Error compiling for board Intel® Galileo Gen2.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
When i select the Yun Board it compiles everthing without warnings/errors.
Activity
Rotzbua commentedon Apr 27, 2017
There is no official support for galileo boards. It should compile because it is only a
warningand not aerror. Maybe the intel compiler is stupid..Try to remove library.properties where the architectures are listed.
tomatensaft commentedon Apr 28, 2017
After many times new installation i got the following log ->
Arduino: 1.8.2 (Windows 10), Board: "Intel® Galileo Gen2"
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
When i select the Yun Board it compiles everthing without warnings/errors.
I installed the IDE/Libs/Board new.
Rotzbua commentedon Apr 29, 2017
Better open a thread in the arduino or intel forum. Maybe there are more ppl who know about this board.
https://forum.arduino.cc
https://communities.intel.com/community/tech/galileo
edit:
According thread: https://communities.intel.com/thread/113914
Update README.rst
[-]Galileo gen2 - incompatible arch[/-][+]Galileo gen2 - SPI error[/+]Rotzbua commentedon May 28, 2017
Can be reopened if somebody works on it.
Rotzbua commentedon Jun 19, 2017
FYI: Intel officially dropped this board https://qdms.intel.com/dm/i.aspx/F79ED317-6EF3-4293-8752-9C4E7B3C11C5/PCN115581-00.pdf .