# https://github.com/Infineon/mtb-example-psoc4-spi-master/tree/master/COMPONENT_CUSTOM_DESIGN_MODUS
psoc4_check_bsp(
  CY8CKIT-041-41XX
  CY8CKIT-041S-MAX
  CY8CKIT-045S
  CY8CKIT-145-40XX
  CY8CKIT-149
)

project(spi-master)

psoc4_load_application(
  NAME mtb-example-psoc4-spi-master
  VERSION 1.1.0
)
psoc4_add_executable(
  SOURCES
    ${APP_DIR}/source/main.c
    ${APP_DIR}/source/SpiMaster.h
    ${APP_DIR}/source/SpiMaster.c
  DESIGN_MODUS
    ${APP_DIR}/COMPONENT_CUSTOM_DESIGN_MODUS/TARGET_${BSP_NAME}/design.modus
)
