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
Thanks Andrei for the help. Unfortunatly no joy.
I’ve attached my code below which is pretty much the same as you suggested, just formated as CUBE likes it.
One thing to note there doesn’t appear to be a syscalls.c file in the project generated by CUBE.