platformio / platform-atmelmegaavr

Atmel megaAVR: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/atmelmegaavr
Apache License 2.0
29 stars 21 forks source link

Error seen when using platform_packages #50

Closed ieb closed 1 year ago

ieb commented 1 year ago

https://github.com/platformio/platform-atmelmegaavr/blob/ef6b2a76a96a377fd9e9c6100245cdf2d773cec0/builder/frameworks/arduino.py#L84

probably needs to be

major, minor, patch = package_version.split(".",maxsplit=2)

to allow package numbers with gitsha references to work. See https://github.com/SpenceKonde/megaTinyCore/discussions/877 for more details.

currently:

PACKAGES: