Skip to content

Commit 0de87ed

Browse files
authored
Improve consistency between Blues boards (#824)
1 parent e8feba0 commit 0de87ed

File tree

2 files changed

+18
-9
lines changed

2 files changed

+18
-9
lines changed

boards/blues_cygnet.json

+9-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
{
22
"build": {
3+
"arduino": {
4+
"variant_h": "variant_CYGNET.h"
5+
},
6+
"core": "stm32",
37
"cpu": "cortex-m4",
4-
"extra_flags": "-DSTM32L4 -DSTM32L433xx",
8+
"extra_flags": "-DSTM32L4 -DSTM32L4xx -DSTM32L433xx",
59
"f_cpu": "80000000L",
610
"framework_extra_flags": {
7-
"arduino": "-DCUSTOM_PERIPHERAL_PINS -DARDUINO_CYGNET -DPIO_FRAMEWORK_ARDUINO_ENABLE_CDC"
11+
"arduino": "-DARDUINO_CYGNET -DCUSTOM_PERIPHERAL_PINS"
812
},
913
"mcu": "stm32l433cct6",
1014
"product_line": "STM32L433xx",
@@ -31,13 +35,13 @@
3135
"upload": {
3236
"maximum_ram_size": 65536,
3337
"maximum_size": 262144,
34-
"protocol": "dfu",
38+
"protocol": "stlink",
3539
"protocols": [
3640
"dfu",
37-
"jlink",
41+
"blackmagic",
3842
"cmsis-dap",
43+
"jlink",
3944
"stlink",
40-
"blackmagic",
4145
"mbed"
4246
]
4347
},

boards/blues_swan_r5.json

+9-4
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
},
66
"core": "stm32",
77
"cpu": "cortex-m4",
8-
"extra_flags": "-DARDUINO_SWAN_R5 -DSTM32L4 -DSTM32L4xx -DSTM32L4R5xx",
8+
"extra_flags": "-DSTM32L4 -DSTM32L4xx -DSTM32L4R5xx",
99
"f_cpu": "120000000L",
1010
"framework_extra_flags": {
11-
"arduino": "-DCUSTOM_PERIPHERAL_PINS"
11+
"arduino": "-DARDUINO_SWAN_R5 -DCUSTOM_PERIPHERAL_PINS"
1212
},
1313
"mcu": "stm32l4r5ziy6",
1414
"product_line": "STM32L4R5xx",
@@ -18,13 +18,18 @@
1818
"can"
1919
],
2020
"debug": {
21+
"default_tools": [
22+
"stlink"
23+
],
2124
"jlink_device": "STM32L4R5ZI",
2225
"openocd_target": "stm32l4x",
2326
"svd_path": "STM32L4R5.svd"
2427
},
2528
"frameworks": [
2629
"arduino",
27-
"stm32cube"
30+
"cmsis",
31+
"stm32cube",
32+
"libopencm3"
2833
],
2934
"name": "Blues Swan R5",
3035
"upload": {
@@ -41,6 +46,6 @@
4146
"mbed"
4247
]
4348
},
44-
"url": "https://blues.io/products/swan",
49+
"url": "https://blues.com/products/swan/",
4550
"vendor": "Blues"
4651
}

0 commit comments

Comments
 (0)