cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f407 cmake projects doesn't work

smile
Associate

"After configuring a CMake project for STM32F407ZGT6 using STM32CubeMX, I imported it into VSCode, but encountered numerous errors and could not use it properly. However, projects for the H7 and F1 series work fine. What could be the issue?"
smile_0-1732678443476.png

 

1 REPLY 1
haxellio
Associate II

Looking at screenshot, all I can say is that you clearly don't know what you are doing.

You should write function calls inside the main or any other functions. You can't make function calls outside functions.