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


run error(create script failure: fail to retrieve target)

The following pop-up window occurred when you pressed Run after Eclipse was installed.
-------------------------------
create script failure: fail to retrieve target
Reason:
Internal Error:
Details:
java.io.IOException
-------------------------------
‘Launching launchConfiguration’ has encountered a problem.
OpenOCD Script not found (or not support yet):
Details:
OpenOCD Script not found (or not support yet):
-------------------------------
After installing ecclipse, the following is installed in ‘Help>Istall New Software...”
1. CDT : http://download.eclipse.org/tools/cdt/releases/9.5Question
2. System Workbench for STM32 - Bare Machine edition : http://ac6-tools.com/Eclipse-updates/org.openstm32.system-workbench.update-site-v2Question

Can you tell me how to fix it?

I had the exact same problem on my STM32F072B Disco board. I was able to solve this by first building the project, then simply deleting the 32F072BDISCOVERY.xml file. Upon re-running the debug, it seemed to work fine.
It is worth noting that I was able to debug my board when just making a normal C project without going through CubeMx prior to these steps.