# https://github.com/Infineon/mtb-example-psoc6-emwin-tft-freertos#supported-kits-make-variable-target
psoc6_check_bsp(
  CY8CKIT-062-WIFI-BT
  CY8CKIT-062-BLE
  CY8CKIT-062S2-43012
  CYW9P62S1-43438EVB-01
  CY8CKIT-064B0S2-4343W
)

project(emwin-tft-freertos)

psoc6_load_application(
  NAME mtb-example-psoc6-emwin-tft-freertos
  VERSION 1.0.0
)
psoc6_add_executable(
  SOURCES
    ${APP_DIR}/main.c
    ${APP_DIR}/source/Cypress_Logo_Full_Color_PNG_316pixels.c
    ${APP_DIR}/source/KS124117-2.c
    ${APP_DIR}/source/bitmaps.h
    ${APP_DIR}/source/tft_task.h
    ${APP_DIR}/source/tft_task.c
  INCLUDE_DIRS
    ${APP_DIR}/source
  LINK_LIBRARIES
    mtb-hal-cat1
    retarget-io
    emwin-osnts
    display-tft-st7789v-emwin
)
