From 098fb5f39cd4481e708580bf637c9f3e64deb119 Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Sun, 30 Aug 2020 14:35:55 +0200 Subject: [PATCH] nrf52840: add build tags for SoftDevice support The SoftDevice should already be installed on these chips. Adding the right build tags makes them work with the bluetooth package. I did not change the HasLowFrequencyCrystal property: all these boards use the MDBT50Q which appears to include a low-frequency oscillator. That is, I tested the ItsyBitsy nRF52840 with the property set to true and advertisement worked just fine. --- targets/clue_alpha.json | 2 +- targets/feather-nrf52840.json | 2 +- targets/itsybitsy-nrf52840.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/targets/clue_alpha.json b/targets/clue_alpha.json index 5f396adb..cd28f787 100644 --- a/targets/clue_alpha.json +++ b/targets/clue_alpha.json @@ -1,6 +1,6 @@ { "inherits": ["nrf52840"], - "build-tags": ["clue_alpha","nrf52840_reset_uf2"], + "build-tags": ["clue_alpha","nrf52840_reset_uf2", "softdevice", "s140v6"], "flash-1200-bps-reset": "true", "flash-method": "msd", "msd-volume-name": "FTHR840BOOT", diff --git a/targets/feather-nrf52840.json b/targets/feather-nrf52840.json index 397f6e35..f0b70618 100644 --- a/targets/feather-nrf52840.json +++ b/targets/feather-nrf52840.json @@ -1,6 +1,6 @@ { "inherits": ["nrf52840"], - "build-tags": ["feather_nrf52840","nrf52840_reset_uf2"], + "build-tags": ["feather_nrf52840","nrf52840_reset_uf2", "softdevice", "s140v6"], "flash-1200-bps-reset": "true", "flash-method": "msd", "msd-volume-name": "FTHR840BOOT", diff --git a/targets/itsybitsy-nrf52840.json b/targets/itsybitsy-nrf52840.json index caa33b6a..b8637fd0 100644 --- a/targets/itsybitsy-nrf52840.json +++ b/targets/itsybitsy-nrf52840.json @@ -1,6 +1,6 @@ { "inherits": ["nrf52840"], - "build-tags": ["itsybitsy_nrf52840","nrf52840_reset_uf2"], + "build-tags": ["itsybitsy_nrf52840","nrf52840_reset_uf2", "softdevice", "s140v6"], "flash-1200-bps-reset": "true", "flash-method": "msd", "msd-volume-name": "ITSY840BOOT",