2016-10-10 06:13 AM
Hi,
I made a primitive program that calls few functions of Standard Peripheral Library / CLK and GPI modules, so source files stm8s_clk.c + stm8s_gpio.c were added to project.After compilation I checked .map file and found that code contains ALL functions of these modules, despite most of them are never called.What needs to be done in order to not compile unused functions ?2016-10-12 11:38 PM
Hi !
Just try +split compiler flag...
2016-10-17 02:13 AM
Thanks HaJo, it does what I needed.