platformio / platform-raspberrypi

Raspberry Pi: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/raspberrypi
Apache License 2.0
73 stars 96 forks source link

Use *.elf instead of *.bin if no offset given #29

Closed episource closed 2 years ago

episource commented 2 years ago

Currently *.bin is always selected for upload. However, uploading the bin-file requires option offset_address to be specified. This PR is inspired by platform-ststm32 and chooses *.elf in favor of *.bin if no offset_address is configured.

episource commented 2 years ago

There's also a branch with all my PR's merged together: https://github.com/episource/platform-raspberrypi/tree/my-platform

ivankravets commented 2 years ago

Thanks for the PR!