The use of STM32 startup files

ST provides us with 3 startup files, which are suitable for STM32 chips of different capacities. they are:
startup_stm32f10x_ld.s
startup_stm32f10x_md.s
startup_stm32f10x_hd.s
Among them, ld.s is suitable for small capacity products; md.s is suitable for medium capacity products; hd is suitable for large capacity products;
The capacity here refers to the size of FLASH. The judgment method is as follows:
Small capacity: FLASH≤32K
Medium capacity: 64K≤FLASH≤128K
Large capacity: 256K ≤ FLASH

Guess you like

Origin blog.csdn.net/u013830926/article/details/79986424