How To: Setting up VSCode/OpenOCD (XPack)/ST-Link for debugging on MacOS

Just sharing this walkthrough I did for setting up MacOS with VSCode, STLinkV3, and OpenOCD with the Cortex Debugger for the Daisy Seed:


This is a great guide. :+1:

Worth mentioning that for some (those unfamiliar with node, npm, etc.) the Manual install steps for openocd may be a little more accessible. (And if you’re not using Eclipse, much simpler to use a standard folder, like Documents, Developer, etc. for the install, but your mileage may vary if you have other versions or a lot of other tools).

I swear I found a brew formula for the xpack distribution of openocd a while ago as well, but I haven’t been able to find it lately.

edited for notes on the manual install