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:
Nazar Palamar 2024-04-15 19:13:17 +03:00 committed by Carles Cufí
commit 6d684c91c2

View file

@ -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 */