Hello
When i am trying to use the pre-compiled ST7 Lib i get an error:
Main.c(6): warning: #223-D: function "EXTI_ClearITpendingBit" declared implicitly
Test1.axf: Error: L6218E: Undefined symbol EXTI_ClearITpendingBit (referred from main.o).
I have a project with the STM32F10x.s startup file and a main.c file and the stm32f10xd.lib file
my main looks like:
#include <stm32f10x_lib.h> // STM32F10x Library Definitions
__irq void EXTI0_IRQHandler(void) { EXTI_ClearITpendingBit(EXTI_Line0); }
int main(void) { while(1) ; }
What am i doing wring ??
Repzak
Complain to ST that they have an error on their web server. The header file must match the contents of the library file, or it would be impossible to link the application.
Yes that is correct, their documentation are wrong in their example, proberly so small an error it is not worth reporting