platformio / platform-atmelsam

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

Incorrect microcontroller defined for Adafruit monster m4sk #83

Closed doctorbigtime closed 4 years ago

doctorbigtime commented 4 years ago

The platformio documentation and json defines incorrectly identify the adafruit monster m4sk's microcontroller as an SAMD51J19A when it is in fact an SAMD51G19 leading to build failures in libraries like the Adafruit ZeroTimer library. Changing the adafruit_monster_m4sk.json to use the define -DSAMD51G19A instead of -DSAMD51J19A fixes this for me.

valeros commented 4 years ago

Thanks! Resolved in abbfb1b6ca74c27e8ca6e47e9132a4c31c883d05. Please re-test with upstream version http://docs.platformio.org/en/latest/platforms/atmelsam.html#upstream