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

Re: ESP32 SPI Flash memory mapping

2022-09-20 Thread Gustavo Henrique Nihei
Hi Martin, > Hello! This is my first post here. Welcome to the Apache NuttX mailing list! > The esp32 flash driver suggests "Consider using spi_flash_mmap()" [1] The "spi_flash_mmap()" and the referenced "spi_flash_read()" are ROM functions from the ESP32-C3 chip and their usage should be restr

ESP32 SPI Flash memory mapping

2022-09-20 Thread Martin Klang
Hello! This is my first post here. I have a question about memory mapping SPI flash on the ESP32. The esp32 flash driver suggests "Consider using spi_flash_mmap()" [1] Does anyone have an example or suggestion for how to do that? When I try to use spi_flash_mmap() and spi_flash_munmap() as per