Added ARDUINO_ARCH_NRF52 to support Seeed XIAO nRF52840 Sense

This commit is contained in:
Armin 2023-07-25 11:05:59 +02:00
parent a3423854f5
commit b9e2157d27
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ See also the commit log at github: https://github.com/Arduino-IRremote/Arduino-I
- Enable Bang&Olufsen 455 kHz if SEND_PWM_BY_TIMER is defined.
- Fixed bug: TinyReceiver throwing ISR not in IRAM on ESP8266.
- Usage of ATTinyCore pin numbering scheme e.g. PIN_PB2.
- Added ARDUINO_ARCH_NRF52 to support Seeed XIAO nRF52840 Sense.
## 4.1.2
- Workaround for ESP32 RTOS delay() timing bug influencing the mark() function.

View File

@ -1695,7 +1695,7 @@ void timerConfigForSend(uint16_t aFrequencyKHz) {
/***************************************
* NRF5 boards like the BBC:Micro
***************************************/
#elif defined(NRF5) || defined(ARDUINO_ARCH_NRF52840)
#elif defined(NRF5) || defined(ARDUINO_ARCH_NRF52840) || defined(ARDUINO_ARCH_NRF52)
# if defined(SEND_PWM_BY_TIMER)
#error PWM generation by hardware not implemented for NRF5
# endif