-
-
Notifications
You must be signed in to change notification settings - Fork 916
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding a openocd option for flashing with support for stlink v2 clones #20
Conversation
It seems that the files interfaces/stlink.cfg and interfaces/nrf52.cfg are needed. |
They are part of the openocd package compiled from AUR openocd-git |
Do they have to be copied in the working directory of the project? |
In this case, yes? I suspect it would be nicer if a variable for OpenOCD's root could be specified, the location varies across OSs and distros. |
No, openocd has them in a its include path, mine on arch is |
But the cmake script is not defining the default root path so it should find the correct path as it does on my machine |
I haven't installed my build and I have to define either a full or a correct relative path to the script folder for OpenOCD to find them. |
Please feel free to submit any PR to make it easier to build with locally built openocd, or was this enough |
No description provided.