cancel
Showing results for 
Search instead for 
Did you mean: 

Hello, I'm usin STM32F042 nucleo-32 board, with STM32CubeIDE. I would like to test it with green led LD3 blinking. I've created a STM32F042 project, but in .ioc I can't set any pin to LED 3 (not listed).

MVena.549
Associate

And if I try to add "LED3_GPIO_CLK_ENABLE();" in main.c as it's done in "TM32Cube\Repository\STM32Cube_FW_F0_V1.11.0\Projects\STM32F042K6-Nucleo\Examples\GPIO\GPIO_IOToggle", I'm getting an error "undefined reference to `LED3_GPIO_CLK_ENABLE'". I have to add an include to stm32f0xx_nucleo_32.h ? Or configure something ?

Thanks

0 REPLIES 0