wifi-controller
Project Summary
Location:
projects/wifi/controllerSupported device: BK7239
Purpose: Provides a Wi-Fi controller solution that uses the SDIO 1-wire virtual netcard mode, enabling the host to control the module over SDIO and perform data forwarding.
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 uses a single-wire SDIO configuration, so SDIO D1/D2/D3 are reserved.
Project Settings
Project-level macros are defined in
/projects/wifi/controller/config/bk7239/config.Key options include the SDIO 1-wire mode and the 3.3V I/O supply.
CONFIG_GPIO_1V8_EN=nensures the I/O bank operates at 3.3V.
Build Command
make bk7239 PROJECT=wifi/controller(replace the target when building for another device)
Reference
See the
README.mdfile in the project directory for additional details.