Browse Source

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

pull/1/head
Ivan Kravets 6 years ago
committed by Scott Lahteine
parent
commit
610abd7b88
  1. 1
      buildroot/share/PlatformIO/boards/at90usb1286.json
  2. 52
      buildroot/share/PlatformIO/boards/malyanM200.json
  3. 4
      buildroot/share/PlatformIO/boards/malyanM200v2.json

1
buildroot/share/PlatformIO/boards/at90usb1286.json

@ -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,

52
buildroot/share/PlatformIO/boards/malyanM200.json

@ -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": {
"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)", "name": "Malyan STM32F103CB (20k RAM. 128k Flash)",
"upload": { "upload": {
"disable_flushing": false, "disable_flushing": false,

4
buildroot/share/PlatformIO/boards/malyanM200v2.json

@ -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": {

Loading…
Cancel
Save