|
@@ -15,54 +15,12 @@
|
15
|
15
|
"vec_tab_addr": "0x8002000"
|
16
|
16
|
},
|
17
|
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
|
|
- }
|
|
18
|
+ "jlink_device": "STM32F103CB",
|
|
19
|
+ "openocd_target": "stm32f1x",
|
|
20
|
+ "svd_path": "STM32F103xx.svd"
|
64
|
21
|
},
|
65
|
|
- "frameworks": ["arduino", "arduinoSTM32GENERIC"],
|
|
22
|
+ "platform": "ststm32",
|
|
23
|
+ "frameworks": ["arduino"],
|
66
|
24
|
"name": "Malyan STM32F103CB (20k RAM. 128k Flash)",
|
67
|
25
|
"upload": {
|
68
|
26
|
"disable_flushing": false,
|