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

# P12_0, P12_1
psoc6_check_bsp(
  CY8CPROTO-062-4343W
  CY8CKIT-062-WIFI-BT
  CY8CKIT-062-BLE
  CY8CKIT-062S2-43012
  CYW9P62S1-43438EVB-01
  CYW9P62S1-43012EVB-01
)

psoc6_add_executable(
  NAME
    crypto-receiver
  SOURCES
    ${APP_DIR}/crypto/mtb-example-psoc6-crypto-receiver/main.c
    ${APP_DIR}/crypto/mtb-example-psoc6-crypto-receiver/rsa.h
  LINK_LIBRARIES
    mtb-hal-cat1
    retarget-io
)
