2016-09-10 07:21:29 -07:00
|
|
|
{
|
|
|
|
"build": {
|
2016-10-11 15:36:48 -07:00
|
|
|
"core": "maple",
|
|
|
|
"cpu": "cortex-m3",
|
|
|
|
"extra_flags": "-DARDUINO_GENERIC_STM32F103C -DMCU_STM32F103CB",
|
|
|
|
"f_cpu": "72000000L",
|
2016-09-10 07:21:29 -07:00
|
|
|
"hwids": [
|
|
|
|
["0x1EAF", "0x0003"],
|
|
|
|
["0x1EAF", "0x0004"]
|
|
|
|
],
|
2016-10-11 15:36:48 -07:00
|
|
|
"ldscript": "jtag.ld",
|
|
|
|
"mcu": "stm32f103cb",
|
2016-09-10 07:21:29 -07:00
|
|
|
"variant": "generic_stm32f103c"
|
2016-10-11 15:36:48 -07:00
|
|
|
},
|
2017-04-01 11:56:55 -07:00
|
|
|
"debug": {
|
|
|
|
"tools": {
|
2017-04-07 13:56:56 -07:00
|
|
|
"stlink-v2": {
|
2017-04-01 11:56:55 -07:00
|
|
|
"server": {
|
|
|
|
"package": "tool-openocd",
|
|
|
|
"executable": "bin/openocd",
|
|
|
|
"arguments": [
|
2017-04-07 13:56:56 -07:00
|
|
|
"-f", "scripts/interface/stlink-v2.cfg",
|
2017-04-01 11:56:55 -07:00
|
|
|
"-c", "transport select hla_swd",
|
2017-04-06 08:25:26 -07:00
|
|
|
"-f", "scripts/target/stm32f1x.cfg",
|
2017-04-07 13:56:56 -07:00
|
|
|
"-c", "reset_config srst_nogate"
|
2017-04-01 11:56:55 -07:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"gdbinit": [
|
|
|
|
"target remote :3333",
|
|
|
|
"file $PROG_PATH",
|
|
|
|
"load $PROG_PATH",
|
2017-04-02 14:03:35 -07:00
|
|
|
"monitor reset halt",
|
|
|
|
"monitor reset init",
|
2017-04-01 11:56:55 -07:00
|
|
|
"b main"
|
|
|
|
]
|
|
|
|
},
|
2017-04-07 13:56:56 -07:00
|
|
|
"blackmagic": {
|
2017-04-01 11:56:55 -07:00
|
|
|
"hwids": [
|
|
|
|
[
|
|
|
|
"0x1d50",
|
|
|
|
"0x6018"
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"require_debug_port": true,
|
|
|
|
"gdbinit": [
|
|
|
|
"target extended-remote $DEBUG_PORT",
|
|
|
|
"monitor swdp_scan",
|
|
|
|
"attach 1",
|
|
|
|
"set mem inaccessible-by-default off",
|
|
|
|
"file $PROG_PATH",
|
|
|
|
"load $PROG_PATH",
|
|
|
|
"b main"
|
|
|
|
]
|
|
|
|
}
|
2017-04-07 13:56:56 -07:00
|
|
|
},
|
|
|
|
"default_tool": "stlink-v2"
|
|
|
|
},
|
|
|
|
"frameworks": ["arduino"],
|
|
|
|
"name": "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
|
2017-04-01 11:56:55 -07:00
|
|
|
},
|
2016-10-11 15:36:48 -07:00
|
|
|
"url": "http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/stm32f1-series/stm32f103/stm32f103cb.html",
|
2016-09-10 07:21:29 -07:00
|
|
|
"vendor": "Generic"
|
|
|
|
}
|