avandalen / SAM15x15

SAM15x15 board / Arduino Zero package which describes all SAMD21G pins
https://www.avdweb.nl/arduino/samd21/samd21-variant
MIT License
6 stars 6 forks source link

Issue with linkages to .h files #2

Closed eryk4pdh closed 5 years ago

eryk4pdh commented 5 years ago

Fresh install of Arduino.

Installed boards through "board manager"

Selected blink example, board->"SAM15x15" build fails:

/Library/Arduino15/packages/SAM15x15/hardware/samd/25.12.17/cores/arduino/Arduino.h:48:17: fatal error: sam.h: No such file or directory
 #include "sam.h"
                 ^
compilation terminated.
exit status 1
Error compiling for board SAM 15x15.
avandalen commented 5 years ago

Arduino Zero package installation

It is possible to install just the Arduino Zero package, the SAM 15x15 then works as the Arduino Zero, but the extra pins of the SAM 15x15 will not be available.

Select Tools > Boards "..." > Boards Manager... Select "Arduino SAMD Boards (32-bits ARM Cortex-M0+)" Select version 1.6.8 with the small "Select version" box, see the image below. Than click on Install

eryk4pdh commented 5 years ago

@avandalen Sorry that is not a resolution to an issue, its a mere workaround that defeats the point of the SAM15x15. Best regards