Skip to content

Commit

Permalink
tests: bt: enable entropy sources where missing
Browse files Browse the repository at this point in the history
Moving from TinyCrypt to PSA Crypto API caused an entropy source
to be always required, so this commit adds it in tests where
necessary.

Signed-off-by: Valerio Setti <[email protected]>
  • Loading branch information
valeriosetti committed Nov 6, 2024
1 parent 644364c commit 3933503
Show file tree
Hide file tree
Showing 108 changed files with 176 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Use USB Audio as audio sink
CONFIG_USE_USB_AUDIO_OUTPUT=y
CONFIG_USB_DEVICE_PRODUCT="USB Broadcast Sink"
CONFIG_ENTROPY_GENERATOR=y
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Use USB Audio as audio source
CONFIG_USE_USB_AUDIO_INPUT=y
CONFIG_USB_DEVICE_PRODUCT="Zephyr Broadcast Source"
CONFIG_ENTROPY_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/bap_unicast_client/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ CONFIG_BT_BAP_UNICAST_CLIENT_ASE_SRC_COUNT=2
CONFIG_BT_KEYS_OVERWRITE_OLDEST=y

CONFIG_BT_EXT_ADV=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/bap_unicast_server/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ CONFIG_BT_ATT_PREPARE_COUNT=1

CONFIG_BT_EXT_ADV=y
CONFIG_BT_DEVICE_NAME="Unicast Audio Server"

CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions samples/bluetooth/beacon/prj.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
CONFIG_BT=y
CONFIG_LOG=y
CONFIG_BT_DEVICE_NAME="Test beacon"
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions samples/bluetooth/broadcaster/prj.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
CONFIG_BT=y
CONFIG_BT_BROADCASTER=y
CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/broadcaster_multiple/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ CONFIG_BT_DEVICE_NAME="Broadcaster Multiple"

CONFIG_LOG=y

CONFIG_TEST_RANDOM_GENERATOR=y

# Zephyr Bluetooth LE Controller will need to use chain PDUs when AD data
# length > 191 bytes
# - 31 bytes will use 22 bytes for the default name in this sample plus 9 bytes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ CONFIG_BT_BUF_ACL_TX_SIZE=251
CONFIG_BT_BUF_CMD_TX_SIZE=255

CONFIG_BT_SEND_ECC_EMULATION=y
CONFIG_ENTROPY_GENERATOR=y
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ CONFIG_BT_BUF_ACL_TX_SIZE=251
CONFIG_BT_BUF_CMD_TX_SIZE=255

CONFIG_BT_SEND_ECC_EMULATION=y
CONFIG_ENTROPY_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/central/prj.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
CONFIG_BT=y
CONFIG_BT_CENTRAL=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/central_gatt_write/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ CONFIG_BT_BUF_EVT_DISCARDABLE_SIZE=255
CONFIG_BT_L2CAP_TX_MTU=247

CONFIG_LOG=y

CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions samples/bluetooth/central_hr/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ CONFIG_LOG=y
CONFIG_BT_CENTRAL=y
CONFIG_BT_SMP=y
CONFIG_BT_GATT_CLIENT=y
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions samples/bluetooth/central_ht/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ CONFIG_BT_CENTRAL=y
CONFIG_BT_SMP=y
CONFIG_BT_GATT_CLIENT=y
CONFIG_CBPRINTF_FP_SUPPORT=y
CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/central_multilink/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ CONFIG_BT_BUF_ACL_RX_COUNT=63

# CONFIG_BT_EXT_ADV=y
# CONFIG_BT_CTLR_ADV_EXT=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/central_past/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ CONFIG_BT_PER_ADV_SYNC=y
CONFIG_LOG=y
CONFIG_BT_DEVICE_NAME="Test Central Periodic Advertising Sync Transfer"
CONFIG_BT_PER_ADV_SYNC_TRANSFER_SENDER=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/direction_finding_central/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ CONFIG_BT_GATT_CLIENT=y
CONFIG_BT_DF=y
CONFIG_BT_DF_CONNECTION_CTE_RX=y
CONFIG_BT_DF_CONNECTION_CTE_REQ=y

CONFIG_TEST_RANDOM_GENERATOR=y
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ CONFIG_BT_OBSERVER=y
# Enable Direction Finding Feature including AoA and AoD
CONFIG_BT_DF=y
CONFIG_BT_DF_CONNECTIONLESS_CTE_RX=y

CONFIG_TEST_RANDOM_GENERATOR=y
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ CONFIG_BT_BROADCASTER=y
# Enable Direction Finding Feature including AoA and AoD
CONFIG_BT_DF=y
CONFIG_BT_DF_CONNECTIONLESS_CTE_TX=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/direction_finding_peripheral/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ CONFIG_BT_DEVICE_APPEARANCE=833
CONFIG_BT_DF=y
CONFIG_BT_DF_CONNECTION_CTE_TX=y
CONFIG_BT_DF_CONNECTION_CTE_RSP=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/eddystone/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ CONFIG_BT=y
CONFIG_LOG=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_DEVICE_NAME="Zephyr Eddystone"

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/handsfree/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ CONFIG_BT_HFP_HF=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_DEVICE_NAME="test-Handsfree"
CONFIG_BT_COD=0x200408

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/handsfree_ag/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ CONFIG_BT_RFCOMM=y
CONFIG_BT_HFP_AG=y
CONFIG_BT_CENTRAL=y
CONFIG_BT_DEVICE_NAME="Handsfree-ag"

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/hap_ha/boards/native_sim.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ CONFIG_BT_SEND_ECC_EMULATION=y
# than every 10 ms as each PDU for some reason takes 2 ticks to process.
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000
CONFIG_NATIVE_SIM_SLOWDOWN_TO_REAL_TIME=y

CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions samples/bluetooth/hci_pwr_ctrl/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ CONFIG_BT_DEVICE_NAME="Dynamic test beacon"
CONFIG_BT_CTLR_ADVANCED_FEATURES=y
CONFIG_BT_CTLR_CONN_RSSI=y
CONFIG_BT_CTLR_TX_PWR_DYNAMIC_CONTROL=y
CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/iso_broadcast/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ CONFIG_BT_ISO_TX_BUF_COUNT=4

# Just needs to send a uint32_t value
CONFIG_BT_ISO_TX_MTU=4

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/iso_connected_benchmark/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ CONFIG_MAIN_STACK_SIZE=2048
CONFIG_LOG=y
CONFIG_CBPRINTF_FP_SUPPORT=y
CONFIG_LOG_BUFFER_SIZE=2048

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/iso_receive/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ CONFIG_LOG=y
CONFIG_BT_DEVICE_NAME="Test ISO Receive"

CONFIG_BT_ISO_MAX_CHAN=2

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/mtu_update/central/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ CONFIG_BT_BUF_ACL_RX_SIZE=251

# L2CAP SDU/PDU TX MTU
CONFIG_BT_L2CAP_TX_MTU=247

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/mtu_update/peripheral/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ CONFIG_BT_BUF_ACL_RX_SIZE=251

# L2CAP SDU/PDU TX MTU
CONFIG_BT_L2CAP_TX_MTU=247

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/observer/prj.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
CONFIG_BT=y
CONFIG_BT_OBSERVER=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/observer/prj_extended.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ CONFIG_BT_CTLR_SCAN_DATA_LEN_MAX=1650
# Increase Zephyr Bluetooth LE Controller Rx buffer to receive complete chain
# of PDUs
CONFIG_BT_CTLR_RX_BUFFERS=9

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/pbp_public_broadcast_sink/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@ CONFIG_BT_DEVICE_NAME="PBP Broadcast Sink"

# PBP Support
CONFIG_BT_PBP=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/pbp_public_broadcast_source/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ CONFIG_BT_BAP_BROADCAST_SRC_SUBGROUP_COUNT=1
CONFIG_BT_EXT_ADV=y
CONFIG_BT_DEVICE_NAME="PBS"
CONFIG_STATIC_BROADCAST_ID=n

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/periodic_adv/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ CONFIG_BT_EXT_ADV=y
CONFIG_BT_PER_ADV=y
CONFIG_LOG=y
CONFIG_BT_DEVICE_NAME="Test Periodic Advertising"

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/periodic_adv_conn/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ CONFIG_BT_PRIVACY=y
CONFIG_BT_SMP=y

CONFIG_LOG=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/periodic_adv_rsp/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ CONFIG_BT_REMOTE_INFO=y
CONFIG_BT_GATT_CLIENT=y

CONFIG_LOG=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/periodic_sync/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ CONFIG_BT_EXT_ADV=y
CONFIG_BT_PER_ADV_SYNC=y
CONFIG_LOG=y
CONFIG_BT_DEVICE_NAME="Test Periodic Advertising Sync"

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/periodic_sync_conn/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ CONFIG_BT_PRIVACY=y
CONFIG_BT_SMP=y

CONFIG_LOG=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/periodic_sync_rsp/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ CONFIG_BT_PER_ADV_SYNC_RSP=y
CONFIG_BT_PER_ADV_SYNC_BUF_SIZE=247

CONFIG_LOG=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/peripheral/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ CONFIG_FLASH=y
CONFIG_FLASH_MAP=y
CONFIG_NVS=y
CONFIG_SETTINGS=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/peripheral_esp/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ CONFIG_BT_DIS=y
CONFIG_BT_DIS_PNP=n
CONFIG_BT_BAS=y
CONFIG_BT_DEVICE_APPEARANCE=768

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/peripheral_gatt_write/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ CONFIG_BT_BUF_EVT_DISCARDABLE_SIZE=255
CONFIG_BT_L2CAP_TX_MTU=247

CONFIG_LOG=y

CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions samples/bluetooth/peripheral_hr/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ CONFIG_BT_BAS=y
CONFIG_BT_HRS=y
CONFIG_BT_DEVICE_NAME="Zephyr Heartrate Sensor"
CONFIG_BT_DEVICE_APPEARANCE=833
CONFIG_TEST_RANDOM_GENERATOR=y
1 change: 1 addition & 0 deletions samples/bluetooth/peripheral_ht/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ CONFIG_BT_BAS=y
CONFIG_BT_DEVICE_NAME="Zephyr Health Thermometer"
CONFIG_BT_DEVICE_APPEARANCE=768
CONFIG_CBPRINTF_FP_SUPPORT=y
CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/peripheral_identity/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ CONFIG_BT_BUF_ACL_RX_COUNT=63

# CONFIG_BT_SMP=y
# CONFIG_BT_MAX_PAIRED=62

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/peripheral_nus/prj.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
CONFIG_BT=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_ZEPHYR_NUS=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/peripheral_ots/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ CONFIG_LOG=y
CONFIG_ASSERT=y
# This sample needs more memory on BT_RX_THREAD
CONFIG_BT_RX_STACK_SIZE=1536

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/peripheral_past/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ CONFIG_BT_PER_ADV_SYNC=y
CONFIG_LOG=y
CONFIG_BT_DEVICE_NAME="Peripheral PAST"
CONFIG_BT_PER_ADV_SYNC_TRANSFER_RECEIVER=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/peripheral_sc_only/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ CONFIG_BT_SMP_SC_ONLY=y
CONFIG_BT_SEND_ECC_EMULATION=y
CONFIG_BT_MAX_PAIRED=2
CONFIG_BT_DEVICE_NAME="SC only peripheral"

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/scan_adv/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ CONFIG_BT=y
CONFIG_BT_BROADCASTER=y
CONFIG_BT_OBSERVER=y
CONFIG_LOG=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/st_ble_sensor/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ CONFIG_BT_DEVICE_NAME="P2PSRV1"
CONFIG_BT_GATT_CLIENT=y
CONFIG_LOG=y
CONFIG_LOG_BUFFER_SIZE=2048

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/tmap_bmr/boards/native_sim.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ CONFIG_FPU=y
# than every 10 ms as each PDU for some reason takes 2 ticks to process.
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000
CONFIG_NATIVE_SIM_SLOWDOWN_TO_REAL_TIME=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/tmap_bmr/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ CONFIG_BT_PAC_SNK_LOC=y
CONFIG_BT_GATT_DYNAMIC_DB=y
CONFIG_BT_EXT_ADV=y
CONFIG_BT_DEVICE_NAME="TMAP BMR"

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/tmap_bms/boards/native_sim.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ CONFIG_FPU=y
# than every 10 ms as each PDU for some reason takes 2 ticks to process.
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000
CONFIG_NATIVE_SIM_SLOWDOWN_TO_REAL_TIME=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/tmap_bms/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ CONFIG_BT_GATT_DYNAMIC_DB=y

CONFIG_BT_EXT_ADV=y
CONFIG_BT_DEVICE_NAME="TMAP BMS"

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/tmap_central/boards/native_sim.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ CONFIG_FPU=y
# than every 10 ms as each PDU for some reason takes 2 ticks to process.
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000
CONFIG_NATIVE_SIM_SLOWDOWN_TO_REAL_TIME=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/tmap_central/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,5 @@ CONFIG_BT_GATT_DYNAMIC_DB=y

CONFIG_BT_EXT_ADV=y
CONFIG_BT_DEVICE_NAME="TMAP Central"

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/tmap_peripheral/boards/native_sim.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ CONFIG_FPU=y
# than every 10 ms as each PDU for some reason takes 2 ticks to process.
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000
CONFIG_NATIVE_SIM_SLOWDOWN_TO_REAL_TIME=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/bluetooth/tmap_peripheral/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,5 @@ CONFIG_BT_GATT_DYNAMIC_DB=y
CONFIG_BT_GATT_CLIENT=y
CONFIG_BT_EXT_ADV=y
CONFIG_BT_DEVICE_NAME="TMAP Peripheral"

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions samples/subsys/logging/ble_backend/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ CONFIG_LOG_PROCESS_THREAD_STACK_SIZE=2048
# Uncomment to use the maximum buffer size
# CONFIG_BT_L2CAP_TX_MTU=600
# CONFIG_BT_BUF_ACL_RX_SIZE=600

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions tests/bluetooth/addr/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ CONFIG_ZTEST=y
CONFIG_BT=y
CONFIG_BT_CTLR=n
CONFIG_BT_H4=n

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions tests/bluetooth/bluetooth/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ CONFIG_BT_H4=n
CONFIG_LOG=y
CONFIG_UART_INTERRUPT_DRIVEN=n
CONFIG_ZTEST=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions tests/bluetooth/bt_crypto/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ CONFIG_ZTEST=y
CONFIG_BT=y
CONFIG_BT_CTLR=n
CONFIG_BT_H4=n

CONFIG_ENTROPY_GENERATOR=y
2 changes: 2 additions & 0 deletions tests/bluetooth/bt_crypto_ccm/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ CONFIG_BT_CTLR=n
CONFIG_BT_H4=n

CONFIG_LOG=y

CONFIG_ENTROPY_GENERATOR=y
2 changes: 2 additions & 0 deletions tests/bluetooth/gatt/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ CONFIG_LOG=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_GATT_DYNAMIC_DB=y
CONFIG_BT_ATT_ERR_TO_STR=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions tests/bluetooth/hci/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ CONFIG_BT_HCI_ERR_TO_STR=y
CONFIG_BT_CTLR=n
CONFIG_BT_H4=n
CONFIG_BT_HCI_ERR_TO_STR=y

CONFIG_TEST_RANDOM_GENERATOR=y
2 changes: 2 additions & 0 deletions tests/bluetooth/hci_prop_evt/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ CONFIG_BT_HCI_CORE_LOG_LEVEL_DBG=y
CONFIG_BT_HCI_DRIVER_LOG_LEVEL_DBG=y

CONFIG_HEAP_MEM_POOL_SIZE=2048

CONFIG_ENTROPY_GENERATOR=y
2 changes: 2 additions & 0 deletions tests/bluetooth/host_long_adv_recv/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ CONFIG_BT_HCI_DRIVER_LOG_LEVEL_DBG=n
CONFIG_BT_LOG_LEVEL_DBG=y

CONFIG_BT_EXT_SCAN_BUF_SIZE=91

CONFIG_ENTROPY_GENERATOR=y
Loading

0 comments on commit 3933503

Please sign in to comment.