You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/03/18 08:49:50 UTC

[incubator-nuttx] branch master updated: esp32-core/README: Use the default partition table offset

This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new c683bce  esp32-core/README: Use the default partition table offset
c683bce is described below

commit c683bce4cde20506e53b6e230dbff195c5e0bfe0
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Wed Mar 18 15:50:24 2020 +0900

    esp32-core/README: Use the default partition table offset
    
    And mention the relevant ESP-IDF config.
---
 boards/xtensa/esp32/esp32-core/README.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/boards/xtensa/esp32/esp32-core/README.txt b/boards/xtensa/esp32/esp32-core/README.txt
index ba98f50..04fecfa 100644
--- a/boards/xtensa/esp32/esp32-core/README.txt
+++ b/boards/xtensa/esp32/esp32-core/README.txt
@@ -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