linking... 時出現如下ERROR時,
..\out\ObjFlash\BHS-STM32-FLASH.axf: Error: L6218E: Undefined symbol __BASEPRICONFIG (referred from stm32f10x_nvic.o).
..\out\ObjFlash\BHS-STM32-FLASH.axf: Error: L6218E: Undefined symbol __GetBASEPRI (referred from stm32f10x_nvic.o).
..\out\ObjFlash\BHS-STM32-FLASH.axf: Error: L6218E: Undefined symbol __RESETFAULTMASK (referred from stm32f10x_nvic.o).
..\out\ObjFlash\BHS-STM32-FLASH.axf: Error: L6218E: Undefined symbol __RESETPRIMASK (referred from stm32f10x_nvic.o).
..\out\ObjFlash\BHS-STM32-FLASH.axf: Error: L6218E: Undefined symbol __SETFAULTMASK (referred from stm32f10x_nvic.o).
..\out\ObjFlash\BHS-STM32-FLASH.axf: Error: L6218E: Undefined symbol __SETPRIMASK (referred from stm32f10x_nvic.o).
..\out\ObjFlash\BHS-STM32-FLASH.axf: Error: L6218E: Undefined symbol __WFE (referred from stm32f10x_pwr.o).
..\out\ObjFlash\BHS-STM32-FLASH.axf: Error: L6218E: Undefined symbol __WFI (referred from stm32f10x_pwr.o).
請將 cortexm3_macro.s 也要 加入,即可解決
沒有留言:
張貼留言