From b9c11aeb129013c9123e1032d22d800d38875ffc Mon Sep 17 00:00:00 2001 From: valeros Date: Mon, 8 Jan 2024 21:41:57 +0200 Subject: [PATCH 1/5] Add new board Calliope Mini v3 --- boards/calliopemini_v3.json | 45 +++++++++++++++++++++++++++ examples/arduino-blink/platformio.ini | 4 +-- 2 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 boards/calliopemini_v3.json diff --git a/boards/calliopemini_v3.json b/boards/calliopemini_v3.json new file mode 100644 index 0000000..8f54a01 --- /dev/null +++ b/boards/calliopemini_v3.json @@ -0,0 +1,45 @@ +{ + "build": { + "arduino": { + "ldscript": "nrf52833_xxaa.ld" + }, + "core": "nRF5", + "cpu": "cortex-m4", + "extra_flags": "-DNRF52833_XXAA -DARDUINO_CALLIOPE_MINI_V3", + "f_cpu": "64000000", + "hwids": [ + [ + "0x0D28", + "0x0204" + ] + ], + "mcu": "nrf52833", + "usb_product": "CalliopeMiniV3", + "variant": "CalliopeminiV3" + }, + "debug": { + "svd_path": "nrf52.svd", + "openocd_extra_args": [ + "-c", + "transport select swd;" + ], + "jlink_device": "nRF52833_xxAA" + }, + "frameworks": [ + "arduino" + ], + "name": "Calliope Mini v3", + "upload": { + "maximum_ram_size": 131072, + "maximum_size": 524288, + "protocol": "cmsis-dap", + "protocols": [ + "blackmagic", + "cmsis-dap", + "jlink", + "stlink" + ] + }, + "url": "https://calliope.cc", + "vendor": "Calliope" +} diff --git a/examples/arduino-blink/platformio.ini b/examples/arduino-blink/platformio.ini index 3f01755..b3bef13 100644 --- a/examples/arduino-blink/platformio.ini +++ b/examples/arduino-blink/platformio.ini @@ -12,10 +12,10 @@ platform = nordicnrf52 framework = arduino board = bbcmicrobit_v2 -[env:dwm1001_dev] +[env:calliopemini_v3] platform = nordicnrf52 framework = arduino -board = dwm1001_dev +board = calliopemini_v3 [env:nrf52_dk] platform = nordicnrf52 From a4c82fe33db8e90fae8fea87c1016247f36f2964 Mon Sep 17 00:00:00 2001 From: valeros Date: Tue, 9 Jan 2024 14:02:29 +0200 Subject: [PATCH 2/5] Add missing default clock source define Resolves #189 --- boards/bbcmicrobit_v2.json | 2 +- boards/calliopemini_v3.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/bbcmicrobit_v2.json b/boards/bbcmicrobit_v2.json index b2005c3..805dd58 100644 --- a/boards/bbcmicrobit_v2.json +++ b/boards/bbcmicrobit_v2.json @@ -5,7 +5,7 @@ }, "core": "nRF5", "cpu": "cortex-m4", - "extra_flags": "-DARDUINO_BBC_MICROBIT_V2 -DNRF52833_XXAA", + "extra_flags": "-DARDUINO_BBC_MICROBIT_V2 -DNRF52833_XXAA -DUSE_LFSYNT", "f_cpu": "64000000L", "mcu": "nrf52833", "variant": "BBCmicrobitV2", diff --git a/boards/calliopemini_v3.json b/boards/calliopemini_v3.json index 8f54a01..e62309f 100644 --- a/boards/calliopemini_v3.json +++ b/boards/calliopemini_v3.json @@ -5,7 +5,7 @@ }, "core": "nRF5", "cpu": "cortex-m4", - "extra_flags": "-DNRF52833_XXAA -DARDUINO_CALLIOPE_MINI_V3", + "extra_flags": "-DNRF52833_XXAA -DARDUINO_CALLIOPE_MINI_V3 -DUSE_LFSYNT", "f_cpu": "64000000", "hwids": [ [ From 08eb2db53bcce23b2490547add390e9f100ecf5a Mon Sep 17 00:00:00 2001 From: valeros Date: Mon, 19 Feb 2024 13:07:51 +0200 Subject: [PATCH 3/5] Update arduino-nRF5 core to v0.8.0 --- platform.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.json b/platform.json index 77cfa9d..efe56ba 100644 --- a/platform.json +++ b/platform.json @@ -60,7 +60,7 @@ "type": "framework", "optional": true, "owner": "platformio", - "version": "~1.700.0" + "version": "~1.800.0" }, "framework-arduino-mbed": { "type": "framework", From d552b15276865d4898fdf171c684e0f53bc9c37b Mon Sep 17 00:00:00 2001 From: valeros Date: Mon, 19 Feb 2024 15:19:03 +0200 Subject: [PATCH 4/5] Update Arduino-mbed core to v4.1.1 --- platform.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.json b/platform.json index efe56ba..62f62fb 100644 --- a/platform.json +++ b/platform.json @@ -66,7 +66,7 @@ "type": "framework", "optional": true, "owner": "platformio", - "version": "~4.0.10" + "version": "~4.1.1" }, "framework-cmsis": { "type": "framework", From 815a863ed2c87d994e5d0aea8e3649345a512f03 Mon Sep 17 00:00:00 2001 From: valeros Date: Tue, 27 Feb 2024 15:13:45 +0200 Subject: [PATCH 5/5] Bump version to 10.4.0 --- platform.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.json b/platform.json index 62f62fb..98619d1 100644 --- a/platform.json +++ b/platform.json @@ -18,7 +18,7 @@ "type": "git", "url": "https://github.com/platformio/platform-nordicnrf52.git" }, - "version": "10.3.0", + "version": "10.4.0", "frameworks": { "arduino": { "package": "framework-arduinonordicnrf5",