Loading...
 
Skip to main content

System Workbench for STM32


Using Build Variables in debug Initialization Commands

Yes, I want to pass build variables to OpenOCD via debug initialization commands.

Well, in fact I want OpenOCD to write my program in flash (STM32F407VE(G)T6) on debug start. So I've performed a search and found some instructions which advise using OpenOCD flash params in the debug initialization commands. They seem to work ok but require output file name. So I want to pass that name via build variables somehow.

But maybe there is an easier way?