Skip to main content
MVena.549
Visitor II
October 28, 2019
Question

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).

  • October 28, 2019
  • 0 replies
  • 481 views

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

This topic has been closed for replies.