Skip to main content
Associate II
November 27, 2024
Question

stm32f407 cmake projects doesn't work

  • November 27, 2024
  • 1 reply
  • 693 views

"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

Associate
November 28, 2024

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.