2021-05-11 23:26:07 -04:00
|
|
|
set(srcs "src/esp_lcd_common.c"
|
|
|
|
"src/esp_lcd_panel_io.c"
|
2023-08-03 00:31:36 -04:00
|
|
|
"src/esp_lcd_panel_io_i2c_v1.c"
|
|
|
|
"src/esp_lcd_panel_io_i2c_v2.c"
|
2021-05-11 23:26:07 -04:00
|
|
|
"src/esp_lcd_panel_io_spi.c"
|
2021-08-04 08:11:31 -04:00
|
|
|
"src/esp_lcd_panel_nt35510.c"
|
2021-05-11 23:26:07 -04:00
|
|
|
"src/esp_lcd_panel_ssd1306.c"
|
|
|
|
"src/esp_lcd_panel_st7789.c"
|
2022-03-07 05:04:02 -05:00
|
|
|
"src/esp_lcd_panel_ops.c")
|
2021-05-11 23:26:07 -04:00
|
|
|
set(includes "include" "interface")
|
2023-08-03 00:31:36 -04:00
|
|
|
set(priv_requires "esp_mm" "esp_psram")
|
2021-05-11 23:26:07 -04:00
|
|
|
|
2022-03-07 05:04:02 -05:00
|
|
|
if(CONFIG_SOC_I2S_LCD_I80_VARIANT)
|
|
|
|
list(APPEND srcs "src/esp_lcd_panel_io_i2s.c")
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(CONFIG_SOC_LCDCAM_SUPPORTED)
|
2022-11-25 04:58:58 -05:00
|
|
|
list(APPEND srcs "src/esp_lcd_panel_io_i80.c" "src/esp_lcd_panel_rgb.c")
|
2022-03-07 05:04:02 -05:00
|
|
|
endif()
|
|
|
|
|
2021-05-11 23:26:07 -04:00
|
|
|
idf_component_register(SRCS ${srcs}
|
|
|
|
INCLUDE_DIRS ${includes}
|
2022-03-07 05:04:02 -05:00
|
|
|
PRIV_REQUIRES ${priv_requires}
|
2023-08-03 00:31:36 -04:00
|
|
|
REQUIRES driver
|
2022-03-07 05:04:02 -05:00
|
|
|
LDFRAGMENTS linker.lf)
|