|
RT
这是st library中自带的范例
它在不同的project中使用不同的startup文件,没有找到它是如何控制不编译某个文件
还请大虾指教~~
另,在V3.1.2版本的库中,有四个启动文件:
startup_stm32f10x_cl.s
startup_stm32f10x_hd.s
startup_stm32f10x_ld.s
startup_stm32f10x_md.s
初步知道ld、md、hd是用于不同容量的,譬如我用的STM32F103VBT6和STM32F103RBT6,应该使用startup_stm32f10x_md.s
但是startup_stm32f10x_cl.s这个文件是干嘛的呢?
下面注释中Connectivity line devices是什么意思呢?
;* Description : STM32F10x Connectivity line devices vector table for
;* EWARM5.x toolchain.
;* This module performs:
;* - Set the initial SP
;* - Set the initial PC == __iar_program_start,
;* - Set the vector table entries with the exceptions ISR
;* address.
;* After Reset the Cortex-M3 processor is in Thread mode,
;* priority is Privileged, and the Stack is set to Main. |
阿莫论坛20周年了!感谢大家的支持与爱护!!
一只鸟敢站在脆弱的枝条上歇脚,它依仗的不是枝条不会断,而是自己有翅膀,会飞。
|