mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
This reverts commit 3d464618227d8d6f5040bff6c8e41a447a6d6f25, reversing changes made to 1d8fd4aa72e99a875eb7efe70c3d4700dd0d27b1. merge was done with "old changes"
31 lines
912 B
Markdown
31 lines
912 B
Markdown
# 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 \
|
|
0x4000 /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](https://chrome.google.com/webstore/detail/espruino-web-ide/bleoifhkdalbjfbobjackfdifdneehpo).
|