platformio / platform-atmelsam

Atmel SAM: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/atmelsam
Apache License 2.0
84 stars 111 forks source link

[FR] [Help needed] Support SAM4 with CMSIS and other frameworks #122

Open chepo92 opened 4 years ago

chepo92 commented 4 years ago

I'm looking for a compiling and programming alternative to Atmel SAM4 (32-bit ARM® Cortex®-M4 ) , as the only way to create code for it is Atmel Studio, the board has very powerful specs, CAN, Ethernet, FPU, AFE, AES, but somehow has been forgotten and never supported in another IDE

chepo92 commented 4 years ago

I created a board for duet based on adafruit grand central m4, still not complete and I think I'm missing the right flags but it's a start, using CMSIS from #81 added to platform.ini: [env:atsam4] platform = atmelsam framework = cmsis board = duet_m4

and ran pio -e atsam4 -v

duet_m4.zip

I'm getting some errors including "Library does not support the specified device." and "unknown type name 'uint32_t'"

I attach the output compiler Atsam4 error.txt