devicetree: Generate BLUETOOTH_UART,UART_PIPE etc config from dt
patch uses chosen property zephyr,bt-uart, zephyr,uart-pipe and zephyr,bt-mon-uart to determine the uart instance to be used for bluetooth,uart_pipe and bluetooth_monitor and generate appropriate configs. Signed-off-by: Savinay Dharmappa <savinay.dharmappa@intel.com>
This commit is contained in:
parent
9f116097bf
commit
c1e5cbfd41
5 changed files with 22 additions and 2 deletions
|
@ -58,6 +58,7 @@ endchoice
|
|||
|
||||
endif # !BLUETOOTH_CONTROLLER
|
||||
|
||||
if !HAS_DTS
|
||||
config BLUETOOTH_UART_ON_DEV_NAME
|
||||
string "Device Name of UART Device for Bluetooth"
|
||||
default "UART_0"
|
||||
|
@ -65,6 +66,7 @@ config BLUETOOTH_UART_ON_DEV_NAME
|
|||
help
|
||||
This option specifies the name of UART device to be used
|
||||
for Bluetooth.
|
||||
endif
|
||||
|
||||
config BLUETOOTH_SPI_DEV_NAME
|
||||
string "Device Name of SPI Device for Bluetooth"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue