From cbd3c1c6435b6622bc7cd2eaf17a76b774c34ec7 Mon Sep 17 00:00:00 2001 From: Koen Zandberg Date: Sat, 7 Mar 2020 17:09:58 +0100 Subject: [PATCH] particle-*: Enable the nRF52 built-in DC/DC converter --- boards/particle-argon/include/periph_conf.h | 5 +++++ boards/particle-boron/include/periph_conf.h | 6 ++++++ boards/particle-xenon/include/periph_conf.h | 5 +++++ 3 files changed, 16 insertions(+) diff --git a/boards/particle-argon/include/periph_conf.h b/boards/particle-argon/include/periph_conf.h index eb11e0f2e1..571c8756ae 100644 --- a/boards/particle-argon/include/periph_conf.h +++ b/boards/particle-argon/include/periph_conf.h @@ -56,6 +56,11 @@ static const uart_conf_t uart_config[] = { #define UART_NUMOF ARRAY_SIZE(uart_config) /** @} */ +/** + * @brief Enable the internal DC/DC converter + */ +#define NRF5X_ENABLE_DCDC + #ifdef __cplusplus } #endif diff --git a/boards/particle-boron/include/periph_conf.h b/boards/particle-boron/include/periph_conf.h index 54bcbae6ba..ce5f2d97ab 100644 --- a/boards/particle-boron/include/periph_conf.h +++ b/boards/particle-boron/include/periph_conf.h @@ -55,6 +55,12 @@ static const uart_conf_t uart_config[] = { #define UART_NUMOF ARRAY_SIZE(uart_config) /** @} */ + +/** + * @brief Enable the internal DC/DC converter + */ +#define NRF5X_ENABLE_DCDC + #ifdef __cplusplus } #endif diff --git a/boards/particle-xenon/include/periph_conf.h b/boards/particle-xenon/include/periph_conf.h index 693c7d8c92..809e14bd6b 100644 --- a/boards/particle-xenon/include/periph_conf.h +++ b/boards/particle-xenon/include/periph_conf.h @@ -47,6 +47,11 @@ static const uart_conf_t uart_config[] = { #define UART_NUMOF ARRAY_SIZE(uart_config) /** @} */ +/** + * @brief Enable the internal DC/DC converter + */ +#define NRF5X_ENABLE_DCDC + #ifdef __cplusplus } #endif