Loading...
 

Zephyr project on STM32

   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

System Workbench for STM32


Problem to build a new project

I created a simple Project with STM32CubeMX

I can build ist with no errors but then I start OpenOCD
and I got odd errors

static void MX_GPIO_Init(void) Unused declaration of function ‘MX_GPIO_Init’ main.c

void Error_Handler(void)
{
/* USER CODE BEGIN Error_Handler */
/* User can add his own implementation to report the HAL error return state */
while(1)
{
}
/* USER CODE END Error_Handler */
} expected declaration or statement at end of input main.c

When I try to build this Project again I still have this messages

What yould this be?

Hello,
I made a trial with CubeMX for STM32L476RG but I didn’t manage to reproduce the issue you faced.
What is the board/chip you used in CubeMX?