diff options
| author | supperthomas <[email protected]> | 2020-09-03 20:06:05 +0800 |
|---|---|---|
| committer | supperthomas <[email protected]> | 2020-09-03 20:53:06 +0800 |
| commit | 421dea8fdbe49bd8abfa837c7d31a12b0f74dfa4 (patch) | |
| tree | 316d46b0418e3006e9672c65630382ee78a6cd88 /bsp/nrf5x | |
| parent | f3d1e7113171f6e9c2d16dc6725a2f08108931ba (diff) | |
[bsp/nrf5x] add the sample of softdevice config
Diffstat (limited to 'bsp/nrf5x')
| -rw-r--r-- | bsp/nrf5x/nrf52840/board/Kconfig | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/bsp/nrf5x/nrf52840/board/Kconfig b/bsp/nrf5x/nrf52840/board/Kconfig index b16565f77a..09ec92dff4 100644 --- a/bsp/nrf5x/nrf52840/board/Kconfig +++ b/bsp/nrf5x/nrf52840/board/Kconfig @@ -25,6 +25,9 @@ menu "Onboard Peripheral Drivers" default n if BSP_USING_QSPI_FLASH + config NRFX_QSPI_ENABLED + int + default 1 config BSP_QSPI_SCK_PIN int "QSPI SCK pin number" range 0 31 @@ -204,7 +207,77 @@ if BSP_USING_SOFTDEVICE config NRF_SDH_SOC_ENABLED int default 1 + config NRF_SDH_BLE_PERIPHERAL_LINK_COUNT + int + default 1 + config BLE_ADVERTISING_ENABLED + int + default 1 + config NRF_BLE_QWR_ENABLED + int + default 1 + config NRF_SDH_BLE_VS_UUID_COUNT + int + default 1 + config NRF_BLE_CONN_PARAMS_ENABLED + int + default 1 + config NRF_BLE_CONN_PARAMS_MAX_SLAVE_LATENCY_DEVIATION + int + default 499 + config NRF_BLE_CONN_PARAMS_MAX_SUPERVISION_TIMEOUT_DEVIATION + int + default 65535 + config NRF_BLE_GATT_ENABLED + int + default 1 + + choice + prompt "sample(softdevice)" + default SD_BLE_APP_BEACON + + config SD_BLE_APP_BEACON + bool "ble_app_beacon" + default n + + config SD_BLE_APP_BLINKY + bool "ble_app_blinky" + default n + if SD_BLE_APP_BLINKY + config BLE_LBS_ENABLED + int + default 1 + endif + + config SD_BLE_APP_UART + bool "ble_app_uart" + default n + if SD_BLE_APP_UART + config BLE_NUS_ENABLED + int + default 1 + config NRF_SDH_BLE_GATT_MAX_MTU_SIZE + int + default 247 + endif + + config SD_BLE_APP_HRS + bool "ble_app_hrs" + default n + if SD_BLE_APP_HRS + config BLE_HRS_ENABLED + int + default 1 + config NRF_SDH_BLE_GATT_MAX_MTU_SIZE + int + default 247 + endif + config SD_BLE_APP_HIDS_MOUSE + bool "ble_app_hids_mouse" + default n + endchoice endif + menuconfig BSP_USING_UART bool "Enable UART" default y |
