forked from Agent725/ESP32C3
initial commit
This commit is contained in:
parent
439907d84b
commit
d54b9c092c
Binary file not shown.
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin
|
||||||
|
FLASHPORT="/dev/ttyACM0"
|
||||||
|
esptool --port $FLASHPORT erase_flash
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -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"
|
||||||
|
|
||||||
|
|
@ -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
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Binary file not shown.
Loading…
Reference in New Issue