I have an issue with using partitions created by PM in external flash. I can create a partition in my prj.conf file and use that and everything works. But I need to put some data into the external NOR memory. PM creates the partitions correctly as far as I can see. But I have not found a way to make the FatFS driver correctly find those partitions. Basically I have the exact same issue as in this ticket: How to reference PM generated partitions from device tree?
I need to create a disk like this for FatFS driver to find.
If I have the partition in internal memory I can at least make this compile (the partition is tiny so it won't work for my application)
The external memory itself is fine and I can read/write it with flash_area_read() and flash_area_write() functions.
Is there a way to reference the PM created partitions from within the devicetree file of my main application?