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

Lock To Specific Version #27

Closed iwoloschin closed 7 years ago

iwoloschin commented 7 years ago

Is there any way to lock a platformio project to a specific atmelavr release? For instance, I have a legacy project that gets updated about once a year, and it's historically had issues moving to new toolchain releases. I'd like to get it working with the current release (well, right now it's working well with 1.3.1) and then lock my environment down so I can stop wasting time chasing toolchain issues when I need to push a release.

I've done something like this in my platformio.ini file:

[env:uno]
platform: atmelavr@1.3.1
framework: arduino
board: uno

This works great on a machine that's set up when 1.3.1 was latest, but it's failing now on a second machine now that there's a 1.4.1 release. Is there any way to force an older atmelavr version to install on the second computer?

ivankravets commented 7 years ago

Please sorry, fixed. Try again.

iwoloschin commented 7 years ago

Appears to be working now, thanks! Much easier to separate code updates from toolchain updates now!