There's a bit of info on this here: https://github.com/espruino/Espruino/blob/master/README.md#for-arm-boards-incl-espruino-board
At the moment I use a very specific compiler to keep the code size down, and some other compilers push it up too much. It's not a big deal though - just change the Makefile to use -Os instead of -O3. You can still use the binary as it is too, it just means that save() won't work.
Right now I don't think it is possible to use the Web IDE to program from the local filesystem. Also the code that you get from the compiler won't include the bootloader, so it needs to be written to a different address.
BUT it's nice and easy from the makefile. Just put the board into bootloader mode and do ESPRUINO_1V3=1 make serialflash, and it'll program it for you.
ESPRUINO_1V3=1 make serialflash
© Espruino, powered by microcosm.
Report a problem