Declare "teensy" platform, add ststm32 dev/platform (#14070)

This commit is contained in:
Ivan Kravets 2019-05-21 06:02:17 +03:00 committed by Scott Lahteine
parent cfca07852a
commit 610abd7b88
3 changed files with 9 additions and 48 deletions

View file

@ -8,6 +8,7 @@
"frameworks": [
"arduino"
],
"platform": "teensy",
"name": "Atmel AT90USB1286 based",
"upload": {
"maximum_ram_size": 8192,

View file

@ -15,54 +15,12 @@
"vec_tab_addr": "0x8002000"
},
"debug": {
"tools": {
"stlink": {
"server": {
"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"
}
"jlink_device": "STM32F103CB",
"openocd_target": "stm32f1x",
"svd_path": "STM32F103xx.svd"
},
"stlink-v2": {
"server": {
"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"],
"platform": "ststm32",
"frameworks": ["arduino"],
"name": "Malyan STM32F103CB (20k RAM. 128k Flash)",
"upload": {
"disable_flushing": false,

View file

@ -8,6 +8,7 @@
"vec_tab_addr": "0x8002000"
},
"debug": {
"jlink_device": "STM32F070RB",
"default_tools": [
"stlink"
],
@ -17,10 +18,11 @@
"openocd_board": "st_nucleo_f0",
"openocd_target": "stm32f0x"
},
"platform": "ststm32",
"frameworks": [
"mbed",
"stm32cube",
"arduinoSTM32GENERIC"
"arduino"
],
"name": "Malyan M200 V2/Delta",
"upload": {