cederom commented on issue #18873:
URL: https://github.com/apache/nuttx/issues/18873#issuecomment-4446218358
Yup this is it thank you @eren-terzioglu !! Works fine now with
`riscv32-esp-elf-gcc` from esp idf tools and `esptool` 4.1.0. Will send the
documentation update soon :-)
```
LD: nuttx
Memory region Used Size Region Size %age Used
tcm_idram_seg: 68 B 8 KB 0.83%
irom_seg: 138030 B 64 MB 0.21%
sram_low: 34796 B 183248 B 18.99%
sram_high: 0 B 384 KB 0.00%
drom_seg: 241368 B 64 MB 0.36%
rev3_mspi_workaround_seg: 0 B 0 B
lp_ram_seg: 104 B 32744 B 0.32%
lp_reserved_seg: 0 B 24 B 0.00%
extern_ram_seg: 0 B 64 MB 0.00%
CP: nuttx.hex
MKIMAGE: NuttX binary
esptool.py -c esp32p4 elf2image --ram-only-header -fs 4MB -fm dio -ff "80m"
-o nuttx.bin nuttx
esptool.py v4.10.0
Creating esp32p4 image...
Image has only RAM segments visible. ROM segments are hidden and SHA256
digest is not appended.
Merged 3 ELF sections
Successfully created esp32p4 image.
Generated: nuttx.bin
esptool.py -c esp32p4 -p /dev/cuaU0 -b 115200 write_flash -fs 4MB -fm dio
-ff "80m" 0x2000 nuttx.bin
esptool.py v4.10.0
Serial port /dev/cuaU0
Connecting....
Chip is ESP32-P4 (revision v1.3)
Features: High-Performance MCU
Crystal is 40MHz
MAC: XXX
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Flash will be erased from 0x00002000 to 0x00041fff...
Compressed 260912 bytes to 122976...
Wrote 260912 bytes (122976 compressed) at 0x00002000 in 10.9 seconds
(effective 191.4 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
% cu -l /dev/cuaU0 -s 115200
Connected
nsh> uname -a
NuttX 12.13.0 d9f6216f30 May 14 2026 02:01:31 risc-v
esp32p4-function-ev-board
```
The updated ESP32P4 revision (for v1.3 as reported by esptool) part of
`.config` is:
```
CONFIG_ESP32P4_SELECTS_REV_LESS_V3=y
# CONFIG_ESP32P4_REV_MIN_0 is not set
# CONFIG_ESP32P4_REV_MIN_1 is not set
CONFIG_ESP32P4_REV_MIN_100=y
# CONFIG_ESP32P4_REV_MIN_300 is not set
# CONFIG_ESP32P4_REV_MIN_301 is not set
CONFIG_ESP32P4_REV_MIN_FULL=100
CONFIG_ESP_REV_MIN_FULL=100
CONFIG_ESP32P4_REV_MAX_FULL=199
CONFIG_ESP_REV_MAX_FULL=199
CONFIG_ESP_EFUSE_BLOCK_REV_MIN_FULL=0
CONFIG_ESP_EFUSE_BLOCK_REV_MAX_FULL=199
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]