]> granicus.if.org Git - esp-idf/commitdiff
ulp: fix ULP binary format documentation
authorIvan Grokhotkov <ivan@espressif.com>
Tue, 7 Aug 2018 13:09:54 +0000 (16:09 +0300)
committerIvan Grokhotkov <ivan@espressif.com>
Tue, 7 Aug 2018 13:14:57 +0000 (16:14 +0300)
Fix incorrect offset value (4+2+2+2+2=12) of arbitrary data in ULP
binary format.

Closes https://github.com/espressif/esp-idf/issues/1705.

components/ulp/include/esp32/ulp.h

index ed1e6c90fe80cb9103924bfd6154caaf71c9eee1..8acbd7120b024bf09dea4e68d012a5fc5d3df670 100644 (file)
@@ -861,7 +861,7 @@ esp_err_t ulp_process_macros_and_load(uint32_t load_addr, const ulp_insn_t* prog
  * 3. TEXT_SIZE, size of .text section (2 bytes)
  * 4. DATA_SIZE, size of .data section (2 bytes)
  * 5. BSS_SIZE, size of .bss section (2 bytes)
- * 6. (TEXT_OFFSET - 16) bytes of arbitrary data (will not be loaded into RTC memory)
+ * 6. (TEXT_OFFSET - 12) bytes of arbitrary data (will not be loaded into RTC memory)
  * 7. .text section
  * 8. .data section
  *