Skip to main content
Explorer II
November 27, 2024
Question

stm32f407 cmake projects doesn't work

  • November 27, 2024
  • 1 reply
  • 692 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

 

    This topic has been closed for replies.

    1 reply

    Visitor II
    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.