diff options
author | Glenn Ruben Bakke <glennbakke@gmail.com> | 2020-07-09 20:41:11 +0200 |
---|---|---|
committer | Glenn Ruben Bakke <glennbakke@gmail.com> | 2020-07-16 11:44:44 +0200 |
commit | b776fe69692e92497c7aae0f38dfcbe14b2ca024 (patch) | |
tree | da1a2116491b4298e0978ea3f7d48c5a9f5521f3 | |
parent | f743bd3d2581596ecc06973ffc52b429931b19fe (diff) |
nrf/nrfx_config: Disable RTC2 for nRF9160 targets.
nRF9160 does not have any RTC2. Disable the configuration in
case of NRF9160_XXAA.
-rw-r--r-- | ports/nrf/nrfx_config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/nrf/nrfx_config.h b/ports/nrf/nrfx_config.h index 19c744510..beb6b34ab 100644 --- a/ports/nrf/nrfx_config.h +++ b/ports/nrf/nrfx_config.h @@ -130,7 +130,7 @@ #define NRFX_RTC_ENABLED (MICROPY_PY_MACHINE_RTCOUNTER) #define NRFX_RTC0_ENABLED 1 #define NRFX_RTC1_ENABLED 1 -#define NRFX_RTC2_ENABLED (!NRF51) +#define NRFX_RTC2_ENABLED (!NRF51) && (!NRF9160_XXAA) #define NRFX_TIMER_ENABLED (MICROPY_PY_MACHINE_TIMER) #define NRFX_TIMER0_ENABLED 1 |