I’m trying to build something with my daughter using the LilyMini. But I’m running into a lot of trouble!
I’m using:
I followed these steps: https://learn.sparkfun.com/tutorials/pr … e-lilymini
Problem #1
The first error I got was:
fatal error: sam.h: No such file or directory
I fixed it by editing ~/Library/Arduino15/packages/SparkFun/hardware/samd/1.4.0/platform.txt
and changing
compiler.arm.cmsis.c.flags="-I{runtime.tools.CMSIS-4.5.0.path}/CMSIS/Include/" "-I{runtime.tools.CMSIS-Atmel-1.1.0.path}/CMSIS/Device/ATMEL/"
into
compiler.arm.cmsis.c.flags="-I{runtime.tools.CMSIS-4.5.0.path}/CMSIS/Include/" "-I{runtime.tools.CMSIS-Atmel-1.2.0.path}/CMSIS/Device/ATMEL/"
Problem #2
The second error I got was:
error: conflicting declaration of C function 'char* utoa(long unsigned int, char*, int)'
extern char* utoa( unsigned long value, char *string, int radix ) ;
Which is apparently fixed in a later version of the SparkFun SAMD Boards version. But updating that from 1.4.0 to 1.7.4 gives me Problem #3.
Problem #3
The third and final error I get is:
No device found
I give up. Please help us!