platformio / platform-atmelavr

Atmel AVR: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/atmelavr
Apache License 2.0
138 stars 105 forks source link

a more convinient way to specify uploader #18

Closed Palatis closed 7 years ago

Palatis commented 7 years ago

The micronuclus bootloaer/uploader are famous for several ATtiny MCUs, majorly targeting the ATtinyX5 and ATtinyX7. However, current builder/main.py will only upload when the board is digispark varients.

Here we check the upload.protocol variable instead of build.core to determine which uploader to use, so it's a lot easier to use this powerful tiny uploader for different cores.

Palatis commented 7 years ago

ahh deleted the wrong branch = =