idf_component_register(
    SRCS
        "esp_lcd_st77916_qspi.c"
        "esp_lcd_st77916_1_8in.c"
        "esp_lcd_st77916_2_1in.c"
    INCLUDE_DIRS
        "include"
    REQUIRES
        "esp_lcd"
        "driver"
)

target_compile_definitions(${COMPONENT_LIB} PUBLIC
    ESP_LCD_ST77916_VER_MAJOR=2
    ESP_LCD_ST77916_VER_MINOR=1
    ESP_LCD_ST77916_VER_PATCH=0
)
