Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MaxECU
Employee
Employee
Welcome!
I wonder if there is a way to compile a much more compact code (smaller size), since it happen that the Flash size is not enought on my XMC1100. Any hint?
0 Likes
2 Replies
Not applicable
Hi,

Not sure if you have done this but you can removed the unused section of the code.
Just go to Project Properties -> Settings -> ARM-GCC C Linker -> General and checked the box for "Removed unused sections'.
0 Likes
Not applicable
Hi,

The optimization options are addressed in "DAVE TIP of the day: DAVE Optimization settings" & "DAVE TIP of the day: Option to reduce the code size".

Best regards,
Sophia
0 Likes