Skip to content

Commit c2f2a9a

Browse files
tejlmandrlubos
authored andcommitted
sample: lwm2m carrier entropy dependency
Added dependency to ensure a true entropy driver is available Signed-off-by: Torsten Rasmussen <[email protected]>
1 parent db0ef18 commit c2f2a9a

File tree

4 files changed

+1
-10
lines changed

4 files changed

+1
-10
lines changed

lib/lwm2m_carrier/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ menuconfig LWM2M_CARRIER
99
depends on NEWLIB_LIBC
1010
depends on BSD_LIBRARY && !BSD_LIBRARY_SYS_INIT
1111
# Need a source of entropy
12-
depends on TEST_RANDOM_GENERATOR
12+
depends on ENTROPY_HAS_DRIVER
1313
# Flash settings
1414
depends on FLASH && FLASH_PAGE_LAYOUT
1515
depends on MPU_ALLOW_FLASH_WRITE

samples/nrf9160/coap_client/overlay-carrier.conf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ CONFIG_LWM2M_CARRIER=y
99
# The library requires newlibc
1010
CONFIG_NEWLIB_LIBC=y
1111

12-
# The library needs a source of entropy
13-
CONFIG_TEST_RANDOM_GENERATOR=y
14-
1512
CONFIG_BSD_LIBRARY=y
1613
CONFIG_BSD_LIBRARY_SYS_INIT=n
1714

samples/nrf9160/lwm2m_carrier/prj.conf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ CONFIG_LWM2M_CARRIER=y
99
# The library requires newlibc
1010
CONFIG_NEWLIB_LIBC=y
1111

12-
# The library needs a source of entropy
13-
CONFIG_TEST_RANDOM_GENERATOR=y
14-
1512
CONFIG_BSD_LIBRARY=y
1613
CONFIG_BSD_LIBRARY_SYS_INIT=n
1714

samples/nrf9160/mqtt_simple/overlay-carrier.conf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ CONFIG_LWM2M_CARRIER=y
99
# The library requires newlibc
1010
CONFIG_NEWLIB_LIBC=y
1111

12-
# The library needs a source of entropy
13-
CONFIG_TEST_RANDOM_GENERATOR=y
14-
1512
CONFIG_BSD_LIBRARY=y
1613
CONFIG_BSD_LIBRARY_SYS_INIT=n
1714

0 commit comments

Comments
 (0)