newaetech / sonata-rp2040

rp2040 firmware for Sonata
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Pull data from UF2 before writing to flash #12

Open alex-dewar opened 1 month ago

alex-dewar commented 1 month ago

Instead of writing whole the UF2 to flash, just write the data section. Can also apply this to https://github.com/newaetech/sonata-rp2040/issues/11, since we can just use the existing code to pull the bitstream from flash to write into the FPGA