Skip to content

Commit

Permalink
chore: Improve consistency between Blues boards
Browse files Browse the repository at this point in the history
  • Loading branch information
zfields committed Dec 18, 2024
1 parent e8feba0 commit 6d5ff70
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
14 changes: 9 additions & 5 deletions boards/blues_cygnet.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
{
"build": {
"arduino": {
"variant_h": "variant_CYGNET.h"
},
"core": "stm32",
"cpu": "cortex-m4",
"extra_flags": "-DSTM32L4 -DSTM32L433xx",
"extra_flags": "-DARDUINO_CYGNET -DSTM32L4 -DSTM32L4xx -DSTM32L433xx",
"f_cpu": "80000000L",
"framework_extra_flags": {
"arduino": "-DCUSTOM_PERIPHERAL_PINS -DARDUINO_CYGNET -DPIO_FRAMEWORK_ARDUINO_ENABLE_CDC"
"arduino": "-DCUSTOM_PERIPHERAL_PINS -DPIO_FRAMEWORK_ARDUINO_ENABLE_CDC"
},
"mcu": "stm32l433cct6",
"product_line": "STM32L433xx",
Expand All @@ -31,13 +35,13 @@
"upload": {
"maximum_ram_size": 65536,
"maximum_size": 262144,
"protocol": "dfu",
"protocol": "stlink",
"protocols": [
"dfu",
"jlink",
"blackmagic",
"cmsis-dap",
"jlink",
"stlink",
"blackmagic",
"mbed"
]
},
Expand Down
11 changes: 8 additions & 3 deletions boards/blues_swan_r5.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"extra_flags": "-DARDUINO_SWAN_R5 -DSTM32L4 -DSTM32L4xx -DSTM32L4R5xx",
"f_cpu": "120000000L",
"framework_extra_flags": {
"arduino": "-DCUSTOM_PERIPHERAL_PINS"
"arduino": "-DCUSTOM_PERIPHERAL_PINS -DPIO_FRAMEWORK_ARDUINO_ENABLE_CDC"
},
"mcu": "stm32l4r5ziy6",
"product_line": "STM32L4R5xx",
Expand All @@ -18,13 +18,18 @@
"can"
],
"debug": {
"default_tools": [
"stlink"
],
"jlink_device": "STM32L4R5ZI",
"openocd_target": "stm32l4x",
"svd_path": "STM32L4R5.svd"
},
"frameworks": [
"arduino",
"stm32cube"
"cmsis",
"stm32cube",
"libopencm3"
],
"name": "Blues Swan R5",
"upload": {
Expand All @@ -41,6 +46,6 @@
"mbed"
]
},
"url": "https://blues.io/products/swan",
"url": "https://blues.com/products/swan/",
"vendor": "Blues"
}

0 comments on commit 6d5ff70

Please sign in to comment.