I still cannot get it into bootloader mode to flash it.
at least on nrf52 you need to release the button so that it is held for less than 3 seconds, otherwise holding it over 3 seconds starts Espruino but skips running any javascript code EDIT: yes it is in stm32 bootloader code too https://github.com/espruino/Espruino/blob/master/targets/stm32_boot/utils.c#L222
@fanoush started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
at least on nrf52 you need to release the button so that it is held for less than 3 seconds, otherwise holding it over 3 seconds starts Espruino but skips running any javascript code
EDIT: yes it is in stm32 bootloader code too https://github.com/espruino/Espruino/blob/master/targets/stm32_boot/utils.c#L222