1
0
Fork 0

initial commit

This commit is contained in:
Agent725 2025-11-08 18:00:00 +01:00
parent 439907d84b
commit d54b9c092c
7 changed files with 32 additions and 0 deletions

BIN
bootloader.bin Normal file

Binary file not shown.

3
erase_flash.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin
FLASHPORT="/dev/ttyACM0"
esptool --port $FLASHPORT erase_flash

BIN
espruino-esp32c3.bin Normal file

Binary file not shown.

Binary file not shown.

12
flash_espruino.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
FLASHPORT="/dev/ttyACM0"
echo "This will flash Espruino to your ESP32C3. If you don't want, press CTRL-C now!"
read -n1
#echo "Flashing bootloader..."
#sudo esptool --port $FLASHPORT write_flash 0 bootloader.bin
#echo "Flashing partition-table..."
#sudo esptool --port $FLASHPORT write_flash 32768 partition-table.bin
echo "Flashing Espruino firmware..."
sudo esptool --port $FLASHPORT write_flash 65536 espruino-esp32c3.bin
echo "All done"

17
offsets.txt Normal file
View File

@ -0,0 +1,17 @@
{
"chipFamily": "ESP32-C3",
"parts": [
{
"path": "espruino_2v25_esp32c3/bootloader.bin",
"offset": 0
},
{
"path": "espruino_2v25_esp32c3/partition-table.bin",
"offset": 32768
},
{
"path": "espruino_2v25_esp32c3/espruino-esp32c3.bin",
"offset": 65536
}
]
}

BIN
partition-table.bin Normal file

Binary file not shown.