Using Build Variables in debug Initialization Commands
Hi,
I’m not so sure that I understand what you really want to achieve, so I may not have the right answer.
By my understanding, the build variables like ${ProjDirPath} etc. are provided by Eclipse and then passing to shell level command invoking. If your debugging is through OpenOCD, and the debug initialization commands means of commands within OpenOCD context, then the OpenOCD has no knowledge about build variables like ${ProjDirPath}.
There may some ways to replicate those macro definitions into OpenOCD in the shell level when invoking OpenOCD, but I’m not an expert in OpenOCD and I can’t tell.
If you describe more detail about what you want, it would be helping people to understand, and so better answer your question.