Merge pull request #27 from maxgerhardt/bmp
Enable BlackMagicProbe support
This commit is contained in:
commit
9dc638d6ba
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -41,6 +41,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
"wait_for_upload_port": false,
|
"wait_for_upload_port": false,
|
||||||
"protocol": "picotool",
|
"protocol": "picotool",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
|
"blackmagic",
|
||||||
"cmsis-dap",
|
"cmsis-dap",
|
||||||
"jlink",
|
"jlink",
|
||||||
"raspberrypi-swd",
|
"raspberrypi-swd",
|
||||||
|
@ -381,6 +381,28 @@ if upload_protocol == "mbed":
|
|||||||
env.VerboseAction(AutodetectPicoDisk, "Looking for upload disk..."),
|
env.VerboseAction(AutodetectPicoDisk, "Looking for upload disk..."),
|
||||||
env.VerboseAction(UploadUF2ToDisk, "Uploading $SOURCE")
|
env.VerboseAction(UploadUF2ToDisk, "Uploading $SOURCE")
|
||||||
]
|
]
|
||||||
|
|
||||||
|
elif upload_protocol.startswith("blackmagic"):
|
||||||
|
env.Replace(
|
||||||
|
UPLOADER="$GDB",
|
||||||
|
UPLOADERFLAGS=[
|
||||||
|
"-nx",
|
||||||
|
"--batch",
|
||||||
|
"-ex", "target extended-remote $UPLOAD_PORT",
|
||||||
|
"-ex", "monitor %s_scan" %
|
||||||
|
("jtag" if upload_protocol == "blackmagic-jtag" else "swdp"),
|
||||||
|
"-ex", "attach 1",
|
||||||
|
"-ex", "load",
|
||||||
|
"-ex", "compare-sections",
|
||||||
|
"-ex", "kill"
|
||||||
|
],
|
||||||
|
UPLOADCMD="$UPLOADER $UPLOADERFLAGS $SOURCE"
|
||||||
|
)
|
||||||
|
upload_source = target_elf
|
||||||
|
upload_actions = [
|
||||||
|
env.VerboseAction(env.AutodetectUploadPort, "Looking for BlackMagic port..."),
|
||||||
|
env.VerboseAction("$UPLOADCMD", "Uploading $SOURCE")
|
||||||
|
]
|
||||||
elif upload_protocol == "espota":
|
elif upload_protocol == "espota":
|
||||||
if not env.subst("$UPLOAD_PORT"):
|
if not env.subst("$UPLOAD_PORT"):
|
||||||
sys.stderr.write(
|
sys.stderr.write(
|
||||||
|
10
platform.py
10
platform.py
@ -86,11 +86,15 @@ class RaspberrypiPlatform(PlatformBase):
|
|||||||
if "tools" not in debug:
|
if "tools" not in debug:
|
||||||
debug["tools"] = {}
|
debug["tools"] = {}
|
||||||
|
|
||||||
for link in ("cmsis-dap", "jlink", "raspberrypi-swd", "picoprobe"):
|
for link in ("blackmagic", "cmsis-dap", "jlink", "raspberrypi-swd", "picoprobe"):
|
||||||
if link not in upload_protocols or link in debug["tools"]:
|
if link not in upload_protocols or link in debug["tools"]:
|
||||||
continue
|
continue
|
||||||
|
if link == "blackmagic":
|
||||||
if link == "jlink":
|
debug["tools"]["blackmagic"] = {
|
||||||
|
"hwids": [["0x1d50", "0x6018"]],
|
||||||
|
"require_debug_port": True
|
||||||
|
}
|
||||||
|
elif link == "jlink":
|
||||||
assert debug.get("jlink_device"), (
|
assert debug.get("jlink_device"), (
|
||||||
"Missed J-Link Device ID for %s" % board.id)
|
"Missed J-Link Device ID for %s" % board.id)
|
||||||
debug["tools"][link] = {
|
debug["tools"][link] = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user