From 6db6c441db9bc66d8d7488186b5aa31ceff04c68 Mon Sep 17 00:00:00 2001 From: Khoi Hoang <57012152+khoih-prog@users.noreply.github.com> Date: Fri, 13 Aug 2021 02:26:09 -0400 Subject: [PATCH] v1.7.0 to add support to nRF52 core v0.22.0+ ### Releases v1.7.0 1. Add support to Adafruit nRF52 core v0.22.0+ 2. Add support to nRF52 Raytac MDBT50Q_RX Dongle **Warnings for Releases v1.6.0-** : Use [`Adafruit nRF52 v0.22.0+`](https://github.com/adafruit/Adafruit_nRF52_Arduino/releases/tag/0.22.0) will create **compiler errors**. If so, please use the [`Adafruit nRF52 v0.21.0`](https://github.com/adafruit/Adafruit_nRF52_Arduino/releases/tag/0.21.0). It's advisable to update to Releases v1.7.0+ --- examples/NRF52/Argument_None/Argument_None.ino | 4 ++-- examples/NRF52/Change_Interval/Change_Interval.ino | 4 ++-- examples/NRF52/FakeAnalogWrite/FakeAnalogWrite.ino | 4 ++-- examples/NRF52/ISR_16_Timers_Array/ISR_16_Timers_Array.ino | 4 ++-- .../ISR_16_Timers_Array_Complex.ino | 4 ++-- examples/NRF52/ISR_RPM_Measure/ISR_RPM_Measure.ino | 5 +++-- .../ISR_Timer_Complex_Ethernet.ino | 4 ++-- .../ISR_Timer_Complex_WiFiNINA.ino | 4 ++-- examples/NRF52/RPM_Measure/RPM_Measure.ino | 4 ++-- examples/NRF52/SwitchDebounce/SwitchDebounce.ino | 4 ++-- .../NRF52/TimerInterruptLEDDemo/TimerInterruptLEDDemo.ino | 4 ++-- examples/NRF52/TimerInterruptTest/TimerInterruptTest.ino | 4 ++-- 12 files changed, 25 insertions(+), 24 deletions(-) diff --git a/examples/NRF52/Argument_None/Argument_None.ino b/examples/NRF52/Argument_None/Argument_None.ino index 784eedda..8f69dabc 100644 --- a/examples/NRF52/Argument_None/Argument_None.ino +++ b/examples/NRF52/Argument_None/Argument_None.ino @@ -34,8 +34,8 @@ #if !(defined(NRF52840_FEATHER) || defined(NRF52832_FEATHER) || defined(NRF52_SERIES) || defined(ARDUINO_NRF52_ADAFRUIT) || \ defined(NRF52840_FEATHER_SENSE) || defined(NRF52840_ITSYBITSY) || defined(NRF52840_CIRCUITPLAY) || \ - defined(NRF52840_CLUE) || defined(NRF52840_METRO) || defined(NRF52840_PCA10056) || defined(PARTICLE_XENON) \ - || defined(NINA_B302_ublox) || defined(NINA_B112_ublox) ) + defined(NRF52840_CLUE) || defined(NRF52840_METRO) || defined(NRF52840_PCA10056) || defined(PARTICLE_XENON) || \ + defined(MDBT50Q_RX) || defined(NINA_B302_ublox) || defined(NINA_B112_ublox) ) #error This code is designed to run on nRF52 platform! Please check your Tools->Board setting. #endif diff --git a/examples/NRF52/Change_Interval/Change_Interval.ino b/examples/NRF52/Change_Interval/Change_Interval.ino index de6cc1c4..11fd245a 100644 --- a/examples/NRF52/Change_Interval/Change_Interval.ino +++ b/examples/NRF52/Change_Interval/Change_Interval.ino @@ -34,8 +34,8 @@ #if !(defined(NRF52840_FEATHER) || defined(NRF52832_FEATHER) || defined(NRF52_SERIES) || defined(ARDUINO_NRF52_ADAFRUIT) || \ defined(NRF52840_FEATHER_SENSE) || defined(NRF52840_ITSYBITSY) || defined(NRF52840_CIRCUITPLAY) || \ - defined(NRF52840_CLUE) || defined(NRF52840_METRO) || defined(NRF52840_PCA10056) || defined(PARTICLE_XENON) \ - || defined(NINA_B302_ublox) || defined(NINA_B112_ublox) ) + defined(NRF52840_CLUE) || defined(NRF52840_METRO) || defined(NRF52840_PCA10056) || defined(PARTICLE_XENON) || \ + defined(MDBT50Q_RX) || defined(NINA_B302_ublox) || defined(NINA_B112_ublox) ) #error This code is designed to run on nRF52 platform! Please check your Tools->Board setting. #endif diff --git a/examples/NRF52/FakeAnalogWrite/FakeAnalogWrite.ino b/examples/NRF52/FakeAnalogWrite/FakeAnalogWrite.ino index aa2958b1..63881d66 100644 --- a/examples/NRF52/FakeAnalogWrite/FakeAnalogWrite.ino +++ b/examples/NRF52/FakeAnalogWrite/FakeAnalogWrite.ino @@ -41,8 +41,8 @@ #if !(defined(NRF52840_FEATHER) || defined(NRF52832_FEATHER) || defined(NRF52_SERIES) || defined(ARDUINO_NRF52_ADAFRUIT) || \ defined(NRF52840_FEATHER_SENSE) || defined(NRF52840_ITSYBITSY) || defined(NRF52840_CIRCUITPLAY) || \ - defined(NRF52840_CLUE) || defined(NRF52840_METRO) || defined(NRF52840_PCA10056) || defined(PARTICLE_XENON) \ - || defined(NINA_B302_ublox) || defined(NINA_B112_ublox) ) + defined(NRF52840_CLUE) || defined(NRF52840_METRO) || defined(NRF52840_PCA10056) || defined(PARTICLE_XENON) || \ + defined(MDBT50Q_RX) || defined(NINA_B302_ublox) || defined(NINA_B112_ublox) ) #error This code is designed to run on nRF52 platform! Please check your Tools->Board setting. #endif diff --git a/examples/NRF52/ISR_16_Timers_Array/ISR_16_Timers_Array.ino b/examples/NRF52/ISR_16_Timers_Array/ISR_16_Timers_Array.ino index d56c12fb..36d1558b 100644 --- a/examples/NRF52/ISR_16_Timers_Array/ISR_16_Timers_Array.ino +++ b/examples/NRF52/ISR_16_Timers_Array/ISR_16_Timers_Array.ino @@ -50,8 +50,8 @@ #if !(defined(NRF52840_FEATHER) || defined(NRF52832_FEATHER) || defined(NRF52_SERIES) || defined(ARDUINO_NRF52_ADAFRUIT) || \ defined(NRF52840_FEATHER_SENSE) || defined(NRF52840_ITSYBITSY) || defined(NRF52840_CIRCUITPLAY) || \ - defined(NRF52840_CLUE) || defined(NRF52840_METRO) || defined(NRF52840_PCA10056) || defined(PARTICLE_XENON) \ - || defined(NINA_B302_ublox) || defined(NINA_B112_ublox) ) + defined(NRF52840_CLUE) || defined(NRF52840_METRO) || defined(NRF52840_PCA10056) || defined(PARTICLE_XENON) || \ + defined(MDBT50Q_RX) || defined(NINA_B302_ublox) || defined(NINA_B112_ublox) ) #error This code is designed to run on nRF52 platform! Please check your Tools->Board setting. #endif diff --git a/examples/NRF52/ISR_16_Timers_Array_Complex/ISR_16_Timers_Array_Complex.ino b/examples/NRF52/ISR_16_Timers_Array_Complex/ISR_16_Timers_Array_Complex.ino index 1820dad5..a8133c0c 100644 --- a/examples/NRF52/ISR_16_Timers_Array_Complex/ISR_16_Timers_Array_Complex.ino +++ b/examples/NRF52/ISR_16_Timers_Array_Complex/ISR_16_Timers_Array_Complex.ino @@ -41,8 +41,8 @@ #if !(defined(NRF52840_FEATHER) || defined(NRF52832_FEATHER) || defined(NRF52_SERIES) || defined(ARDUINO_NRF52_ADAFRUIT) || \ defined(NRF52840_FEATHER_SENSE) || defined(NRF52840_ITSYBITSY) || defined(NRF52840_CIRCUITPLAY) || \ - defined(NRF52840_CLUE) || defined(NRF52840_METRO) || defined(NRF52840_PCA10056) || defined(PARTICLE_XENON) \ - || defined(NINA_B302_ublox) || defined(NINA_B112_ublox) ) + defined(NRF52840_CLUE) || defined(NRF52840_METRO) || defined(NRF52840_PCA10056) || defined(PARTICLE_XENON) || \ + defined(MDBT50Q_RX) || defined(NINA_B302_ublox) || defined(NINA_B112_ublox) ) #error This code is designed to run on nRF52 platform! Please check your Tools->Board setting. #endif diff --git a/examples/NRF52/ISR_RPM_Measure/ISR_RPM_Measure.ino b/examples/NRF52/ISR_RPM_Measure/ISR_RPM_Measure.ino index 11f6785d..83255505 100644 --- a/examples/NRF52/ISR_RPM_Measure/ISR_RPM_Measure.ino +++ b/examples/NRF52/ISR_RPM_Measure/ISR_RPM_Measure.ino @@ -42,8 +42,9 @@ */ #if !(defined(NRF52840_FEATHER) || defined(NRF52832_FEATHER) || defined(NRF52_SERIES) || defined(ARDUINO_NRF52_ADAFRUIT) || \ - defined(NRF52840_FEATHER_SENSE) || defined(NRF52840_ITSYBITSY) || defined(NRF52840_CIRCUITPLAY) || defined(NRF52840_CLUE) || \ - defined(NRF52840_METRO) || defined(NRF52840_PCA10056) || defined(PARTICLE_XENON) || defined(NINA_B302_ublox) || defined(NINA_B112_ublox) ) + defined(NRF52840_FEATHER_SENSE) || defined(NRF52840_ITSYBITSY) || defined(NRF52840_CIRCUITPLAY) || \ + defined(NRF52840_CLUE) || defined(NRF52840_METRO) || defined(NRF52840_PCA10056) || defined(PARTICLE_XENON) || \ + defined(MDBT50Q_RX) || defined(NINA_B302_ublox) || defined(NINA_B112_ublox) ) #error This code is designed to run on nRF52 platform! Please check your Tools->Board setting. #endif diff --git a/examples/NRF52/ISR_Timer_Complex_Ethernet/ISR_Timer_Complex_Ethernet.ino b/examples/NRF52/ISR_Timer_Complex_Ethernet/ISR_Timer_Complex_Ethernet.ino index 68465499..67ada48f 100644 --- a/examples/NRF52/ISR_Timer_Complex_Ethernet/ISR_Timer_Complex_Ethernet.ino +++ b/examples/NRF52/ISR_Timer_Complex_Ethernet/ISR_Timer_Complex_Ethernet.ino @@ -50,8 +50,8 @@ #if !(defined(NRF52840_FEATHER) || defined(NRF52832_FEATHER) || defined(NRF52_SERIES) || defined(ARDUINO_NRF52_ADAFRUIT) || \ defined(NRF52840_FEATHER_SENSE) || defined(NRF52840_ITSYBITSY) || defined(NRF52840_CIRCUITPLAY) || \ - defined(NRF52840_CLUE) || defined(NRF52840_METRO) || defined(NRF52840_PCA10056) || defined(PARTICLE_XENON) \ - || defined(NINA_B302_ublox) || defined(NINA_B112_ublox) ) + defined(NRF52840_CLUE) || defined(NRF52840_METRO) || defined(NRF52840_PCA10056) || defined(PARTICLE_XENON) || \ + defined(MDBT50Q_RX) || defined(NINA_B302_ublox) || defined(NINA_B112_ublox) ) #error This code is designed to run on nRF52 platform! Please check your Tools->Board setting. #endif diff --git a/examples/NRF52/ISR_Timer_Complex_WiFiNINA/ISR_Timer_Complex_WiFiNINA.ino b/examples/NRF52/ISR_Timer_Complex_WiFiNINA/ISR_Timer_Complex_WiFiNINA.ino index bf1a63e7..d5c36bb9 100644 --- a/examples/NRF52/ISR_Timer_Complex_WiFiNINA/ISR_Timer_Complex_WiFiNINA.ino +++ b/examples/NRF52/ISR_Timer_Complex_WiFiNINA/ISR_Timer_Complex_WiFiNINA.ino @@ -50,8 +50,8 @@ #if !(defined(NRF52840_FEATHER) || defined(NRF52832_FEATHER) || defined(NRF52_SERIES) || defined(ARDUINO_NRF52_ADAFRUIT) || \ defined(NRF52840_FEATHER_SENSE) || defined(NRF52840_ITSYBITSY) || defined(NRF52840_CIRCUITPLAY) || \ - defined(NRF52840_CLUE) || defined(NRF52840_METRO) || defined(NRF52840_PCA10056) || defined(PARTICLE_XENON) \ - || defined(NINA_B302_ublox) || defined(NINA_B112_ublox) ) + defined(NRF52840_CLUE) || defined(NRF52840_METRO) || defined(NRF52840_PCA10056) || defined(PARTICLE_XENON) || \ + defined(MDBT50Q_RX) || defined(NINA_B302_ublox) || defined(NINA_B112_ublox) ) #error This code is designed to run on nRF52 platform! Please check your Tools->Board setting. #endif diff --git a/examples/NRF52/RPM_Measure/RPM_Measure.ino b/examples/NRF52/RPM_Measure/RPM_Measure.ino index 965458e7..fbe51a69 100644 --- a/examples/NRF52/RPM_Measure/RPM_Measure.ino +++ b/examples/NRF52/RPM_Measure/RPM_Measure.ino @@ -51,8 +51,8 @@ #if !(defined(NRF52840_FEATHER) || defined(NRF52832_FEATHER) || defined(NRF52_SERIES) || defined(ARDUINO_NRF52_ADAFRUIT) || \ defined(NRF52840_FEATHER_SENSE) || defined(NRF52840_ITSYBITSY) || defined(NRF52840_CIRCUITPLAY) || \ - defined(NRF52840_CLUE) || defined(NRF52840_METRO) || defined(NRF52840_PCA10056) || defined(PARTICLE_XENON) \ - || defined(NINA_B302_ublox) || defined(NINA_B112_ublox) ) + defined(NRF52840_CLUE) || defined(NRF52840_METRO) || defined(NRF52840_PCA10056) || defined(PARTICLE_XENON) || \ + defined(MDBT50Q_RX) || defined(NINA_B302_ublox) || defined(NINA_B112_ublox) ) #error This code is designed to run on nRF52 platform! Please check your Tools->Board setting. #endif diff --git a/examples/NRF52/SwitchDebounce/SwitchDebounce.ino b/examples/NRF52/SwitchDebounce/SwitchDebounce.ino index 376aff8d..602fe69e 100644 --- a/examples/NRF52/SwitchDebounce/SwitchDebounce.ino +++ b/examples/NRF52/SwitchDebounce/SwitchDebounce.ino @@ -39,8 +39,8 @@ #if !(defined(NRF52840_FEATHER) || defined(NRF52832_FEATHER) || defined(NRF52_SERIES) || defined(ARDUINO_NRF52_ADAFRUIT) || \ defined(NRF52840_FEATHER_SENSE) || defined(NRF52840_ITSYBITSY) || defined(NRF52840_CIRCUITPLAY) || \ - defined(NRF52840_CLUE) || defined(NRF52840_METRO) || defined(NRF52840_PCA10056) || defined(PARTICLE_XENON) \ - || defined(NINA_B302_ublox) || defined(NINA_B112_ublox) ) + defined(NRF52840_CLUE) || defined(NRF52840_METRO) || defined(NRF52840_PCA10056) || defined(PARTICLE_XENON) || \ + defined(MDBT50Q_RX) || defined(NINA_B302_ublox) || defined(NINA_B112_ublox) ) #error This code is designed to run on nRF52 platform! Please check your Tools->Board setting. #endif diff --git a/examples/NRF52/TimerInterruptLEDDemo/TimerInterruptLEDDemo.ino b/examples/NRF52/TimerInterruptLEDDemo/TimerInterruptLEDDemo.ino index 65a7d1b8..964fc901 100644 --- a/examples/NRF52/TimerInterruptLEDDemo/TimerInterruptLEDDemo.ino +++ b/examples/NRF52/TimerInterruptLEDDemo/TimerInterruptLEDDemo.ino @@ -34,8 +34,8 @@ #if !(defined(NRF52840_FEATHER) || defined(NRF52832_FEATHER) || defined(NRF52_SERIES) || defined(ARDUINO_NRF52_ADAFRUIT) || \ defined(NRF52840_FEATHER_SENSE) || defined(NRF52840_ITSYBITSY) || defined(NRF52840_CIRCUITPLAY) || \ - defined(NRF52840_CLUE) || defined(NRF52840_METRO) || defined(NRF52840_PCA10056) || defined(PARTICLE_XENON) \ - || defined(NINA_B302_ublox) || defined(NINA_B112_ublox) ) + defined(NRF52840_CLUE) || defined(NRF52840_METRO) || defined(NRF52840_PCA10056) || defined(PARTICLE_XENON) || \ + defined(MDBT50Q_RX) || defined(NINA_B302_ublox) || defined(NINA_B112_ublox) ) #error This code is designed to run on nRF52 platform! Please check your Tools->Board setting. #endif diff --git a/examples/NRF52/TimerInterruptTest/TimerInterruptTest.ino b/examples/NRF52/TimerInterruptTest/TimerInterruptTest.ino index 761a7359..6c38663f 100644 --- a/examples/NRF52/TimerInterruptTest/TimerInterruptTest.ino +++ b/examples/NRF52/TimerInterruptTest/TimerInterruptTest.ino @@ -33,8 +33,8 @@ #if !(defined(NRF52840_FEATHER) || defined(NRF52832_FEATHER) || defined(NRF52_SERIES) || defined(ARDUINO_NRF52_ADAFRUIT) || \ defined(NRF52840_FEATHER_SENSE) || defined(NRF52840_ITSYBITSY) || defined(NRF52840_CIRCUITPLAY) || \ - defined(NRF52840_CLUE) || defined(NRF52840_METRO) || defined(NRF52840_PCA10056) || defined(PARTICLE_XENON) \ - || defined(NINA_B302_ublox) || defined(NINA_B112_ublox) ) + defined(NRF52840_CLUE) || defined(NRF52840_METRO) || defined(NRF52840_PCA10056) || defined(PARTICLE_XENON) || \ + defined(MDBT50Q_RX) || defined(NINA_B302_ublox) || defined(NINA_B112_ublox) ) #error This code is designed to run on nRF52 platform! Please check your Tools->Board setting. #endif