Declare "teensy" platform, add ststm32 dev/platform (#14070)
This commit is contained in:
parent
cfca07852a
commit
610abd7b88
3 changed files with 9 additions and 48 deletions
|
@ -8,6 +8,7 @@
|
||||||
"frameworks": [
|
"frameworks": [
|
||||||
"arduino"
|
"arduino"
|
||||||
],
|
],
|
||||||
|
"platform": "teensy",
|
||||||
"name": "Atmel AT90USB1286 based",
|
"name": "Atmel AT90USB1286 based",
|
||||||
"upload": {
|
"upload": {
|
||||||
"maximum_ram_size": 8192,
|
"maximum_ram_size": 8192,
|
||||||
|
|
|
@ -15,54 +15,12 @@
|
||||||
"vec_tab_addr": "0x8002000"
|
"vec_tab_addr": "0x8002000"
|
||||||
},
|
},
|
||||||
"debug": {
|
"debug": {
|
||||||
"tools": {
|
"jlink_device": "STM32F103CB",
|
||||||
"stlink": {
|
"openocd_target": "stm32f1x",
|
||||||
"server": {
|
"svd_path": "STM32F103xx.svd"
|
||||||
"arguments": [
|
|
||||||
"-f", "scripts/interface/stlink.cfg",
|
|
||||||
"-c", "transport select hla_swd",
|
|
||||||
"-f", "scripts/target/stm32f1x.cfg",
|
|
||||||
"-c", "reset_config none"
|
|
||||||
],
|
|
||||||
"executable": "bin/openocd",
|
|
||||||
"package": "tool-openocd"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"stlink-v2": {
|
"platform": "ststm32",
|
||||||
"server": {
|
"frameworks": ["arduino"],
|
||||||
"package": "tool-openocd",
|
|
||||||
"executable": "bin/openocd",
|
|
||||||
"arguments": [
|
|
||||||
"-f", "scripts/interface/stlink-v2.cfg",
|
|
||||||
"-c", "transport select hla_swd",
|
|
||||||
"-f", "scripts/target/stm32f1x.cfg"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"default": true
|
|
||||||
},
|
|
||||||
"stlink-v2-1": {
|
|
||||||
"server": {
|
|
||||||
"package": "tool-openocd",
|
|
||||||
"executable": "bin/openocd",
|
|
||||||
"arguments": [
|
|
||||||
"-f", "scripts/interface/stlink-v2-1.cfg",
|
|
||||||
"-c", "transport select hla_swd",
|
|
||||||
"-f", "scripts/target/stm32f1x.cfg"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"blackmagic": {
|
|
||||||
"hwids": [
|
|
||||||
[
|
|
||||||
"0x1d50",
|
|
||||||
"0x6018"
|
|
||||||
]
|
|
||||||
],
|
|
||||||
"require_debug_port": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"frameworks": ["arduino", "arduinoSTM32GENERIC"],
|
|
||||||
"name": "Malyan STM32F103CB (20k RAM. 128k Flash)",
|
"name": "Malyan STM32F103CB (20k RAM. 128k Flash)",
|
||||||
"upload": {
|
"upload": {
|
||||||
"disable_flushing": false,
|
"disable_flushing": false,
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
"vec_tab_addr": "0x8002000"
|
"vec_tab_addr": "0x8002000"
|
||||||
},
|
},
|
||||||
"debug": {
|
"debug": {
|
||||||
|
"jlink_device": "STM32F070RB",
|
||||||
"default_tools": [
|
"default_tools": [
|
||||||
"stlink"
|
"stlink"
|
||||||
],
|
],
|
||||||
|
@ -17,10 +18,11 @@
|
||||||
"openocd_board": "st_nucleo_f0",
|
"openocd_board": "st_nucleo_f0",
|
||||||
"openocd_target": "stm32f0x"
|
"openocd_target": "stm32f0x"
|
||||||
},
|
},
|
||||||
|
"platform": "ststm32",
|
||||||
"frameworks": [
|
"frameworks": [
|
||||||
"mbed",
|
"mbed",
|
||||||
"stm32cube",
|
"stm32cube",
|
||||||
"arduinoSTM32GENERIC"
|
"arduino"
|
||||||
],
|
],
|
||||||
"name": "Malyan M200 V2/Delta",
|
"name": "Malyan M200 V2/Delta",
|
||||||
"upload": {
|
"upload": {
|
||||||
|
|
Reference in a new issue