From b9c11aeb129013c9123e1032d22d800d38875ffc Mon Sep 17 00:00:00 2001 From: valeros Date: Mon, 8 Jan 2024 21:41:57 +0200 Subject: [PATCH] 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