AnsweredAssumed Answered

STM32F2xx and STM32F4xx Demonstration Builder Compile

Question asked by wpmBoston on Nov 2, 2012
Latest reply on Nov 2, 2012 by Clive One
I am having difficulty compiling the Demonstration Builder example code.  I am using MDK-ARM (Keil) with the 256k license but the code is 265k when linked.  I read the app note to disable modules but when I tried to eliminate the "audio" module, I got errors from other modules complaining about missing audio functions such as "AUDIO_ForceStop" referenced in mod_serial.o.

So, I really don't want to heavily edit the example code since I just want to poke around it, but it seems a bit less modular than advertised.  Also, at least in Keil tools, the project has 3 directories with "Appli" containing 50+ *.c files in no particular order (i.e. alphabetical) so removing a module is non-intuitive.

So, how do I remove a module, or at least get the link size under 256k?  The compiler is set to max optimization and remove "debug" doesn't seem to help.