|
@@ -0,0 +1,78 @@
|
|
1
|
+{
|
|
2
|
+ "build": {
|
|
3
|
+ "core": "maple",
|
|
4
|
+ "cpu": "cortex-m3",
|
|
5
|
+ "extra_flags": "-DARDUINO_GENERIC_STM32F103C -DMCU_STM32F103CB",
|
|
6
|
+ "f_cpu": "72000000L",
|
|
7
|
+ "hwids": [
|
|
8
|
+ ["0x1EAF", "0x0003"],
|
|
9
|
+ ["0x1EAF", "0x0004"]
|
|
10
|
+ ],
|
|
11
|
+ "ldscript": "jtagOffset.ld",
|
|
12
|
+ "mcu": "stm32f103cb",
|
|
13
|
+ "variant": "malyanM200",
|
|
14
|
+ "genericvariant" : "MALYAN_M200_V1",
|
|
15
|
+ "vec_tab_addr": "0x8002000"
|
|
16
|
+ },
|
|
17
|
+ "debug": {
|
|
18
|
+ "tools": {
|
|
19
|
+ "stlink": {
|
|
20
|
+ "server": {
|
|
21
|
+ "arguments": [
|
|
22
|
+ "-f", "scripts/interface/stlink.cfg",
|
|
23
|
+ "-c", "transport select hla_swd",
|
|
24
|
+ "-f", "scripts/target/stm32f1x.cfg",
|
|
25
|
+ "-c", "reset_config none"
|
|
26
|
+ ],
|
|
27
|
+ "executable": "bin/openocd",
|
|
28
|
+ "package": "tool-openocd"
|
|
29
|
+ }
|
|
30
|
+ },
|
|
31
|
+ "stlink-v2": {
|
|
32
|
+ "server": {
|
|
33
|
+ "package": "tool-openocd",
|
|
34
|
+ "executable": "bin/openocd",
|
|
35
|
+ "arguments": [
|
|
36
|
+ "-f", "scripts/interface/stlink-v2.cfg",
|
|
37
|
+ "-c", "transport select hla_swd",
|
|
38
|
+ "-f", "scripts/target/stm32f1x.cfg"
|
|
39
|
+ ]
|
|
40
|
+ },
|
|
41
|
+ "default": true
|
|
42
|
+ },
|
|
43
|
+ "stlink-v2-1": {
|
|
44
|
+ "server": {
|
|
45
|
+ "package": "tool-openocd",
|
|
46
|
+ "executable": "bin/openocd",
|
|
47
|
+ "arguments": [
|
|
48
|
+ "-f", "scripts/interface/stlink-v2-1.cfg",
|
|
49
|
+ "-c", "transport select hla_swd",
|
|
50
|
+ "-f", "scripts/target/stm32f1x.cfg"
|
|
51
|
+ ]
|
|
52
|
+ }
|
|
53
|
+ },
|
|
54
|
+ "blackmagic": {
|
|
55
|
+ "hwids": [
|
|
56
|
+ [
|
|
57
|
+ "0x1d50",
|
|
58
|
+ "0x6018"
|
|
59
|
+ ]
|
|
60
|
+ ],
|
|
61
|
+ "require_debug_port": true
|
|
62
|
+ }
|
|
63
|
+ }
|
|
64
|
+ },
|
|
65
|
+ "frameworks": ["arduino", "arduinoSTM32GENERIC"],
|
|
66
|
+ "name": "Malyan STM32F103CB (20k RAM. 128k Flash)",
|
|
67
|
+ "upload": {
|
|
68
|
+ "disable_flushing": false,
|
|
69
|
+ "maximum_ram_size": 20480,
|
|
70
|
+ "maximum_size": 131072,
|
|
71
|
+ "protocol": "serial",
|
|
72
|
+ "require_upload_port": true,
|
|
73
|
+ "use_1200bps_touch": false,
|
|
74
|
+ "wait_for_upload_port": false
|
|
75
|
+ },
|
|
76
|
+ "url": "http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/stm32f1-series/stm32f103/stm32f103cb.html",
|
|
77
|
+ "vendor": "Generic"
|
|
78
|
+}
|