defining static partitions with external flash when boards have different flash sizes

NCS 2.7

NRF52840

I have 2 different applications: app and mfg_app

I have 2 different boards: small_flash and big_flash

I need to build all 2*2 combinations.

I need to be able to upgrade from mfg_app to app and from app v1->v2.

There boards have different size external flash components, the sizes are indicated in the dts for each board.  I also implemented size references from dts fixed-partition but partition manager doesn't recognize it.

I used partition manager to build partition.yml.  It doesn't have the external_flash information.  Furthermore, I don't see how a single pm_static.yml will be able to support different sizes for each board. 

Do I need to duplicate the static partition file 4 times?  (that seems very annoying to maintain!)

How do I add the external flash paritions?

Parents Reply Children
Related