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,6 +8,7 @@
8 8
   "frameworks": [
9 9
     "arduino"
10 10
   ],
11
+  "platform": "teensy",
11 12
   "name": "Atmel AT90USB1286 based",
12 13
   "upload": {
13 14
     "maximum_ram_size": 8192,

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

@@ -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,

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

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

Loading…
Cancel
Save