Skip to content

Conversation

@78
Copy link
Owner

@78 78 commented Oct 4, 2025

This pull request introduces several improvements and fixes across configuration, dependency management, and audio codec robustness. The most significant changes include enhanced error handling for the ES8311 audio codec, refined dependency rules for better platform targeting, and updates to board configuration options for ESP32S3-based boards.

Audio Codec Robustness:

  • Improved error handling in Es8311AudioCodec: The constructor now logs an error instead of asserting on failure, and both EnableInput and EnableOutput methods check for a valid codec interface before proceeding, preventing potential crashes if initialization fails. [1] [2] [3]

Dependency Management Updates:

  • Refined platform targeting in idf_component.yml: Updated dependency rules for several components to ensure they are only included for compatible ESP32 targets, including esp_lcd_st7796, txp666/otto-emoji-gif-component, and tny-robotics/sh1106-esp-idf. Also updated the version of 78/esp-wifi-connect and increased the minimum required IDF version to 5.5.0. [1] [2] [3] [4]

Board Configuration Improvements:

  • Added missing depends on IDF_TARGET_ESP32S3 clauses for several ESP32S3 board types in main/Kconfig.projbuild, ensuring correct configuration visibility. [1] [2]
  • Corrected the menu syntax for TAIJIPAI_S3_CONFIG to use quotes, improving Kconfig parsing.

Platform-Specific Defaults:

  • Added a new sdkconfig.defaults.esp32c5 file with ESP32C5-specific flash, CPU, WiFi, and memory configuration defaults.

Minor Configuration Clean-up:

  • Removed an unused LVGL OS configuration line from sdkconfig.defaults.

@78 78 merged commit 549399b into main Oct 5, 2025
92 checks passed
Cmdmac pushed a commit to Cmdmac/xiaozhi-esp32 that referenced this pull request Oct 14, 2025
* Add esp32c5 configuration

* update idf_component.yml
Wvirgil123 added a commit to Wvirgil123/xiaozhi-esp32 that referenced this pull request Oct 20, 2025
* main:
  Add 16 more languages to locales (78#1297)
  Fix LilyGo-T-CameraPlus-S3 Camera (78#1295)
  Fix lichuang-dev camera (78#1290)
  将太极派新款和旧款分离 (78#1287)
  Refactor: Use esp_video component (78#1245)
  add support for Wireless-Tag WTP4C5MP07S ESP32P4 board + 7 inch MIPI DSI LCD display combo (78#1281)
  Optimize AdcBatteryMonitor to work without charge detection pin. (78#1276)
  enable rrti for m5stack-tab5 (78#1268)
  Add LILYGO T-Display-P4 board adaptation (78#1269)
  Added Waveshare ESP32-P4-WIFI6-Touch-LCD-7B third party board (78#1243)
  Add esp32c5 configuration (78#1258)
  Change the button array to ADC buttons as in the board for esp32s3-korv2 (78#1256)
  Add SetInputGain(float gain) to AudioCodec (78#1252)
  Update README (78#1251)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants