Overview

An ESP-IDF audio control implementation for the PT2258 6-Channel Electronic Volume Controller IC.

PT2258 Datasheet

Repository Structure

πŸ“‚ pt2258 (I2C Driver)

Provides direct, stateless hardware control.

πŸ“‚ pt2258_ctrl (Controller)

Provides a controller for the PT2258 driver.

πŸ“‚ pt2258_esp_adf (ESP-ADF Adapter)

ESP-ADF initialization adapter that bridges the PT2258 driver to the native ESP-ADF i2c_bus transport layer. Automatically handles installation of the core PT2258 I2C driver as a dependency.

πŸ“‚ pt2258_esp_idf (ESP-IDF Adapter)

ESP-IDF initialization adapter that bridges the PT2258 driver to the native ESP-IDF i2c_master transport layer. Automatically handles installation of the core PT2258 I2C driver as a dependency.

Adding to Your Project

Option 2: Git Submodule

Add this entire repository into your project’s components/ directory.

cd <your_project_root>
git submodule add https://github.com/romr/esp-idf-pt2258.git components/esp-idf-pt2258