I have added an external SPI flash on the nRF9160 DK board, and wired it up to SPI3. I want to partition the flash into two ares for separate uses, but the partition_manager script is not generating the partitions for the external flash. I have added the flash device and the partitions to the overlay file and I can see that the device tree compiler and the #defines generated from it are correct (i.e. I see all of the DT_FLASH_AREA_* values I expect from the partition on the external flash). But because the partition manager does not generate equivalent values in the generated pm_config.h file, I can't use the flash_area_open, flash_area_erase, etc. routines because the partition ID values are not added to the flash_map list.
Is there some way to get these partitions to be included in the generated pm_config.h file?
Thanks for any assistance!