Skip to content
Commit ae92f2ba authored by Adithya Baglody's avatar Adithya Baglody Committed by Anas Nashif
Browse files

subsys: app_memory: Fixed the size calculation for power of 2 MPUs



The size calculation for power of 2 MPUs were incorrect.
The calculation was not taking into account the amount of padding
the linker does when doing the required alignment. Hence the size
being calculated was completely incorrect.

With this patch the code now is optimized and the size of
partitions is now provided by the linker.

Signed-off-by: default avatarAdithya Baglody <adithya.nagaraj.baglody@intel.com>
parent 7e273b28
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment