mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
refactor(i2s): make i2s driver as component
This commit is contained in:
@@ -18,6 +18,7 @@ set(priv_requires "esp_mm" "esp_psram")
|
||||
|
||||
if(CONFIG_SOC_I2S_LCD_I80_VARIANT)
|
||||
list(APPEND srcs "src/esp_lcd_panel_io_i2s.c")
|
||||
list(APPEND priv_requires "esp_driver_i2s")
|
||||
endif()
|
||||
|
||||
if(CONFIG_SOC_LCDCAM_SUPPORTED)
|
||||
|
@@ -27,8 +27,7 @@ components/esp_lcd/test_apps/i2c_lcd_legacy:
|
||||
components/esp_lcd/test_apps/i80_lcd:
|
||||
depends_components:
|
||||
- esp_lcd
|
||||
depends_filepatterns:
|
||||
- components/driver/i2s/**/* # i80 IO driver relies on I2S on esp32 and esp32s2
|
||||
- esp_driver_i2s
|
||||
disable:
|
||||
- if: SOC_LCD_I80_SUPPORTED != 1
|
||||
|
||||
|
@@ -4,5 +4,5 @@ set(srcs "test_app_main.c"
|
||||
# In order for the cases defined by `TEST_CASE` to be linked into the final elf,
|
||||
# the component can be registered as WHOLE_ARCHIVE
|
||||
idf_component_register(SRCS ${srcs}
|
||||
PRIV_REQUIRES esp_lcd unity driver
|
||||
PRIV_REQUIRES esp_lcd unity driver esp_driver_i2s
|
||||
WHOLE_ARCHIVE)
|
||||
|
Reference in New Issue
Block a user