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


OPENOCD Debug doesn't work, but on STM32 ST-LINK Software works

I have de same problem
I could connect with st link utility but now with system workbench to debug my application

this is the code

  1. include “stm32f0xx.h”



volatile uint32_t counter = 0;
int main( void ) {

HAL_Init();

GPIO_InitTypeDef GPIO_InitStruct;

/* GPIO Ports Clock Enable */
__GPIOA_CLK_ENABLE();

/*Configure GPIO pins : PAPin PAPin */
GPIO_InitStruct.Pin = GPIO_PIN_4;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);

while(1)
{
HAL_GPIO_TogglePin(GPIOA, GPIO_PIN_4);
for(counter=0; counter