From 30e747760aaa3124fc57e1e2b0ced25bf9600b3b Mon Sep 17 00:00:00 2001 From: Ben Cooke Date: Fri, 19 Jul 2019 13:24:12 -0500 Subject: [PATCH] NRF52840: enable TRNG in Nordic SDK config --- .../TARGET_NRF52/TARGET_MCU_NRF52840/config/sdk_config.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/TARGET_MCU_NRF52840/config/sdk_config.h b/targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/TARGET_MCU_NRF52840/config/sdk_config.h index ab33c47dc6..b595f21deb 100644 --- a/targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/TARGET_MCU_NRF52840/config/sdk_config.h +++ b/targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/TARGET_MCU_NRF52840/config/sdk_config.h @@ -1047,7 +1047,7 @@ // The nRF HW backend provide access to RNG peripheral in nRF5x devices. //========================================================== #ifndef NRF_CRYPTO_BACKEND_NRF_HW_RNG_ENABLED -#define NRF_CRYPTO_BACKEND_NRF_HW_RNG_ENABLED 0 +#define NRF_CRYPTO_BACKEND_NRF_HW_RNG_ENABLED 1 #endif // NRF_CRYPTO_BACKEND_NRF_HW_RNG_MBEDTLS_CTR_DRBG_ENABLED - Enable mbed TLS CTR-DRBG algorithm. @@ -2921,7 +2921,7 @@ // NRFX_RNG_ENABLED - nrfx_rng - RNG peripheral driver //========================================================== #ifndef NRFX_RNG_ENABLED -#define NRFX_RNG_ENABLED 0 +#define NRFX_RNG_ENABLED 1 #endif // NRFX_RNG_CONFIG_ERROR_CORRECTION - Error correction @@ -4953,7 +4953,7 @@ // RNG_ENABLED - nrf_drv_rng - RNG peripheral driver - legacy layer //========================================================== #ifndef RNG_ENABLED -#define RNG_ENABLED 0 +#define RNG_ENABLED 1 #endif // RNG_CONFIG_ERROR_CORRECTION - Error correction @@ -6848,7 +6848,7 @@ // NRF_QUEUE_ENABLED - nrf_queue - Queue module //========================================================== #ifndef NRF_QUEUE_ENABLED -#define NRF_QUEUE_ENABLED 0 +#define NRF_QUEUE_ENABLED 1 #endif // NRF_QUEUE_CLI_CMDS - Enable CLI commands specific to the module