Experimental BlackMagicProbe support
This commit is contained in:
parent
d9e97a3364
commit
46ae0c828b
boards
0xcb_helios.jsonadafruit_feather.jsonadafruit_feather_dvi.jsonadafruit_feather_rfm.jsonadafruit_feather_scorpio.jsonadafruit_feather_thinkink.jsonadafruit_feather_usb_host.jsonadafruit_itsybitsy.jsonadafruit_kb2040.jsonadafruit_macropad2040.jsonadafruit_qtpy.jsonadafruit_stemmafriend.jsonadafruit_trinkeyrp2040qt.jsonarduino_nano_connect.jsonbridgetek_idm2040-7a.jsonchallenger_2040_lora.jsonchallenger_2040_lte.jsonchallenger_2040_nfc.jsonchallenger_2040_sdrtc.jsonchallenger_2040_subghz.jsonchallenger_2040_uwb.jsonchallenger_2040_wifi.jsonchallenger_2040_wifi_ble.jsonchallenger_nb_2040_wifi.jsoncytron_maker_nano_rp2040.jsoncytron_maker_pi_rp2040.jsondatanoisetv_picoadk.jsondfrobot_beetle_rp2040.jsonelectroniccats_huntercat_nfc.jsonextelec_rc2040.jsonflyboard2040_core.jsongeneric.jsonilabs_rpico32.jsonmelopero_cookie_rp2040.jsonmelopero_shake_rp2040.jsonnekosystems_bl2040_mini.jsonnullbits_bit_c_pro.jsonpico.jsonpimoroni_pga2040.jsonrpipico.jsonrpipicow.jsonseeed_xiao_rp2040.jsonsolderparty_rp2040_stamp.jsonsparkfun_promicrorp2040.jsonsparkfun_thingplusrp2040.jsonupesy_rp2040_devkit.jsonvccgnd_yd_rp2040.jsonviyalab_mizu.jsonwaveshare_rp2040_lcd_0_96.jsonwaveshare_rp2040_lcd_1_28.jsonwaveshare_rp2040_one.jsonwaveshare_rp2040_plus_16mb.jsonwaveshare_rp2040_plus_4mb.jsonwaveshare_rp2040_zero.jsonwiznet_5100s_evb_pico.jsonwiznet_5500_evb_pico.jsonwiznet_wizfi360_evb_pico.json
builder
platform.py@ -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(
|
||||||
|
@ -86,7 +86,7 @@ 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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user