Porting Nuttx to new board: Question about SPI-FRAM / malloc

2022-07-27 Thread michael . schmid
Dear all, we are in the process of porting Nuttx to our new EsPiFF-V3 board. Basic Nuttx with nsh is working already. This is a board with a ESP32-WROVER module, and has additional SPI-connected FRAM (2kB to 256kB possible). How could the SPI-connected FRAM be integrated into Nuttx? - the FR

Re: Porting Nuttx to new board: Question about SPI-FRAM / malloc

2022-07-27 Thread Xiang Xiao
You can either: 1. Or expose FRAM as a tmpfs through mount pointer 2. If you want to use FRAM as PSRAM, you can add FRAM to the system heap with kmm_addregion 3. If you want to use FRAM as an separated heap, you can call mm_initialize, mm_malloc and mm_free https://github.com/apach