Skip to content

Commit

Permalink
ble: Ensure HCI rng not used for peripheral/central UART samples
Browse files Browse the repository at this point in the history
-Fixes issues with nRF54H20 and nRF5340dk in upmerge. This can be
 seen as a workaround
-Adjusting board-files for central_uart and peripheral_uart
 for nRF5340 and nRFH20 cpuapp

Signed-off-by: Frank Audun Kvamtrø <[email protected]>
  • Loading branch information
frkv committed Feb 7, 2025
1 parent bd3de03 commit 6e54abd
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#
# Copyright (c) 2025 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
################################################################################

# Don't get entropy from HCI on nRF5340 devices
CONFIG_BT_HOST_CRYPTO_PRNG=y
CONFIG_ENTROPY_BT_HCI=n

Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@

# Disable the unsupported driver
CONFIG_NRFX_UARTE0=n

# Don't get entropy from HCI on nRF54H20 devices
CONFIG_BT_HOST_CRYPTO_PRNG=y
CONFIG_ENTROPY_BT_HCI=n
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#
# Copyright (c) 2025 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

# Don't get entropy from HCI on nRF5340 devices
CONFIG_BT_HOST_CRYPTO_PRNG=y
CONFIG_ENTROPY_BT_HCI=n
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@

# Disable the unspupported UART0 driver
CONFIG_NRFX_UARTE0=n

# Don't get entropy from HCI on nRF54H20 devices
CONFIG_BT_HOST_CRYPTO_PRNG=y
CONFIG_ENTROPY_BT_HCI=n

0 comments on commit 6e54abd

Please sign in to comment.