Build target 'Target 1' compiling stm32f10x_nvic.c... linking... MyProject.axf: Error: L6218E: Undefined symbol __BASEPRICONFIG (referred from stm32f10x_nvic.o). MyProject.axf: Error: L6218E: Undefined symbol __GetBASEPRI (referred from stm32f10x_nvic.o). MyProject.axf: Error: L6218E: Undefined symbol __RESETFAULTMASK (referred from stm32f10x_nvic.o). MyProject.axf: Error: L6218E: Undefined symbol __RESETPRIMASK (referred from stm32f10x_nvic.o). MyProject.axf: Error: L6218E: Undefined symbol __SETFAULTMASK (referred from stm32f10x_nvic.o). MyProject.axf: Error: L6218E: Undefined symbol __SETPRIMASK (referred from stm32f10x_nvic.o). Target not created 在测试一个SPI的程序,需要用到stm32f10x_nvic.c这个源文件,但出现很多未定义的错误,不知为何,难道固件库本身有问题? 望大虾指教,谢谢了。 |