..\OBJ\TIMER.axf: Error: L6218E: Undefined symbol EXTI_ClearITPendingBit (referred from exti.o).
时间: 2023-11-12 13:22:19 浏览: 238
这个错误提示表明,在链接时找不到 `EXTI_ClearITPendingBit` 函数的定义。通常这是由于以下原因之一:
1. 忘记包含头文件 `stm32f4xx_exti.h`,其中定义了 `EXTI_ClearITPendingBit` 函数。
2. 忘记在代码中实现 `EXTI_ClearITPendingBit` 函数,或者实现的函数签名与头文件中的不一致。
3. 编译器没有找到 `EXTI_ClearITPendingBit` 函数的实现文件,可能是因为实现文件没有被包含在编译中。
你可以检查以上原因,尝试解决问题。
相关问题
..\OBJ\TIMER.axf: Error: L6218E: Undefined symbol EXTI_ClearITPendingBit (referred from timer.o).
这个错误意味着在链接器中找不到 `EXTI_ClearITPendingBit` 函数的实现。可能原因是您在使用该函数之前没有包含对应的头文件或链接器无法找到该函数的实现。
您可以检查一下您的代码中是否包含 `stm32f10x_exti.h` 头文件,这个头文件包含了 `EXTI_ClearITPendingBit` 函数的声明。如果已经包含了该头文件,那么可能是链接器没有找到该函数的实现,您可以检查一下是否链接了正确的库文件。
..\OBJ\PWM.axf: Error: L6218E: Undefined symbol EXTI_ClearITPendingBit (referred from exti.o).
This error message is indicating that the linker was unable to find a definition for the symbol "EXTI_ClearITPendingBit", which is being referred to in the "exti.o" object file. This symbol is most likely a function or variable that is defined in another source file, but has not been included in the build process.
To resolve this issue, you will need to ensure that the source file containing the definition for "EXTI_ClearITPendingBit" is included in your build process. This may require adding additional source files to your project or modifying your build settings to include the necessary files. Alternatively, you may need to check that the function or variable is properly declared and defined in the source file where it is used.
阅读全文
相关推荐
















