.\Objects\stm32f4.axf: Error: L6320W: Ignoring --entry command. Cannot find argument 'Reset_Handler'.
在我建立不同型号mcu的工程过程中遇到了
.\Objects\stm32f4.axf: Error: L6320W: Ignoring --entry command. Cannot find argument 'Reset_Handler'.
.\Objects\stm32f4.axf: Warning: L6320W: Ignoring --first command. Cannot find argument '__Vectors'.
.\Objects\stm32f4.axf: Error: L6320W: Ignoring --entry command. Cannot find argument 'Reset_Handler'.
该错误提示找不到启动文件
.\Objects\stm32f4.axf: Warning: L6320W: Ignoring --first command. Cannot find argument '__Vectors'.
该警告提示找不到中断向量,该向量在汇编文件.s文件中定义,所以也是未加入启动文件问题。
在加入了STM32F4xx_DSP_StdPeriph_Lib_V1.8.0\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm路径中的启动文件后仍然有第一个报错。
在重温野火的新建工程视频后发现可能是中断服务函数中的定义问题,后来排查确实是中断服务函数问题,因为中断服务函数我是重上一个工程里面移植的,里面有无头函数,注释掉就好了