# This recipe is included by app/community.cmake
# APP_DIR points to Community-Code-Examples root

#BUG: -fno-common
return()

psoc6_add_executable(
  NAME
    oled-freertos
  SOURCES
    ${APP_DIR}/sensor_interfacing/mtb-example-psoc6-oled-freertos/source/dht_task.h
    ${APP_DIR}/sensor_interfacing/mtb-example-psoc6-oled-freertos/source/dht_task.c
    ${APP_DIR}/sensor_interfacing/mtb-example-psoc6-oled-freertos/source/main.h
    ${APP_DIR}/sensor_interfacing/mtb-example-psoc6-oled-freertos/source/main.c
    ${APP_DIR}/sensor_interfacing/mtb-example-psoc6-oled-freertos/source/oled_task.h
    ${APP_DIR}/sensor_interfacing/mtb-example-psoc6-oled-freertos/source/oled_task.c
    ${APP_DIR}/sensor_interfacing/mtb-example-psoc6-oled-freertos/source/print_task.h
    ${APP_DIR}/sensor_interfacing/mtb-example-psoc6-oled-freertos/source/print_task.c
    ${APP_DIR}/sensor_interfacing/mtb-example-psoc6-oled-freertos/source/image_files/cy.c
    ${APP_DIR}/sensor_interfacing/mtb-example-psoc6-oled-freertos/source/image_files/ifx.c
    ${APP_DIR}/sensor_interfacing/mtb-example-psoc6-oled-freertos/source/image_files/plus.c
  LINK_LIBRARIES
    mtb-hal-cat1
    retarget-io
    emwin-osts
    display-oled-ssd1306-emwin
)
