-
-
Notifications
You must be signed in to change notification settings - Fork 283
Remove '\\.\', closes #245 #247
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
Conversation
According to BlackMagic Repo Readme, the \\.\ should be used on Windows with COM-Ports higher than 10 Note: On Mac OS X use the /dev/cu.usbmodem. Don't use the tty version of this device as this one will freeze gdb when it tries to open it.
https://github.com/blacksphere/blackmagic/wiki/Getting-Started |
While Please merge my pull request. The documentation states that |
@@ -140,16 +140,20 @@ tools.blackmagicprobe.upload.speed=230400 | |||
|
|||
tools.blackmagicprobe.erase.params.verbose= | |||
tools.blackmagicprobe.erase.params.quiet=-q --batch-silent | |||
tools.blackmagicprobe.erase.pattern="{path}{cmd}" -quiet -ex "target extended-remote \\.\{serial.port}" -ex "monitor swdp_scan" -ex "attach 1" -ex "monitor erase mass" -ex "echo \nErase finished!\n" -ex "detach" -ex "quit" | |||
tools.blackmagicprobe.erase.pattern="{path}{cmd}" -quiet -ex "target extended-remote {serial.port}" -ex "monitor swdp_scan" -ex "attach 1" -ex "monitor erase mass" -ex "echo \nErase finished!\n" -ex "detach" -ex "quit" | |||
tools.blackmagicprobe.erase.pattern.windows="{path}{cmd}" -quiet -ex "target extended-remote \\.\{serial.port}" -ex "monitor swdp_scan" -ex "attach 1" -ex "monitor erase mass" -ex "echo \nErase finished!\n" -ex "detach" -ex "quit" |
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 get a single pattern going if @micooke's idea from #245 (comment) also works on Linux and Mac
It would be easy to maintain if both versions are the same.
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.
Sorry i meant to strike through that - if you read a bit further down the comment i found out that my idea didnt work. Hopefully @probonopd's update has the same affect.
This fixes the
\\.\/dev/ttyACM0: No such file or directory
error on Linux.