2022-01-20 05:41 AM
Hi,
I'm a french embedded developer.
At my office, i need to make some modification to an old project, made with TrueStudio I think.
It's a STM32F429 custom board with a LCD screen, and STemWin v5.22 library.
I use STM32cubeIDE 1.7.0 usually.
I import this old project, STM3cubeIDE sees no problem with the code.
So i build it, and surprise, the binary file is larger than 2.2 Gb !
I don't understand
Why is it so big ? How can i change that ?
I think I need some help.
Thanks for reading.
2022-01-20 06:00 AM
A HEX file can have gaps in the memory space while a BIN file can not. If you are storing to internal flash as well as another location, a BIN file is not suitable.
Exact answer depends on your linker details.