2024-11-26 07:36 PM
"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?"
2024-11-27 06:03 PM
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.