This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem with ST_LIB

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

Parents
  • Hello

    Yes i see the 'P' / 'p'

    Just for telling my references:
    www.st.com/.../13475.pdf Page 137 states:
    /* Clears the EXTI line 2 interrupt pending bit */
    EXTI_ClearITpendingBit(EXTI_Line2);

    but the header file wtih Keil states:
    void EXTI_ClearITPendingBit(u32 EXTI_Line);

    Keil states also it includes a documentation file for the LIB, but that file i can't find anywhere.

    "The STM32F10x Software Library is a software collection for the STM32F10x peripherals. The library contains a set of functions for each peripheral. STMicroelectronics provides detailed documentation in the STM32F10x Software Library Users Manual which is available after installation on the µVision Project Workspace â€" Books tab."

    Kasper

Reply
  • Hello

    Yes i see the 'P' / 'p'

    Just for telling my references:
    www.st.com/.../13475.pdf Page 137 states:
    /* Clears the EXTI line 2 interrupt pending bit */
    EXTI_ClearITpendingBit(EXTI_Line2);

    but the header file wtih Keil states:
    void EXTI_ClearITPendingBit(u32 EXTI_Line);

    Keil states also it includes a documentation file for the LIB, but that file i can't find anywhere.

    "The STM32F10x Software Library is a software collection for the STM32F10x peripherals. The library contains a set of functions for each peripheral. STMicroelectronics provides detailed documentation in the STM32F10x Software Library Users Manual which is available after installation on the µVision Project Workspace â€" Books tab."

    Kasper

Children