STM32 compile process size
- July 24, 2025
- 4 replies
- 462 views
Hi everyone.
I've got a question about a strange aspect of my project and the compiling process.
I have some files to be compiled for my project. The compile process goes fine, everything is correctly compiled and looking both on console output and build target, all the required file are correctly compiled.
What strangely happens is that if I look to the size of the .text section at the end of compile process, it is equal to only 96Bytes which are a very small size infact my code doesn't work correctly both on debug and on release.
Any suggestions where can I look to try to fix the issue?
I've already given a look to the linked files (headers) and source location tab (all the required folders are into the sources list), same for .make files, and .map files Wich contains all the required files. The only strange file is the .list file that is very small and, looking to the disassembly cose, there isn't all the code I was expecting but only a small piece.
Any advice?
