Espruino/targets/esp32/docs/Install.md
Juergen Marsch f420e6c8f8 Partition to 0x8000, allow non tested RTOS functions
According to ESP-IDF, file partitions_single_app should start from
0x8000 instead of 0x4000.
Some Rtos-Functions (taskhandling for example)are not fully tested, and
force a reset when called. This behaviour can be switched off.
2016-11-29 11:37:34 +01:00

912 B

Installation of Espruino

A build of Espruino consists of three binary files called:

  • espruino_esp32.bin
  • bootloader.bin
  • paritions_singleapp.bin

These files are loaded into an ESP32 using the esptool.py command. An example of usage would be:

esptool.py \
  --chip esp32 \
  --port "/dev/ttyUSB0" \
  --baud 115200 \
  write_flash \
  -z \
  --flash_mode "dio" \
  --flash_freq "40m" \
  0x10000 espruino_esp32.bin \  
  0x1000 /home/kolban/esp32/Espruino/template/build/bootloader/bootloader.bin \
  0x8000 /home/kolban/esp32/Espruino/template/build/partitions_singleapp.bin

Remember to put your ESP32 into flash mode before running the command and then reboot after loading the program.

The JavaScript development tooling (WebIDE) is best run through Chrome by installing the Espruino Web IDE.