-
-
Notifications
You must be signed in to change notification settings - Fork 283
Black magic probe issue #183 #196
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
Black magic probe issue #183 #196
Conversation
… upload method This is basically a merge of work done by @rogerclarkmelbourne in arduino-nRF5-customised, with the addition of bootloader uploading as per @sandeepmistry openocd reference in platform.txt Note: This incorporates changes based off feedback from @sandeepmistry, @dmikhalsky, @dlabun * README.md - BMP driver installation details * platform.txt - BMP tool setup * programmers.txt - Add BMP as a programmer option
… upload method This is basically a merge of work done by @rogerclarkmelbourne in arduino-nRF5-customised, with the addition of bootloader uploading as per @sandeepmistry openocd reference in platform.txt Note: This incorporates changes based off feedback from @sandeepmistry, @dmikhalsky, @dlabun * README.md - BMP driver installation details * platform.txt - BMP tool setup * programmers.txt - Add BMP as a programmer option
Remove accidental references to sandeepmistry:openocd for openocd methods
Tidy-up of #186 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@micooke thanks for splitting the PR, made a few minor comments here.
programmers.txt
Outdated
@@ -18,3 +18,11 @@ cmsisdap.protocol=cmsis-dap | |||
cmsisdap.program.protocol=cmsis-dap | |||
cmsisdap.program.tool=openocd | |||
cmsisdap.program.setup_command=; | |||
|
|||
bmp.name=Black Magic Probe (GDB) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we change bmp
to blackmagicprobe
in this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
# | ||
# blackmagic probe upload | ||
# | ||
tools.blackmagicprobe.path={runtime.tools.gcc-arm-none-eabi-5_2-2015q4.path}/bin/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you replace the {runtime.tools.gcc-arm-none-eabi-5_2-2015q4.path}/bin/
with {compiler.path}
here?
That way if gcc is upgraded, only one line needs to be updated:
compiler.path={runtime.tools.gcc-arm-none-eabi-5_2-2015q4.path}/bin/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unfortunately it looks like {compiler.path} is not visible to tools, only to the compiler itself and recipes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed.
I'm going to merge this for now. If I try to upload on a non-existent serial port on my Mac, the tool reports an error, but IDE reports
|
@sandeepmistry - sorry i didnt see this comment until @probonopd pointed this out. |
In support of 'issue' #183 - Add Black Magic Probe (BMP) upload method …
This is basically a merge of work done by @rogerclarkmelbourne in arduino-nRF5-customised, with the addition of bootloader uploading as per @sandeepmistry openocd reference in platform.txt
Note: This incorporates changes based off feedback from @sandeepmistry, @dmikhalsky, @dlabun