Obviously, the option --freedback for armcc doesn't work. But setting -flto to compiler controls or linker controls (or checking the Link-time optimization checkbox) shows this error:
error: use of LTO is disallowed in this variant of ARM Compiler
And that seems strange since this article is dated 2015 - community.arm.com/.../link-time-optimization-in-arm-compiler-6 - and I'm using Keil 5.24.1 two years later.
Is there another way to do it?
Fair enough.
If you want a definitive answer - rather than just some ignorant user - contact Keil direct.
-flto is not mentioned in this list, so I don't understand why are you so sure about that.
http://www.keil.com/demo/limits.asp
Or contact Keil direct; remember - the forum is not an official support channel.
Does it? Armcc in lite version could remove unused functions. Is there some kind of list of options that are not available on lite version now?
That probably answers the question, then?
Are you asking or telling?
It's ARM MDK-Lite Version: 5.24.1 according to the about panel.
So which variant, exactly, is that?
Is it one of the Lite or STM32F0/L0 free versions?
View all questions in Keil forum