a453b4f31d
This commit allows other ports to reuse the CYW43 HCI driver, by replacing all Bluetooth UART and control named pins with defines in config files and using `mpbthci` abstract functions (i.e. `mp_bluetooth_hci_*`) instead of the STM32 specific UART functions. Note: the function `cywbt_wait_cts_low` does not need to switch the CTS pin from alternate function to GPIO to read it. At least on stm32, mimxrt it's possible to just read the pin input. For example, see the STM32F7 RM0410 section 6.3.11, and the `SION` for IMXRT. So this function can also be available for other ports if the pin mode switching is removed. Signed-off-by: iabdalkader <i.abdalkader@gmail.com> |
||
---|---|---|
.. | ||
bus | ||
cc3100 | ||
cyw43 | ||
dht | ||
memory | ||
ninaw10 | ||
README.md |
README.md
This directory contains C drivers for specific hardware. The drivers are intended to work across multiple ports.