Closed jacobrosenthal closed 4 years ago
Closes #22
huge thanks to @fionawhim for debugging this
"The samd51 code Adafruit has is ok with random access writing, but it still assumes that you will send the complete program. It just doesn't care the order that it's sent" https://github.com/adafruit/uf2-samdx1/blob/master/src/flash_samd51.c#L64
I dont think thats to spec, but meh, dont skip writing any pages even if their checksum is already present
Also batches all elf sections together into a single bin (with any necessary non contiguous sections set to 0x0) Its a separate bug Im seeing, but I think directly related to this finickyness.
Closes #22
huge thanks to @fionawhim for debugging this
"The samd51 code Adafruit has is ok with random access writing, but it still assumes that you will send the complete program. It just doesn't care the order that it's sent" https://github.com/adafruit/uf2-samdx1/blob/master/src/flash_samd51.c#L64
I dont think thats to spec, but meh, dont skip writing any pages even if their checksum is already present