project(community)

psoc6_load_application(
  NAME Community-Code-Examples
  TAG  3b97923
)
if(${OS} STREQUAL NOOS)
  include(app/crypto-receiver.cmake)
  include(app/crypto-sender.cmake)
  include(app/mtb_02_ex01_smartio_rgb.cmake)
  include(app/mtb_02_ex02_pwm_blinkled.cmake)
  include(app/mtb_02_ex03_pwm_brightness_control.cmake)
  include(app/mtb_02_ex04_timer_hal.cmake)
  include(app/mtb_02_ex05_timer_pdl.cmake)
  include(app/mtb_02_ex06_counter_dutycycle.cmake)
  include(app/mtb_02_ex07_i2c_brightness_control.cmake)
  include(app/mtb_02_ex08_spi_master.cmake)
  include(app/mtb_02_ex09_uart.cmake)
  include(app/mtb_03_ex01_psoc6_capsense_button_linearslider.cmake)
  include(app/mtb_03_ex02_psoc6_capsense_gestures_linearslider.cmake)
  include(app/mtb_05_ex01_simple_deep_sleep.cmake)
  include(app/mtb_05_ex02_deep_sleep.cmake)
  include(app/mtb_05_ex03_ulp_sleep.cmake)
  include(app/mtb_05_ex04_hibernate.cmake)
  include(app/mtb_06_ex01_ctdac_wave.cmake)
  include(app/mtb_06_ex02_adc_uart.cmake)
  include(app/mtb_06_ex03_lpcomp_hibernate.cmake)
  include(app/Advanced_Sector_Protection.cmake)
  include(app/cce-psoc6-dps310.cmake)
  include(app/cce-psoc6-dps422.cmake)
  include(app/cce-psoc6-im69d130.cmake)
  include(app/cce-psoc6-tle4966k.cmake)
elseif(${OS} STREQUAL FREERTOS)
  include(app/mtb_04_ex01_capsense_led_tcp.cmake)
  include(app/mtb-demo-psoc6-hmi.cmake)
  include(app/dht11-freertos.cmake)
  include(app/oled-freertos.cmake)
  include(app/cce-psoc6-btn8982-motor-control.cmake)
endif()
