Hello everyone,
I'm currently working with an nRF52833 that utilizes MCUboot. I've noticed that the allocated RAM partition for MCUboot is set at 128 KB, but in practice, it only utilizes approximately 25 KB. This allocation seems excessively large and somewhat inefficient, considering the actual usage. I'm interested in optimizing this setup to allocate more memory to the main application.
From what I understand, adjusting the partition configuration might involve creating or modifying a pm_static.yml
file. However, I'm uncertain about the specifics of configuring the MCUboot RAM partition size. My key questions are:
- Is it sufficient to adjust the MCUboot RAM section alone, or is it necessary to redefine the configurations for all partitions involved?
- Could someone provide guidance or a sample configuration on how to properly adjust the MCUboot RAM partition size within the
pm_static.yml
file?
The goal is to reduce the MCUboot RAM partition to a size closer to its actual usage, thereby freeing up memory for the main application. Any insights, examples, or recommendations on how to achieve this would be greatly appreciated.
Thank you for your assistance!