mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 23:28:29 +08:00
esp32-core/README: Use the default partition table offset
And mention the relevant ESP-IDF config.
This commit is contained in:
committed by
Abdelatif Guettouche
parent
a3ac217e56
commit
c683bce4cd
@@ -470,11 +470,14 @@ OpenOCD for the ESP32
|
||||
this:
|
||||
|
||||
esptool.py --chip esp32 elf2image --flash_mode dio --flash_size 4MB -o nuttx.bin nuttx
|
||||
esptool.py --chip esp32 --port COMx write_flash 0x1000 bootloader.bin 0x4000 partition_table.bin 0x10000 nuttx.bin
|
||||
esptool.py --chip esp32 --port COMx write_flash 0x1000 bootloader.bin 0x8000 partition_table.bin 0x10000 nuttx.bin
|
||||
|
||||
The first step converts an ELF image into an ESP32-compatible binary
|
||||
image format, and the second step flashes it (along with bootloader image and
|
||||
partition table binary.)
|
||||
The offset for the partition table may vary, depending on ESP-IDF
|
||||
configuration, CONFIG_PARTITION_TABLE_OFFSET, which is by default 0x8000
|
||||
as of writing this.
|
||||
|
||||
To put the ESP32 into serial flashing mode, it needs to be reset with IO0 held
|
||||
low. On the Core boards this can be accomplished by holding the button marked
|
||||
|
||||
Reference in New Issue
Block a user