Example of using external flash that is on nRF5340dk ?

Im having trouble setting up and using flash on nRF5340dk. 

Is there any example on how to use LittleFS on external flash that is on the dev kit?

Parents Reply
  • Thank you, It's working. I can now see all 8mb of flash. But there is an issue. 

    When running the littlefs example I get 

    Area 0 at 0x0 on mx25r6435f@0 for 8388608 bytes - Which is correct

    but when I transfer that code, exact code, to my app I get 

    Area 2 at 0xfa000 on flash-controller@39000 for 24576 bytes

    Ive been going over whats different but cant find it, Maybe Im missing something?

    I also tried moving my code to littlefs example and everything was going fine until I added

    CONFIG_SYS_HEAP_RUNTIME_STATS=y to prj.conf. 

    It switched to flash  flash-controller@39000, after commenting it out it stayed with flash and I cant get it to go back to mx25??

Children
No Data
Related