mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
Move ble_log_spi_out.c and ble_log_spi_out.h into a deprecated/ subdirectory under components/bt/common/ble_log/. Extract all BT_BLE_LOG_SPI_OUT_* Kconfig options into deprecated/Kconfig.in with an if-block to reduce depends-on repetition, sourced from ble_log/Kconfig.in inside a "Legacy SPI Log Output (Deprecated)" menu. Add mutual exclusion with BLE_LOG_ENABLED so that the legacy SPI Out and the new BLE Log Module cannot be enabled simultaneously. Update CMakeLists.txt source path and add deprecated/include to include dirs so existing callers are unaffected. The BLE Log Module's SPI Master DMA peripheral transport is the replacement.
47 lines
1.6 KiB
Plaintext
47 lines
1.6 KiB
Plaintext
config BT_ALARM_MAX_NUM
|
|
int "Maximum number of Bluetooth alarms"
|
|
default 50
|
|
depends on (BT_BLUEDROID_ENABLED || BT_NIMBLE_ENABLED)
|
|
help
|
|
This option decides the maximum number of alarms which
|
|
could be used by Bluetooth host.
|
|
|
|
choice BT_SMP_CRYPTO_STACK
|
|
prompt "SMP cryptographic stack"
|
|
depends on (BT_BLE_SMP_ENABLE || BT_SMP_ENABLE || BT_NIMBLE_SECURITY_ENABLE)
|
|
default BT_SMP_CRYPTO_STACK_TINYCRYPT
|
|
help
|
|
Select the cryptographic library to use for SMP operations (AES, AES-CMAC, ECDH P-256).
|
|
|
|
config BT_SMP_CRYPTO_STACK_TINYCRYPT
|
|
bool "TinyCrypt"
|
|
help
|
|
Use TinyCrypt library for cryptographic operations.
|
|
TinyCrypt is a lightweight cryptographic library designed for constrained devices.
|
|
This can reduce code size compared to the native implementation.
|
|
This is the default option.
|
|
|
|
config BT_SMP_CRYPTO_STACK_MBEDTLS
|
|
bool "mbedTLS"
|
|
select MBEDTLS_AES_C
|
|
select MBEDTLS_CMAC_C
|
|
select MBEDTLS_ECDH_C
|
|
select MBEDTLS_ECP_C
|
|
select MBEDTLS_ECP_DP_SECP256R1_ENABLED
|
|
help
|
|
Use mbedTLS library for cryptographic operations.
|
|
This can provide hardware acceleration on supported platforms and reduce code size
|
|
by sharing crypto implementations with other components.
|
|
|
|
endchoice
|
|
|
|
menu "BLE Log"
|
|
source "$IDF_PATH/components/bt/common/ble_log/Kconfig.in"
|
|
endmenu
|
|
|
|
config BT_LE_USED_MEM_STATISTICS_ENABLED
|
|
bool "Enable used memory statistics"
|
|
default n
|
|
help
|
|
Used in internal tests only. Enable used memory statistics.
|