They are completly random. I have some optimization configuration in my project.. the ones i posted in the 1st page, maybe it has something to do with it?
Here
template BSP/syslib:
- uncheck Support C++ em properties->C/C++ Build do BSP Template
- check Lightweight device driver no BSP Editor
- check Reduced device drivers no BSP Editor
- uncheck enable_clean_exit no BSP Editor
- uncheck enable_exit no BSP Editor
- configure optimize level to Size on properties->C/C++ Build do BSP Template
- configure Debug level to none on properties->C/C++ Build do BSP Template
Software:
- configure optimize level to Size em properties->C/C++ Build do BSP Template
- configure Debug level to none em properties->C/C++ Build do BSP Template