cancel
Showing results for 
Search instead for 
Did you mean: 

STM32VLDISCOVERY GPIOTOGGLE

joesoftware
Associate II
Posted on July 01, 2012 at 00:01

Hi all,

i used pubblic code of GPIOTOGGLE taken from ST site,

i try to modify it for toggles led when user button was pressed.

i used this modify to main.c

 STM32vldiscovery_PBInit(BUTTON_USER,BUTTON_MODE_GPIO);

  while (1)

  {

  

if(STM32vldiscovery_PBGetState(BUTTON_USER))

   STM32vldiscovery_LEDToggle(LED3);

}

but i can't compile cause this error

Error[Li005]: no definition for ''EXTI_Init''

can someone help me?

Thx.
2 REPLIES 2
Posted on July 01, 2012 at 05:21

but i can't compile cause this error Error[Li005]: no definition for ''EXTI_Init''

Make sure the #include ''stm32f10x_exti.h'' is uncommented in stm32f10x_conf.h

Make sure the project contains the library file Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_exti.c

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
joesoftware
Associate II
Posted on July 01, 2012 at 10:06

The project doesn't contains the library file Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_exti.c this was the error, now works good.

Very thx.