Right, you're basically sorted then! Try running scripts/create_espruino_image_1v3.sh and use the image file that it creates instead...
The issue is that ESPRUINO_1V3=1 make builds the Espruino binary - but that sits after the bootloader (which is 10240 bytes). The images that the Web IDE expects are images of the complete memory, which contain the bootloader and the Espruino binary.
If you can communicate with the board from the build environment, you should be able to just do ESPRUINO_1V3=1 make serialflash which will skip the bootloader bit and will just write the Espruino image directly to the correct address.
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.
Right, you're basically sorted then! Try running
scripts/create_espruino_image_1v3.sh
and use the image file that it creates instead...The issue is that
ESPRUINO_1V3=1 make
builds the Espruino binary - but that sits after the bootloader (which is 10240 bytes). The images that the Web IDE expects are images of the complete memory, which contain the bootloader and the Espruino binary.If you can communicate with the board from the build environment, you should be able to just do
ESPRUINO_1V3=1 make serialflash
which will skip the bootloader bit and will just write the Espruino image directly to the correct address.