0ee34eb784
Co-Authored-By: J.C. Nelson <xc0000005@users.noreply.github.com>
78 lines
2.1 KiB
JSON
78 lines
2.1 KiB
JSON
{
|
|
"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"
|
|
}
|