We left the Boot0 pin floating when it should be connected to smth. Either GND or pullup to 3.3V (we should do gnd tho). it's the PH3 pin on the stm32l4 we use rn