wifi-controller-4wire

[中文]

Project Summary

  • Location: projects/wifi/controller_4wire

  • Supported 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.

Key I/O configuration
  • /projects/wifi/controller/main/cifd_gpio_config.h: defines demo I/Os used by the project, such as the button and battery monitoring pins.

Project I/O configuration

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=y enables the 1.8V I/O supply, and CONFIG_SDIO_4LINES_EN=y enables the 4-wire SDIO mode.

Configuration file

Build Command

  • make bk7239 PROJECT=wifi/controller_4wire (replace the target when building for another device)

Reference

  • See the README.md file in the project directory for additional details.