Aharoni-Lab / Miniscope-DAQ-Cypress-firmware

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

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

Open ximion opened 6 months ago

ximion commented 6 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