Browse Source

Add PIO board definitions for Malyan M200 (#11120)

Co-Authored-By: J.C. Nelson <xc0000005@users.noreply.github.com>
pull/1/head
Dave Johnson 7 years ago
committed by Scott Lahteine
parent
commit
0ee34eb784
  1. 78
      buildroot/share/PlatformIO/boards/malyanM200.json
  2. 39
      buildroot/share/PlatformIO/boards/malyanM200v2.json

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

@ -0,0 +1,78 @@
{
"build": {
"core": "maple",
"cpu": "cortex-m3",
"extra_flags": "-DARDUINO_GENERIC_STM32F103C -DMCU_STM32F103CB",
"f_cpu": "72000000L",
"hwids": [
["0x1EAF", "0x0003"],
["0x1EAF", "0x0004"]
],
"ldscript": "jtagOffset.ld",
"mcu": "stm32f103cb",
"variant": "malyanM200",
"genericvariant" : "MALYAN_M200_V1",
"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"
}
},
"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"],
"name": "Malyan 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"
}

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

@ -0,0 +1,39 @@
{
"build": {
"cpu": "cortex-m0",
"extra_flags": "-DSTM32F070xB",
"f_cpu": "48000000L",
"mcu": "stm32f070rbt6",
"genericvariant" : "MALYAN_M200_V2",
"vec_tab_addr": "0x8002000"
},
"debug": {
"default_tools": [
"stlink"
],
"onboard_tools": [
"stlink"
],
"openocd_board": "st_nucleo_f0",
"openocd_target": "stm32f0x"
},
"frameworks": [
"mbed",
"stm32cube",
"arduinoSTM32GENERIC"
],
"name": "Malyan M200 V2/Delta",
"upload": {
"maximum_ram_size": 16384,
"maximum_size": 131072,
"protocol": "mbed",
"protocols": [
"jlink",
"stlink",
"blackmagic",
"mbed"
]
},
"url": "https://developer.mbed.org/platforms/ST-Nucleo-F070RB/",
"vendor": "Malyan"
}
Loading…
Cancel
Save