Skip to content

Commit 0d6a3be

Browse files
author
Seppo Takalo
authored
Merge pull request #11079 from bentcooke/52840_patch3
NRF52840: enable TRNG in Nordic SDK config
2 parents 5aff943 + 36bd06c commit 0d6a3be

File tree

1 file changed

+4
-4
lines changed
  • targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/TARGET_MCU_NRF52840/config

1 file changed

+4
-4
lines changed

targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/TARGET_MCU_NRF52840/config/sdk_config.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,7 @@
10471047
// <i> The nRF HW backend provide access to RNG peripheral in nRF5x devices.
10481048
//==========================================================
10491049
#ifndef NRF_CRYPTO_BACKEND_NRF_HW_RNG_ENABLED
1050-
#define NRF_CRYPTO_BACKEND_NRF_HW_RNG_ENABLED 0
1050+
#define NRF_CRYPTO_BACKEND_NRF_HW_RNG_ENABLED 1
10511051
#endif
10521052
// <q> NRF_CRYPTO_BACKEND_NRF_HW_RNG_MBEDTLS_CTR_DRBG_ENABLED - Enable mbed TLS CTR-DRBG algorithm.
10531053

@@ -2921,7 +2921,7 @@
29212921
// <e> NRFX_RNG_ENABLED - nrfx_rng - RNG peripheral driver
29222922
//==========================================================
29232923
#ifndef NRFX_RNG_ENABLED
2924-
#define NRFX_RNG_ENABLED 0
2924+
#define NRFX_RNG_ENABLED 1
29252925
#endif
29262926
// <q> NRFX_RNG_CONFIG_ERROR_CORRECTION - Error correction
29272927

@@ -4953,7 +4953,7 @@
49534953
// <e> RNG_ENABLED - nrf_drv_rng - RNG peripheral driver - legacy layer
49544954
//==========================================================
49554955
#ifndef RNG_ENABLED
4956-
#define RNG_ENABLED 0
4956+
#define RNG_ENABLED 1
49574957
#endif
49584958
// <q> RNG_CONFIG_ERROR_CORRECTION - Error correction
49594959

@@ -6848,7 +6848,7 @@
68486848
// <e> NRF_QUEUE_ENABLED - nrf_queue - Queue module
68496849
//==========================================================
68506850
#ifndef NRF_QUEUE_ENABLED
6851-
#define NRF_QUEUE_ENABLED 0
6851+
#define NRF_QUEUE_ENABLED 1
68526852
#endif
68536853
// <q> NRF_QUEUE_CLI_CMDS - Enable CLI commands specific to the module
68546854

0 commit comments

Comments
 (0)