From d65679de4a4d7da06ecd62080d9c9e73a2cb5d59 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 7 Apr 2017 23:56:56 +0300 Subject: [PATCH] Update debug tools --- boards/armstrap_eagle1024.json | 5 +++-- boards/armstrap_eagle2048.json | 5 +++-- boards/armstrap_eagle512.json | 5 +++-- boards/b96b_f446ve.json | 5 +++-- boards/bluepill_f103c8.json | 31 +++++++++++++++--------------- boards/disco_f051r8.json | 5 +++-- boards/disco_f100rb.json | 5 +++-- boards/disco_f303vc.json | 5 +++-- boards/disco_f334c8.json | 5 +++-- boards/disco_f401vc.json | 5 +++-- boards/disco_f407vg.json | 5 +++-- boards/disco_f429zi.json | 5 +++-- boards/disco_f469ni.json | 5 +++-- boards/disco_f746ng.json | 5 +++-- boards/disco_f769ni.json | 5 +++-- boards/disco_l053c8.json | 5 +++-- boards/disco_l152rb.json | 5 +++-- boards/disco_l476vg.json | 5 +++-- boards/elmo_f411re.json | 2 +- boards/genericSTM32F103C8.json | 33 ++++++++++++++++---------------- boards/genericSTM32F103CB.json | 33 ++++++++++++++++---------------- boards/genericSTM32F103R8.json | 33 ++++++++++++++++---------------- boards/genericSTM32F103RB.json | 33 ++++++++++++++++---------------- boards/genericSTM32F103RC.json | 33 ++++++++++++++++---------------- boards/genericSTM32F103RE.json | 33 ++++++++++++++++---------------- boards/mote_l152rc.json | 2 +- boards/mts_dragonfly_f411re.json | 2 +- boards/mts_mdot_f405rg.json | 2 +- boards/mts_mdot_f411re.json | 2 +- boards/nucleo_f030r8.json | 5 +++-- boards/nucleo_f031k6.json | 5 +++-- boards/nucleo_f042k6.json | 5 +++-- boards/nucleo_f070rb.json | 5 +++-- boards/nucleo_f072rb.json | 5 +++-- boards/nucleo_f091rc.json | 5 +++-- boards/nucleo_f103rb.json | 5 +++-- boards/nucleo_f207zg.json | 5 +++-- boards/nucleo_f302r8.json | 5 +++-- boards/nucleo_f303k8.json | 5 +++-- boards/nucleo_f303re.json | 5 +++-- boards/nucleo_f303ze.json | 5 +++-- boards/nucleo_f334r8.json | 5 +++-- boards/nucleo_f401re.json | 5 +++-- boards/nucleo_f410rb.json | 5 +++-- boards/nucleo_f411re.json | 5 +++-- boards/nucleo_f429zi.json | 5 +++-- boards/nucleo_f446re.json | 5 +++-- boards/nucleo_f446ze.json | 5 +++-- boards/nucleo_f746zg.json | 5 +++-- boards/nucleo_f767zi.json | 5 +++-- boards/nucleo_l011k4.json | 5 +++-- boards/nucleo_l031k6.json | 5 +++-- boards/nucleo_l053r8.json | 5 +++-- boards/nucleo_l073rz.json | 5 +++-- boards/nucleo_l152re.json | 5 +++-- boards/nucleo_l432kc.json | 5 +++-- boards/nucleo_l476rg.json | 5 +++-- boards/seeedArchMax.json | 5 +++-- boards/ublox_evk_odin_w2.json | 2 +- 59 files changed, 262 insertions(+), 209 deletions(-) diff --git a/boards/armstrap_eagle1024.json b/boards/armstrap_eagle1024.json index 93fc9cd..196d675 100644 --- a/boards/armstrap_eagle1024.json +++ b/boards/armstrap_eagle1024.json @@ -19,7 +19,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -32,7 +32,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/armstrap_eagle2048.json b/boards/armstrap_eagle2048.json index 99936e7..627ffb4 100644 --- a/boards/armstrap_eagle2048.json +++ b/boards/armstrap_eagle2048.json @@ -19,7 +19,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -32,7 +32,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/armstrap_eagle512.json b/boards/armstrap_eagle512.json index f7fff6a..9b6ed36 100644 --- a/boards/armstrap_eagle512.json +++ b/boards/armstrap_eagle512.json @@ -19,7 +19,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -32,7 +32,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/b96b_f446ve.json b/boards/b96b_f446ve.json index ba74317..5cb131c 100644 --- a/boards/b96b_f446ve.json +++ b/boards/b96b_f446ve.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -27,7 +27,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/bluepill_f103c8.json b/boards/bluepill_f103c8.json index c71221f..4e0d12e 100644 --- a/boards/bluepill_f103c8.json +++ b/boards/bluepill_f103c8.json @@ -7,27 +7,17 @@ "mcu": "stm32f103c8t6", "variant": "stm32f1" }, - "frameworks": [ - "mbed", - "arduino" - ], - "name": "BluePill F103C8", - "upload": { - "maximum_ram_size": 20480, - "maximum_size": 65536, - "protocol": "stlink" - }, "debug": { "tools": { - "stlink": { + "stlink-v2": { "server": { "package": "tool-openocd", "executable": "bin/openocd", "arguments": [ - "-f", "scripts/interface/stlink-v2-1.cfg", + "-f", "scripts/interface/stlink-v2.cfg", "-c", "transport select hla_swd", "-f", "scripts/target/stm32f1x.cfg", - "-c", "reset_config srst_only" + "-c", "reset_config srst_nogate" ] }, "gdbinit": [ @@ -39,7 +29,7 @@ "b main" ] }, - "bmp": { + "blackmagic": { "hwids": [ [ "0x1d50", @@ -57,7 +47,18 @@ "b main" ] } - } + }, + "default_tool": "stlink-v2" + }, + "frameworks": [ + "mbed", + "arduino" + ], + "name": "BluePill F103C8", + "upload": { + "maximum_ram_size": 20480, + "maximum_size": 65536, + "protocol": "stlink" }, "url": "http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/stm32f1-series/stm32f103/stm32f103c8.html", "vendor": "Generic" diff --git a/boards/disco_f051r8.json b/boards/disco_f051r8.json index 23b43ae..61a0c57 100644 --- a/boards/disco_f051r8.json +++ b/boards/disco_f051r8.json @@ -15,7 +15,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -28,7 +28,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/disco_f100rb.json b/boards/disco_f100rb.json index 3051503..aec3065 100644 --- a/boards/disco_f100rb.json +++ b/boards/disco_f100rb.json @@ -15,7 +15,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -33,7 +33,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/disco_f303vc.json b/boards/disco_f303vc.json index 19ccd92..f482060 100644 --- a/boards/disco_f303vc.json +++ b/boards/disco_f303vc.json @@ -22,7 +22,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -35,7 +35,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/disco_f334c8.json b/boards/disco_f334c8.json index 9e4ac8c..cc94ef3 100644 --- a/boards/disco_f334c8.json +++ b/boards/disco_f334c8.json @@ -15,7 +15,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -28,7 +28,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/disco_f401vc.json b/boards/disco_f401vc.json index cc2792a..d29ac26 100644 --- a/boards/disco_f401vc.json +++ b/boards/disco_f401vc.json @@ -15,7 +15,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -28,7 +28,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/disco_f407vg.json b/boards/disco_f407vg.json index f9fb8cc..067485d 100644 --- a/boards/disco_f407vg.json +++ b/boards/disco_f407vg.json @@ -22,7 +22,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -35,7 +35,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/disco_f429zi.json b/boards/disco_f429zi.json index e8b7390..5856676 100644 --- a/boards/disco_f429zi.json +++ b/boards/disco_f429zi.json @@ -15,7 +15,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -28,7 +28,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/disco_f469ni.json b/boards/disco_f469ni.json index cf68f2b..967d9ec 100644 --- a/boards/disco_f469ni.json +++ b/boards/disco_f469ni.json @@ -15,7 +15,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -28,7 +28,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/disco_f746ng.json b/boards/disco_f746ng.json index 4af01ce..97be415 100644 --- a/boards/disco_f746ng.json +++ b/boards/disco_f746ng.json @@ -15,7 +15,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -28,7 +28,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/disco_f769ni.json b/boards/disco_f769ni.json index 8ab4673..5711df6 100644 --- a/boards/disco_f769ni.json +++ b/boards/disco_f769ni.json @@ -15,7 +15,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -28,7 +28,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/disco_l053c8.json b/boards/disco_l053c8.json index 10972a2..6f9c896 100644 --- a/boards/disco_l053c8.json +++ b/boards/disco_l053c8.json @@ -15,7 +15,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -28,7 +28,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/disco_l152rb.json b/boards/disco_l152rb.json index 6ab8bc2..75e0b13 100644 --- a/boards/disco_l152rb.json +++ b/boards/disco_l152rb.json @@ -21,7 +21,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -34,7 +34,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/disco_l476vg.json b/boards/disco_l476vg.json index 4ccc439..046bfbc 100644 --- a/boards/disco_l476vg.json +++ b/boards/disco_l476vg.json @@ -15,7 +15,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -28,7 +28,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/elmo_f411re.json b/boards/elmo_f411re.json index 7fd3d94..ef17fb0 100644 --- a/boards/elmo_f411re.json +++ b/boards/elmo_f411re.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", diff --git a/boards/genericSTM32F103C8.json b/boards/genericSTM32F103C8.json index 307c8e9..3a98072 100644 --- a/boards/genericSTM32F103C8.json +++ b/boards/genericSTM32F103C8.json @@ -12,28 +12,17 @@ "mcu": "stm32f103c8", "variant": "generic_stm32f103c" }, - "frameworks": ["arduino"], - "name": "STM32F103C8 (20k RAM. 64k Flash)", - "upload": { - "disable_flushing": false, - "maximum_ram_size": 20480, - "maximum_size": 65536, - "protocol": "serial", - "require_upload_port": true, - "use_1200bps_touch": false, - "wait_for_upload_port": false - }, "debug": { "tools": { - "stlink": { + "stlink-v2": { "server": { "package": "tool-openocd", "executable": "bin/openocd", "arguments": [ - "-f", "scripts/interface/stlink-v2-1.cfg", + "-f", "scripts/interface/stlink-v2.cfg", "-c", "transport select hla_swd", "-f", "scripts/target/stm32f1x.cfg", - "-c", "reset_config srst_only" + "-c", "reset_config srst_nogate" ] }, "gdbinit": [ @@ -45,7 +34,7 @@ "b main" ] }, - "bmp": { + "blackmagic": { "hwids": [ [ "0x1d50", @@ -63,7 +52,19 @@ "b main" ] } - } + }, + "default_tool": "stlink-v2" + }, + "frameworks": ["arduino"], + "name": "STM32F103C8 (20k RAM. 64k Flash)", + "upload": { + "disable_flushing": false, + "maximum_ram_size": 20480, + "maximum_size": 65536, + "protocol": "serial", + "require_upload_port": true, + "use_1200bps_touch": false, + "wait_for_upload_port": false }, "url": "http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/stm32f1-series/stm32f103/stm32f103c8.html", "vendor": "Generic" diff --git a/boards/genericSTM32F103CB.json b/boards/genericSTM32F103CB.json index 1cf0783..862fd74 100644 --- a/boards/genericSTM32F103CB.json +++ b/boards/genericSTM32F103CB.json @@ -12,28 +12,17 @@ "mcu": "stm32f103cb", "variant": "generic_stm32f103c" }, - "frameworks": ["arduino"], - "name": "STM32F103CB (20k RAM. 128k Flash)", - "upload": { - "disable_flushing": false, - "maximum_ram_size": 20480, - "maximum_size": 131072, - "protocol": "serial", - "require_upload_port": true, - "use_1200bps_touch": false, - "wait_for_upload_port": false - }, "debug": { "tools": { - "stlink": { + "stlink-v2": { "server": { "package": "tool-openocd", "executable": "bin/openocd", "arguments": [ - "-f", "scripts/interface/stlink-v2-1.cfg", + "-f", "scripts/interface/stlink-v2.cfg", "-c", "transport select hla_swd", "-f", "scripts/target/stm32f1x.cfg", - "-c", "reset_config srst_only" + "-c", "reset_config srst_nogate" ] }, "gdbinit": [ @@ -45,7 +34,7 @@ "b main" ] }, - "bmp": { + "blackmagic": { "hwids": [ [ "0x1d50", @@ -63,7 +52,19 @@ "b main" ] } - } + }, + "default_tool": "stlink-v2" + }, + "frameworks": ["arduino"], + "name": "STM32F103CB (20k RAM. 128k Flash)", + "upload": { + "disable_flushing": false, + "maximum_ram_size": 20480, + "maximum_size": 131072, + "protocol": "serial", + "require_upload_port": true, + "use_1200bps_touch": false, + "wait_for_upload_port": false }, "url": "http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/stm32f1-series/stm32f103/stm32f103cb.html", "vendor": "Generic" diff --git a/boards/genericSTM32F103R8.json b/boards/genericSTM32F103R8.json index bdc5151..918a3a4 100644 --- a/boards/genericSTM32F103R8.json +++ b/boards/genericSTM32F103R8.json @@ -12,28 +12,17 @@ "mcu": "stm32f103r8", "variant": "generic_stm32f103r8" }, - "frameworks": ["arduino"], - "name": "STM32F103R8 (20k RAM. 64 Flash)", - "upload": { - "disable_flushing": false, - "maximum_ram_size": 20480, - "maximum_size": 65536, - "protocol": "serial", - "require_upload_port": true, - "use_1200bps_touch": false, - "wait_for_upload_port": false - }, "debug": { "tools": { - "stlink": { + "stlink-v2": { "server": { "package": "tool-openocd", "executable": "bin/openocd", "arguments": [ - "-f", "scripts/interface/stlink-v2-1.cfg", + "-f", "scripts/interface/stlink-v2.cfg", "-c", "transport select hla_swd", "-f", "scripts/target/stm32f1x.cfg", - "-c", "reset_config srst_only" + "-c", "reset_config srst_nogate" ] }, "gdbinit": [ @@ -45,7 +34,7 @@ "b main" ] }, - "bmp": { + "blackmagic": { "hwids": [ [ "0x1d50", @@ -63,7 +52,19 @@ "b main" ] } - } + }, + "default_tool": "stlink-v2" + }, + "frameworks": ["arduino"], + "name": "STM32F103R8 (20k RAM. 64 Flash)", + "upload": { + "disable_flushing": false, + "maximum_ram_size": 20480, + "maximum_size": 65536, + "protocol": "serial", + "require_upload_port": true, + "use_1200bps_touch": false, + "wait_for_upload_port": false }, "url": "http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/stm32f1-series/stm32f103/stm32f103r8.html", "vendor": "Generic" diff --git a/boards/genericSTM32F103RB.json b/boards/genericSTM32F103RB.json index 0592fcb..279452d 100644 --- a/boards/genericSTM32F103RB.json +++ b/boards/genericSTM32F103RB.json @@ -12,28 +12,17 @@ "mcu": "stm32f103rb", "variant": "generic_stm32f103r8" }, - "frameworks": ["arduino"], - "name": "STM32F103RB (20k RAM. 128k Flash)", - "upload": { - "disable_flushing": false, - "maximum_ram_size": 20480, - "maximum_size": 131072, - "protocol": "serial", - "require_upload_port": true, - "use_1200bps_touch": false, - "wait_for_upload_port": false - }, "debug": { "tools": { - "stlink": { + "stlink-v2": { "server": { "package": "tool-openocd", "executable": "bin/openocd", "arguments": [ - "-f", "scripts/interface/stlink-v2-1.cfg", + "-f", "scripts/interface/stlink-v2.cfg", "-c", "transport select hla_swd", "-f", "scripts/target/stm32f1x.cfg", - "-c", "reset_config srst_only" + "-c", "reset_config srst_nogate" ] }, "gdbinit": [ @@ -45,7 +34,7 @@ "b main" ] }, - "bmp": { + "blackmagic": { "hwids": [ [ "0x1d50", @@ -63,7 +52,19 @@ "b main" ] } - } + }, + "default_tool": "stlink-v2" + }, + "frameworks": ["arduino"], + "name": "STM32F103RB (20k RAM. 128k Flash)", + "upload": { + "disable_flushing": false, + "maximum_ram_size": 20480, + "maximum_size": 131072, + "protocol": "serial", + "require_upload_port": true, + "use_1200bps_touch": false, + "wait_for_upload_port": false }, "url": "http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/stm32f1-series/stm32f103/stm32f103rb.html", "vendor": "Generic" diff --git a/boards/genericSTM32F103RC.json b/boards/genericSTM32F103RC.json index f9ae9ad..d1e1829 100644 --- a/boards/genericSTM32F103RC.json +++ b/boards/genericSTM32F103RC.json @@ -12,28 +12,17 @@ "mcu": "stm32f103rc", "variant": "generic_stm32f103r" }, - "frameworks": ["arduino"], - "name": "STM32F103RC (48k RAM. 256k Flash)", - "upload": { - "disable_flushing": false, - "maximum_ram_size": 49152, - "maximum_size": 262144, - "protocol": "serial", - "require_upload_port": true, - "use_1200bps_touch": false, - "wait_for_upload_port": false - }, "debug": { "tools": { - "stlink": { + "stlink-v2": { "server": { "package": "tool-openocd", "executable": "bin/openocd", "arguments": [ - "-f", "scripts/interface/stlink-v2-1.cfg", + "-f", "scripts/interface/stlink-v2.cfg", "-c", "transport select hla_swd", "-f", "scripts/target/stm32f1x.cfg", - "-c", "reset_config srst_only" + "-c", "reset_config srst_nogate" ] }, "gdbinit": [ @@ -45,7 +34,7 @@ "b main" ] }, - "bmp": { + "blackmagic": { "hwids": [ [ "0x1d50", @@ -63,7 +52,19 @@ "b main" ] } - } + }, + "default_tool": "stlink-v2" + }, + "frameworks": ["arduino"], + "name": "STM32F103RC (48k RAM. 256k Flash)", + "upload": { + "disable_flushing": false, + "maximum_ram_size": 49152, + "maximum_size": 262144, + "protocol": "serial", + "require_upload_port": true, + "use_1200bps_touch": false, + "wait_for_upload_port": false }, "url": "http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/stm32f1-series/stm32f103/stm32f103rc.html", "vendor": "Generic" diff --git a/boards/genericSTM32F103RE.json b/boards/genericSTM32F103RE.json index 17188ec..323bde4 100644 --- a/boards/genericSTM32F103RE.json +++ b/boards/genericSTM32F103RE.json @@ -12,28 +12,17 @@ "mcu": "stm32f103re", "variant": "generic_stm32f103r" }, - "frameworks": ["arduino"], - "name": "STM32F103RE (64k RAM. 512k Flash)", - "upload": { - "disable_flushing": false, - "maximum_ram_size": 65536, - "maximum_size": 524288, - "protocol": "serial", - "require_upload_port": true, - "use_1200bps_touch": false, - "wait_for_upload_port": false - }, "debug": { "tools": { - "stlink": { + "stlink-v2": { "server": { "package": "tool-openocd", "executable": "bin/openocd", "arguments": [ - "-f", "scripts/interface/stlink-v2-1.cfg", + "-f", "scripts/interface/stlink-v2.cfg", "-c", "transport select hla_swd", "-f", "scripts/target/stm32f1x.cfg", - "-c", "reset_config srst_only" + "-c", "reset_config srst_nogate" ] }, "gdbinit": [ @@ -45,7 +34,7 @@ "b main" ] }, - "bmp": { + "blackmagic": { "hwids": [ [ "0x1d50", @@ -63,7 +52,19 @@ "b main" ] } - } + }, + "default_tool": "stlink-v2" + }, + "frameworks": ["arduino"], + "name": "STM32F103RE (64k RAM. 512k Flash)", + "upload": { + "disable_flushing": false, + "maximum_ram_size": 65536, + "maximum_size": 524288, + "protocol": "serial", + "require_upload_port": true, + "use_1200bps_touch": false, + "wait_for_upload_port": false }, "url": "http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/stm32f1-series/stm32f103/stm32f103re.html", "vendor": "Generic" diff --git a/boards/mote_l152rc.json b/boards/mote_l152rc.json index 87b72f1..105bdde 100644 --- a/boards/mote_l152rc.json +++ b/boards/mote_l152rc.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", diff --git a/boards/mts_dragonfly_f411re.json b/boards/mts_dragonfly_f411re.json index 61a11af..9e0d106 100644 --- a/boards/mts_dragonfly_f411re.json +++ b/boards/mts_dragonfly_f411re.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", diff --git a/boards/mts_mdot_f405rg.json b/boards/mts_mdot_f405rg.json index 3432fb3..9b0dfeb 100644 --- a/boards/mts_mdot_f405rg.json +++ b/boards/mts_mdot_f405rg.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", diff --git a/boards/mts_mdot_f411re.json b/boards/mts_mdot_f411re.json index b913431..dee6bd7 100644 --- a/boards/mts_mdot_f411re.json +++ b/boards/mts_mdot_f411re.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", diff --git a/boards/nucleo_f030r8.json b/boards/nucleo_f030r8.json index 320d13a..83f2a0c 100644 --- a/boards/nucleo_f030r8.json +++ b/boards/nucleo_f030r8.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -27,7 +27,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/nucleo_f031k6.json b/boards/nucleo_f031k6.json index 0c728e8..03d8f30 100644 --- a/boards/nucleo_f031k6.json +++ b/boards/nucleo_f031k6.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -27,7 +27,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/nucleo_f042k6.json b/boards/nucleo_f042k6.json index 605abf9..f0388ea 100644 --- a/boards/nucleo_f042k6.json +++ b/boards/nucleo_f042k6.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -27,7 +27,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/nucleo_f070rb.json b/boards/nucleo_f070rb.json index 4689e72..c9b5023 100644 --- a/boards/nucleo_f070rb.json +++ b/boards/nucleo_f070rb.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -27,7 +27,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/nucleo_f072rb.json b/boards/nucleo_f072rb.json index 3064585..42dfb3d 100644 --- a/boards/nucleo_f072rb.json +++ b/boards/nucleo_f072rb.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -27,7 +27,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/nucleo_f091rc.json b/boards/nucleo_f091rc.json index 160f261..94d395a 100644 --- a/boards/nucleo_f091rc.json +++ b/boards/nucleo_f091rc.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -27,7 +27,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/nucleo_f103rb.json b/boards/nucleo_f103rb.json index f803fdd..5a7971c 100644 --- a/boards/nucleo_f103rb.json +++ b/boards/nucleo_f103rb.json @@ -18,7 +18,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -31,7 +31,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/nucleo_f207zg.json b/boards/nucleo_f207zg.json index b9f5ffa..fd32e25 100644 --- a/boards/nucleo_f207zg.json +++ b/boards/nucleo_f207zg.json @@ -15,7 +15,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -33,7 +33,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/nucleo_f302r8.json b/boards/nucleo_f302r8.json index 85504be..8954933 100644 --- a/boards/nucleo_f302r8.json +++ b/boards/nucleo_f302r8.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -27,7 +27,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/nucleo_f303k8.json b/boards/nucleo_f303k8.json index e36932e..10e2d3e 100644 --- a/boards/nucleo_f303k8.json +++ b/boards/nucleo_f303k8.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -27,7 +27,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/nucleo_f303re.json b/boards/nucleo_f303re.json index 903f89b..142c698 100644 --- a/boards/nucleo_f303re.json +++ b/boards/nucleo_f303re.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -27,7 +27,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/nucleo_f303ze.json b/boards/nucleo_f303ze.json index 952b035..d24fb88 100644 --- a/boards/nucleo_f303ze.json +++ b/boards/nucleo_f303ze.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -27,7 +27,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/nucleo_f334r8.json b/boards/nucleo_f334r8.json index 45a0369..3d35b06 100644 --- a/boards/nucleo_f334r8.json +++ b/boards/nucleo_f334r8.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -27,7 +27,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/nucleo_f401re.json b/boards/nucleo_f401re.json index 4e51526..c6eb324 100644 --- a/boards/nucleo_f401re.json +++ b/boards/nucleo_f401re.json @@ -20,7 +20,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -33,7 +33,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/nucleo_f410rb.json b/boards/nucleo_f410rb.json index 83d3f15..e8b278d 100644 --- a/boards/nucleo_f410rb.json +++ b/boards/nucleo_f410rb.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -27,7 +27,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/nucleo_f411re.json b/boards/nucleo_f411re.json index bcec2ce..2d2d2ca 100644 --- a/boards/nucleo_f411re.json +++ b/boards/nucleo_f411re.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -27,7 +27,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/nucleo_f429zi.json b/boards/nucleo_f429zi.json index ac3b000..ce3fb1d 100644 --- a/boards/nucleo_f429zi.json +++ b/boards/nucleo_f429zi.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -27,7 +27,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/nucleo_f446re.json b/boards/nucleo_f446re.json index 0d6580c..c1ed753 100644 --- a/boards/nucleo_f446re.json +++ b/boards/nucleo_f446re.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -27,7 +27,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/nucleo_f446ze.json b/boards/nucleo_f446ze.json index 390a66b..5f9987f 100644 --- a/boards/nucleo_f446ze.json +++ b/boards/nucleo_f446ze.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -27,7 +27,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/nucleo_f746zg.json b/boards/nucleo_f746zg.json index 8bd15fb..2d1c734 100644 --- a/boards/nucleo_f746zg.json +++ b/boards/nucleo_f746zg.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -32,7 +32,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/nucleo_f767zi.json b/boards/nucleo_f767zi.json index 7ec73da..09cb977 100644 --- a/boards/nucleo_f767zi.json +++ b/boards/nucleo_f767zi.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -32,7 +32,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/nucleo_l011k4.json b/boards/nucleo_l011k4.json index 19e1233..f5a6a34 100644 --- a/boards/nucleo_l011k4.json +++ b/boards/nucleo_l011k4.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -32,7 +32,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/nucleo_l031k6.json b/boards/nucleo_l031k6.json index 8ad2a17..c3986bf 100644 --- a/boards/nucleo_l031k6.json +++ b/boards/nucleo_l031k6.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -32,7 +32,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/nucleo_l053r8.json b/boards/nucleo_l053r8.json index 1bc113b..538ddc5 100644 --- a/boards/nucleo_l053r8.json +++ b/boards/nucleo_l053r8.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -32,7 +32,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/nucleo_l073rz.json b/boards/nucleo_l073rz.json index d66d937..dfa73c8 100644 --- a/boards/nucleo_l073rz.json +++ b/boards/nucleo_l073rz.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -32,7 +32,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/nucleo_l152re.json b/boards/nucleo_l152re.json index 01a1519..86b6b85 100644 --- a/boards/nucleo_l152re.json +++ b/boards/nucleo_l152re.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -27,7 +27,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/nucleo_l432kc.json b/boards/nucleo_l432kc.json index b86649c..eb6e492 100644 --- a/boards/nucleo_l432kc.json +++ b/boards/nucleo_l432kc.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -32,7 +32,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/nucleo_l476rg.json b/boards/nucleo_l476rg.json index 7127c4d..13abac8 100644 --- a/boards/nucleo_l476rg.json +++ b/boards/nucleo_l476rg.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -27,7 +27,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/seeedArchMax.json b/boards/seeedArchMax.json index 9876fab..afb46ef 100644 --- a/boards/seeedArchMax.json +++ b/boards/seeedArchMax.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd", @@ -27,7 +27,8 @@ "monitor reset halt", "monitor reset init", "b main" - ] + ], + "onboard": true } } }, diff --git a/boards/ublox_evk_odin_w2.json b/boards/ublox_evk_odin_w2.json index ebc4998..77aff97 100644 --- a/boards/ublox_evk_odin_w2.json +++ b/boards/ublox_evk_odin_w2.json @@ -14,7 +14,7 @@ }, "debug": { "tools": { - "stlink": { + "stlink-v2-1": { "server": { "package": "tool-openocd", "executable": "bin/openocd",