diff --git a/bsp/m5stack_core_2/README.md b/bsp/m5stack_core_2/README.md index 8c65f071..89967d1f 100644 --- a/bsp/m5stack_core_2/README.md +++ b/bsp/m5stack_core_2/README.md @@ -39,7 +39,7 @@ Core2 V1.1 is an iterative version of Core2 with the following upgrades and addi | LVGL_PORT |:heavy_check_mark:| [espressif/esp_lvgl_port](https://components.espressif.com/components/espressif/esp_lvgl_port) | ^2 | | TOUCH |:heavy_check_mark:|[espressif/esp_lcd_touch_ft5x06](https://components.espressif.com/components/espressif/esp_lcd_touch_ft5x06)| ^1 | | BUTTONS | :x: | | | -| AUDIO |:heavy_check_mark:| [espressif/esp_codec_dev](https://components.espressif.com/components/espressif/esp_codec_dev) | ^1.1 | +| AUDIO |:heavy_check_mark:| [espressif/esp_codec_dev](https://components.espressif.com/components/espressif/esp_codec_dev) | ~1.1 | |AUDIO_SPEAKER|:heavy_check_mark:| | | | AUDIO_MIC | :x: | | | | SDCARD |:heavy_check_mark:| idf | >=5.0 | diff --git a/bsp/m5stack_core_2/idf_component.yml b/bsp/m5stack_core_2/idf_component.yml index 79e41c5d..353132c8 100644 --- a/bsp/m5stack_core_2/idf_component.yml +++ b/bsp/m5stack_core_2/idf_component.yml @@ -19,5 +19,5 @@ dependencies: override_path: "../../components/esp_lvgl_port" esp_codec_dev: - version: "^1.1" + version: "~1.1" public: true diff --git a/bsp/m5stack_core_2/include/bsp/m5stack_core_2.h b/bsp/m5stack_core_2/include/bsp/m5stack_core_2.h index 6e4ea311..5a77fecf 100644 --- a/bsp/m5stack_core_2/include/bsp/m5stack_core_2.h +++ b/bsp/m5stack_core_2/include/bsp/m5stack_core_2.h @@ -19,11 +19,7 @@ #include "bsp/config.h" #include "bsp/display.h" -#if ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 0, 0) -#include "driver/i2s.h" -#else #include "driver/i2s_std.h" -#endif #if (BSP_CONFIG_NO_GRAPHIC_LIB == 0) #include "lvgl.h"