Add esp32c5 configuration #1258
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
Es8311AudioCodec: The constructor now logs an error instead of asserting on failure, and bothEnableInputandEnableOutputmethods check for a valid codec interface before proceeding, preventing potential crashes if initialization fails. [1] [2] [3]Dependency Management Updates:
idf_component.yml: Updated dependency rules for several components to ensure they are only included for compatible ESP32 targets, includingesp_lcd_st7796,txp666/otto-emoji-gif-component, andtny-robotics/sh1106-esp-idf. Also updated the version of78/esp-wifi-connectand increased the minimum required IDF version to 5.5.0. [1] [2] [3] [4]Board Configuration Improvements:
depends on IDF_TARGET_ESP32S3clauses for several ESP32S3 board types inmain/Kconfig.projbuild, ensuring correct configuration visibility. [1] [2]TAIJIPAI_S3_CONFIGto use quotes, improving Kconfig parsing.Platform-Specific Defaults:
sdkconfig.defaults.esp32c5file with ESP32C5-specific flash, CPU, WiFi, and memory configuration defaults.Minor Configuration Clean-up:
sdkconfig.defaults.