Maybe someone can help ...
Context:
We are in the process of migrating a project from Stm32F to nrf5340 using Zephyr.
Our firmware is functional (currently without a possibility to perform a firmware update over Bluetooth (using DFU).
Now we want to add DeviceFirmwareUpdate, since this is a requirement.
- we tested the SimpleMessageProtocol example, which includes the MCUBootloader, which works fine).
We have update our code using the experience from above mentioned SMP example.
The problem we now have is, that we want to define flash area for DATAStorage in our application and dont know how to add this to the memory map.
We dont' want to use the NVS (since the DATAStorage contains a huge block of 148kB of data which is optimized for memory storage).
- i read the partition_manager documentation.
- I am stuck at the point where to define a new region? (since this seems to be done in nordicsemi\v2.0.0\nrf\cmake\partition_manager.cmake).
- can any one point me to an example or to a direction how to :
- define the region and partition(s) for usage by the partition manager
- access the defined region partition in code, so that we can read/write to it from within the application code
Thanks in advance,
René