STM32CubeMX and SW4stm32
Hi all,
I created project using STM32CubeMX, choosing sw4stm32 as toolchain and uncheck “Generate Under Root”. Then I imported it to sw4stm32 and built success.
But when i copy files: “stm32f4_discovery.h” to ‘Inc’ directory; and “stm32f4_discovery.c” to ‘Src’ directory. And add #include “stm32f4_discovery.h” to main.c file. Then when built, errors example:”undefined reference to `BSP_LED_Init’’
Help, thanks