Hi, I have two firmware images: A and B which I need to make compatible for OTA (DFU over BLE using MCUBoot - the standard process described in the devacademy course). They're both using the same (custom) private key and currently, I am trying to make sure they both share a common pm_static.yml file. From going through some discussions here I've understood that the common practice is to freeze the dynamically generated partitions.yml file into a pm_static.yml when done. But this will not work for me because A and B produce different partitions.yml
Below I have provided their dynamically generated partitions (TLDR: A's app sizes are larger by 0x1000 BUT B has a settings_storage entry that A does not).
A's partitions.yml:
B's partitions.yml:
My goal is to create a single pm_static.yml that both the builds of A and B can use. My approach: take A's app sizes (since they are larger and would accommodate B) and relocate settings_storage by an appropriate amount 0x2000 and making sure there are no gaps:
As you can see: the app sizes are made to match that of A and settings_storage is relocated from (0x7e000 - 0x80000) to (0x80000 - 0x82000). When trying to build, both compile just fine. But B fails to run with the error:
and the bt module fails to load completely (i do not see any advertising).
My question is: is it possible to change the start and end addresses for the storage_settings like I am attempting to do? Any suggestions are welcome.