wifi-controller-4wire
Project Summary
Location:
projects/wifi/controller_4wireSupported device: BK7239
Purpose: Delivers a Wi-Fi solution based on the SDIO 4-wire virtual netcard mode, providing higher SDIO bandwidth and improved stability for high-throughput scenarios.
Project Configuration
Two areas require special attention: the I/O configuration and the project configuration.
I/O Configuration
The I/O mappings are defined in the following files:
- /projects/wifi/controller/config/bk7239/usr_gpio_config.h: defines GPIO functions and critical I/Os, such as the SDIO interrupt pin and the host power-control pin.
/projects/wifi/controller/main/cifd_gpio_config.h: defines demo I/Os used by the project, such as the button and battery monitoring pins.
Important
Adjust the I/O mapping to match the actual hardware. The controller project adopts a four-wire SDIO configuration, so SDIO D1/D2/D3 are occupied.
Project Settings
Project-level macros are defined in
/projects/wifi/controller/config/bk7239/config.Key options include enabling the SDIO 4-wire mode and configuring the I/O bank for 3.3V operation.
CONFIG_GPIO_1V8_EN=yenables the 1.8V I/O supply, andCONFIG_SDIO_4LINES_EN=yenables the 4-wire SDIO mode.
Build Command
make bk7239 PROJECT=wifi/controller_4wire(replace the target when building for another device)
Reference
See the
README.mdfile in the project directory for additional details.