After turning on CONFIG_HEAP_MEM_POOL_SIZE, zephyr.bin becomes much larger #71971
Unanswered
foxriver1025
asked this question in
Q&A
Replies: 1 comment 8 replies
-
|
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In my prj.conf, I config HEAP_MEM_POOL_SEZE like this:
CONFIG_HEAP_MEM_POOL_SIZE=4194304
I found that the zephyr.bin file finally became about 4M in size.
The Section header is as belows:
The three segments datas, device_states, and k_heap_area were placed at the end of the memory, and the memory holes were filled with 0xff, causing the final bin to become larger.
Because the memory is dynamically allocated, I don't want the bin file to become larger. Is there any way to solve this problem?
Beta Was this translation helpful? Give feedback.
All reactions