Re: ESP32 SPI Flash memory mapping

2022-09-20 Thread Martin Klang
On 9/20/22 17:24, Martin Klang wrote: We're using the S2 umm, no, the S3!

Re: ESP32 SPI Flash memory mapping

2022-09-20 Thread Martin Klang
Hello Gustavo, thank you for the quick reply! On 9/20/22 16:39, Gustavo Henrique Nihei wrote: Welcome to the Apache NuttX mailing list! thanks :) The esp32 flash driver suggests "Consider using spi_flash_mmap()" [1] The "spi_flash_mmap()" and the referenced "spi_flash_read()" are ROM funct

ESP32 SPI Flash memory mapping

2022-09-20 Thread Martin Klang
rement for memory mapping is to implement XiP. best regards, Martin Klang [1] https://github.com/apache/incubator-nuttx/blob/f49a5797213f2ec3fd348e1826db6e080e7be4d9/arch/risc-v/src/esp32c3/rom/esp32c3_spiflash.h#L934 [2] https://docs.espressif.com/projects/esp-idf/en/release-v3.2/api