CubeMX generated makefile generates binary of 400MB when MPU support enabled in STM32F412CX.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-12-19 11:17 PM
I have generated sample code and Makefile with CubeMX for STM32F412CX. It is compiling and outputs a proper binary. but after adding changes for MPU as given in their example , the binary size is increased to 400MB.
I have read about same thing here https://community.st.com/s/question/0D50X0000BiCklr/cubeide-generate-too-big-bin-file-for-stm32wb55-402mbyte
but in that case they have used auto make using IDE instead of simple makefile. and also solution given in that is not matching with my linker script.
I have attached Makefile and linker script with MPU support.
Labels:
- Labels:
-
STM32F4 Series
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
