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> |
||
---|---|---|
.. | ||
README.md | ||
cywbt.c |
README.md
CYW43xx WiFi SoC driver
This is a driver for the CYW43xx WiFi SoC.
There are four layers to the driver:
-
SDIO bus interface, provided by the host device/system.
-
Low-level CYW43xx interface, managing the bus, control messages, Ethernet frames and asynchronous events. Includes download of SoC firmware. The header file
cyw43_ll.h
defines the interface to this layer. -
Mid-level CYW43xx control, to control and set WiFi parameters and manage events. See
cyw43_ctrl.c
. -
TCP/IP bindings to lwIP. See
cyw43_lwip.c
.