Hi.
I start simple program, just for test.
The chip is STM32f103C8. When I try to compile empty main function (project create by keil ARM ony with sturpup file and CMSIS) i get
Program Size: Code=648 RO-data=252 RW-data=0 ZI-data=1632
why ZI is so big? How to determine what are those ZI Data
And by the way, why Keil adds such files like RTE_Device.h, and system_stm32f10x.c(startup)
I know that there should be startup_stm32f10x_md.s because it is important but why is system_stm32f10x.c(startup) for and do I need this file and RTE_Device?
Why have you posted this in the 'Simulation models' forum?
slawek krzysiek said:How to determine what are those ZI Data
Look in the .map file.
Hi Slawek,as Andy writes, more info will be given in the linker output:
Even a simple app will include C lib initialization code. Use microlib for a minimal implementation
Hi, thank you for anwering.
Do you know how repleace SytemInit function which keil make and calls from entry .s file? I need to set different HCLK
I believe those types of device level settings are best done from STM32CubeIDE, and then import that config to your Keil project.
www.st.com/.../stm32cubeide.html