From e8feba0b4c741ec82bd544700d352b225df0ef1a Mon Sep 17 00:00:00 2001 From: valeros Date: Wed, 18 Dec 2024 15:19:10 +0200 Subject: [PATCH] Update Arduino config for BluesWireless Swan R5 --- boards/bw_swan_r5.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/boards/bw_swan_r5.json b/boards/bw_swan_r5.json index 9ab5ef44..d2e91bcf 100644 --- a/boards/bw_swan_r5.json +++ b/boards/bw_swan_r5.json @@ -1,8 +1,11 @@ { "build": { + "arduino": { + "variant_h": "variant_SWAN_R5.h" + }, "core": "stm32", "cpu": "cortex-m4", - "extra_flags": "-DSTM32L4 -DSTM32L4xx -DSTM32L4R5xx", + "extra_flags": "-DARDUINO_SWAN_R5 -DSTM32L4 -DSTM32L4xx -DSTM32L4R5xx", "f_cpu": "120000000L", "framework_extra_flags": { "arduino": "-DCUSTOM_PERIPHERAL_PINS"