You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Yes, that all seems good - stm32loader needs a serial connection to the chip, which you won't have.

    The short-hand to use st-flash to flash the board is just STM32F4DISCOVERY=1 make flash.

    The error you're getting is almost certainly because you haven't erased the chip first, so it's still got the 'old' code you saved in it. As it says in http://www.espruino.com/Other+Boards, just hold down Button1 while booting (which will stop Espruino automatically loading the saved program). Then type 'save()' to save a correct (but Empty) JavaScript program back into flash.

About

Avatar for Gordon @Gordon started