Browse Source

Declare "teensy" platform, add ststm32 dev/platform (#14070)

Ivan Kravets 5 years ago
parent
commit
610abd7b88

+ 1
- 0
buildroot/share/PlatformIO/boards/at90usb1286.json View File

8
   "frameworks": [
8
   "frameworks": [
9
     "arduino"
9
     "arduino"
10
   ],
10
   ],
11
+  "platform": "teensy",
11
   "name": "Atmel AT90USB1286 based",
12
   "name": "Atmel AT90USB1286 based",
12
   "upload": {
13
   "upload": {
13
     "maximum_ram_size": 8192,
14
     "maximum_ram_size": 8192,

+ 5
- 47
buildroot/share/PlatformIO/boards/malyanM200.json View File

15
     "vec_tab_addr": "0x8002000"
15
     "vec_tab_addr": "0x8002000"
16
   },
16
   },
17
   "debug": {
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
   "name": "Malyan STM32F103CB (20k RAM. 128k Flash)",
24
   "name": "Malyan STM32F103CB (20k RAM. 128k Flash)",
67
   "upload": {
25
   "upload": {
68
     "disable_flushing": false,
26
     "disable_flushing": false,

+ 3
- 1
buildroot/share/PlatformIO/boards/malyanM200v2.json View File

8
     "vec_tab_addr": "0x8002000"
8
     "vec_tab_addr": "0x8002000"
9
   },
9
   },
10
   "debug": {
10
   "debug": {
11
+    "jlink_device": "STM32F070RB",
11
     "default_tools": [
12
     "default_tools": [
12
       "stlink"
13
       "stlink"
13
     ],
14
     ],
17
     "openocd_board": "st_nucleo_f0",
18
     "openocd_board": "st_nucleo_f0",
18
     "openocd_target": "stm32f0x"
19
     "openocd_target": "stm32f0x"
19
   },
20
   },
21
+  "platform": "ststm32",
20
   "frameworks": [
22
   "frameworks": [
21
     "mbed",
23
     "mbed",
22
     "stm32cube",
24
     "stm32cube",
23
-    "arduinoSTM32GENERIC"
25
+    "arduino"
24
   ],
26
   ],
25
   "name": "Malyan M200 V2/Delta",
27
   "name": "Malyan M200 V2/Delta",
26
   "upload": {
28
   "upload": {

Loading…
Cancel
Save