70 lines
1.8 KiB
JSON
70 lines
1.8 KiB
JSON
{
|
|
"build": {
|
|
"core": "maple",
|
|
"cpu": "cortex-m3",
|
|
"extra_flags": "-DARDUINO_GENERIC_STM32F103R -DMCU_STM32F103RC",
|
|
"f_cpu": "72000000L",
|
|
"hwids": [
|
|
["0x1EAF", "0x0003"],
|
|
["0x1EAF", "0x0004"]
|
|
],
|
|
"ldscript": "stm32f103rc.ld",
|
|
"mcu": "stm32f103rc",
|
|
"variant": "generic_stm32f103r"
|
|
},
|
|
"frameworks": ["arduino"],
|
|
"name": "STM32F103RC (48k RAM. 256k Flash)",
|
|
"upload": {
|
|
"disable_flushing": false,
|
|
"maximum_ram_size": 49152,
|
|
"maximum_size": 262144,
|
|
"protocol": "serial",
|
|
"require_upload_port": true,
|
|
"use_1200bps_touch": false,
|
|
"wait_for_upload_port": false
|
|
},
|
|
"debug": {
|
|
"tools": {
|
|
"stlink": {
|
|
"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",
|
|
"-c", "reset_config srst_only"
|
|
]
|
|
},
|
|
"gdbinit": [
|
|
"target remote :3333",
|
|
"file $PROG_PATH",
|
|
"load $PROG_PATH",
|
|
"monitor reset halt",
|
|
"monitor reset init",
|
|
"b main"
|
|
]
|
|
},
|
|
"bmp": {
|
|
"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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"url": "http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/stm32f1-series/stm32f103/stm32f103rc.html",
|
|
"vendor": "Generic"
|
|
} |