Aharoni-Lab / Miniscope-DAQ-Cypress-firmware

DAQ firmware for V3 and V4 Miniscope platforms
15 stars 8 forks source link

Build 128k firmware with dead-code elimination, rebuild 256k firmware #17

Closed ximion closed 2 weeks ago

ximion commented 9 months ago

Hi!

I had a few older DAQ board lying around, and for some reason flashing the 128k firmware onto them did not work. Somehow, after recompiling with slightly different settings, flashing worked though...

Linker dead-code elimination should already have been enabled by default, so this is a bit odd to me... But with these settings, flashing works while it doesn't without it.

I updated the binary files (and also rebuilt the 256k file as well) so others don't run into the same issue. Cheers, Matthias

ximion commented 2 weeks ago

(Closed in favour of https://github.com/Aharoni-Lab/Miniscope-DAQ-Cypress-firmware/pull/19)