Zephyr.bin For STM32MP1 Target is Huge #51970
Answered
by
arnopo
georgenyarangi-eaton
asked this question in
Q&A
-
Zephyr.bin built with optimization (-Os) is 256 MB in size. In comparison, the ELF file is only 1.6 MB. Any guidance would be greatly appreciated. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Answered by
arnopo
Nov 7, 2022
Replies: 1 comment 4 replies
-
The reason is that the Cortex-M4 use 2 memory areas which are not contiguous
The bin format tries to fill with 0 the memory area between the RETRAM and the MCUSRAM. |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
georgenyarangi-eaton
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The reason is that the Cortex-M4 use 2 memory areas which are not contiguous
The bin format tries to fill with 0 the memory area between the RETRAM and the MCUSRAM.
This format MUST not be used.