2018-11-25 05:06 PM
I've run SW4STM32 for the last 2 years with an external openocd package but I see that the AC6 version has recently been updated so I thought I'd try it. It gets stored in ~/.p2/pool/plugins/fr.ac6.mcu.externaltools.openocd.linux64_1.21.0.201811131241/tools/openocd/bin
but the board script files are in
~/.p2/pool/plugins/fr.ac6.mcu.debug_2.3.1.201811131241/resources/openocd/scripts
It seems (from the various error messages I get) that the sourcing of files assume a path relative to the executable and this split of scripts from the binary breaks things.
What variables should I be using in the Debug Configurations -> Debugger tab and what should I use to define the Config options since the Oxygen version of Eclipse doesn't appear to have a separate 'working' directory for the scripts.