在調(diào)試時出現(xiàn)
assembling STM32F10x.s...
compiling stm32f10x_spi.c...
..\FWLib\library\src\stm32f10x_spi.c(97): warning: #223-D: function "assert" declared implicitly
..\FWLib\library\src\stm32f10x_spi.c(183): warning: #223-D: function "assert" declared implicitly
..\FWLib\library\src\stm32f10x_spi.c(217): warning: #223-D: function "assert" declared implicitly
..\FWLib\library\src\stm32f10x_spi.c(254): warning: #223-D: function "assert" declared implicitly
..\FWLib\library\src\stm32f10x_spi.c(311): warning: #223-D: function "assert" declared implicitly
linking...
.\obj\SD_test.axf: Error: L6218E: Undefined symbol assert (referred from stm32f10x_spi.o).
.\obj\SD_test.axf: Error: L6218E: Undefined symbol __BASEPRICONFIG (referred from stm32f10x_nvic.o).
.\obj\SD_test.axf: Error: L6218E: Undefined symbol __GetBASEPRI (referred from stm32f10x_nvic.o).
.\obj\SD_test.axf: Error: L6218E: Undefined symbol __RESETFAULTMASK (referred from stm32f10x_nvic.o).
.\obj\SD_test.axf: Error: L6218E: Undefined symbol __RESETPRIMASK (referred from stm32f10x_nvic.o).
.\obj\SD_test.axf: Error: L6218E: Undefined symbol __SETFAULTMASK (referred from stm32f10x_nvic.o).
請問,如何處理? |