2021-05-11 23:26:07 -04:00
|
|
|
set(srcs "src/esp_lcd_common.c"
|
|
|
|
"src/esp_lcd_panel_io.c"
|
|
|
|
"src/esp_lcd_panel_io_i2c.c"
|
|
|
|
"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")
|
2021-08-04 08:11:31 -04:00
|
|
|
set(priv_requires "driver")
|
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)
|
|
|
|
list(APPEND srcs "src/esp_lcd_panel_io_i80.c" "src/esp_lcd_rgb_panel.c")
|
|
|
|
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}
|
|
|
|
LDFRAGMENTS linker.lf)
|