drivers: bluetooth/cyw43xxx: check that hw_flow_control is set
Add BUILD_ASSERT to check that hw_flow_control is set. Signed-off-by: Nazar Palamar <nazar.palamar@infineon.com>
This commit is contained in:
parent
62e6fbb9d8
commit
6d684c91c2
1 changed files with 3 additions and 0 deletions
|
@ -26,6 +26,9 @@ LOG_MODULE_REGISTER(cyw43xxx_driver);
|
|||
|
||||
#include <stdint.h>
|
||||
|
||||
BUILD_ASSERT(DT_PROP(DT_CHOSEN(zephyr_bt_uart), hw_flow_control) == 1,
|
||||
"hw_flow_control must be enabled for HCI H4 UART");
|
||||
|
||||
#define DT_DRV_COMPAT infineon_cyw43xxx_bt_hci
|
||||
|
||||
/* BT settling time after power on */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue