Closed dlbogdan closed 2 years ago
Hm that all sounds logical, I'm just stunned how I never noticed that when uploading to my Pico via the Picoprobe o_o. Definitely added it in https://github.com/maxgerhardt/platform-raspberrypi/commit/c0653a3d761266b291c5567634df4933484b23bc a long time ago.
Will test with both variants to verify before merge.
Well?
aha, this seems to be the root cause of https://github.com/earlephilhower/arduino-pico/issues/571 which I ran into a few days back. +1 for this change, it works on my end
Thanks for the contribution, merged.
(Use pio platform update https://github.com/maxgerhardt/platform-raspberrypi.git
to update your local installation)
awesome! thanks for the quick turnaround :D
because of the logic selecting elf or firm (bin), we need to default to no offset on normal firmware upload because we already defaulted to elf a few lines below if upload.offset_address is not user set so when no offset is needed. programming fails otherwise Unfortunately, my way of modifying the code probably sucks because I've never written anything in python but I assumed the second arg is the default n case the first is missing. Haven't had time to dig too much into it.