Issue in memory allocation in sensor module in zephyr RTOS

I am working on interfacing MT29 flash driver on nRF52840 and trying to add littlefs file system on top it.

while Integrating I was getting mount errors.

when I tried to debug the firmware, I found that issue with MT29 SPI flash driver.

where during write, when it is writing to different address of a page it give ecc error in the next read to those address, so in a write function I am trying to add function to read a page, update the data and rewrite complete page, while trying to do so, I am not able to allocate 4096 bytes of stack or dynamic memory so I need support to allocate the memory on driver module.

Parents Reply Children
No Data
Related