mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-05-01 05:59:24 +00:00
Fixed c3 bootloader
This commit is contained in:
@@ -29,7 +29,7 @@ fi
|
|||||||
|
|
||||||
if [ "$1" = "flash" ];then
|
if [ "$1" = "flash" ];then
|
||||||
$esptool --chip esp32c3 --port $2 --baud 460800 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect \
|
$esptool --chip esp32c3 --port $2 --baud 460800 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect \
|
||||||
0x1000 bootloader.bin \
|
0x0000 bootloader.bin \
|
||||||
0x8000 partitions.bin \
|
0x8000 partitions.bin \
|
||||||
0xe000 boot_app0.bin \
|
0xe000 boot_app0.bin \
|
||||||
0x10000 firmware.bin
|
0x10000 firmware.bin
|
||||||
|
|||||||
Reference in New Issue
Block a user