# https://github.com/Infineon/mtb-example-psoc6-smartio-i2s/tree/master/COMPONENT_CUSTOM_DESIGN_MODUS
psoc6_check_bsp(
  CY8CPROTO-062-4343W
  CY8CKIT-062-WIFI-BT
  CY8CKIT-062-BLE
  CY8CPROTO-063-BLE
  CY8CKIT-062S2-43012
  CY8CKIT-064B0S2-4343W
  CY8CKIT-062S4
)

project(smartio-i2s)

psoc6_load_application(
  NAME mtb-example-psoc6-smartio-i2s
  VERSION 1.1.0
)
psoc6_add_executable(
  SOURCES
    ${APP_DIR}/main.c
    ${APP_DIR}/i2s_master.h
    ${APP_DIR}/i2s_master.c
    ${APP_DIR}/wave.h
    ${APP_DIR}/wave.c
  LINK_LIBRARIES
    mtb-hal-cat1
    retarget-io
  DESIGN_MODUS
    ${APP_DIR}/COMPONENT_CUSTOM_DESIGN_MODUS/TARGET_${BSP_NAME}/design.modus
)
