platformio / platform-atmelavr

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

Feature Request: Generate .eep without upload/flash #284

Closed KenwoodFox closed 2 years ago

KenwoodFox commented 2 years ago

Using

pio run

Generates .hex and .elf files but not eep, you must run pio run -t uploadeep to acheive this, witch cannot be done for example on a ci/cd job.

Can there be an extra argument or seperate target for this? maybe just pio run -t eep?

mcspr commented 2 years ago

Please use https://community.platformio.org/ first for questions edit: just noticed the move to platform repo

There is separate target, every file in the build dir should be buildable via -t $name Try pio run -e $env -t .pio/build/$env/firmware.eep and grab it from the given path

KenwoodFox commented 2 years ago

Please use community.platformio.org first for questions edit: just noticed the move to platform repo

There is separate target, every file in the build dir should be buildable via -t $name Try pio run -e $env -t .pio/build/$env/firmware.eep and grab it from the given path

Sorry about that, other repo said to take those here, glad to know its already part of pio! I gave it a try and it worked out fine, thanks so much.