# BUG: not compatible with MTB 2.3
return()

# https://github.com/Infineon/mtb-example-psoc6-usb-cdc-echo/tree/master/COMPONENT_CUSTOM_DESIGN_MODUS
psoc6_check_bsp(
  CY8CPROTO-062-4343W
  CY8CKIT-062-WIFI-BT
  CY8CKIT-062S2-43012
  CYW9P62S1-43438EVB-01
  CYW9P62S1-43012EVB-01
  CY8CPROTO-062S3-4343W
)

project(usb-cdc-echo)

psoc6_load_application(
  NAME mtb-example-psoc6-usb-cdc-echo
  VERSION 1.1.0
)
psoc6_add_executable(
  SOURCES
    ${APP_DIR}/main.c
  LINK_LIBRARIES
    usbdev
    mtb-hal-cat1
  DESIGN_MODUS
    ${APP_DIR}/COMPONENT_CUSTOM_DESIGN_MODUS/TARGET_${BSP_NAME}/design.modus
  DESIGN_USBDEV
    ${APP_DIR}/COMPONENT_CUSTOM_DESIGN_MODUS/TARGET_${BSP_NAME}/design.cyusbdev
)
