Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
Install host dependencies.
Import toolchain and SDK.
Create, configure, build and manage apps.
Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench
I’ve restored the project from the beginning, I’ve applied your tips and the errors are solved.
The program is still not working, as you mentioned in your message.
I don’t know how to solve this problem, the source code should be good.