psoc4_load_library(
  NAME mtb-pdl-cat2
  VERSION 1.4.0
)

set(MTB_PDL_CAT2_SOURCES
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4024axi_s402.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4024axi_s412.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4024azi_s403.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4024azi_s413.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4024azq_s413.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4024fni_s402.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4024fni_s412.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4024lqa_s411.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4024lqi_s401.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4024lqi_s402.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4024lqi_s403.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4024lqi_s411.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4024lqi_s412.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4024lqi_s413.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4024lqs_s411.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4024pva_s411.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4024pva_s412.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4024pvs_s411.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4024pvs_s412.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4025axi_s402.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4025axi_s412.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4025azi_s403.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4025azi_s413.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4025azq_s403.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4025azq_s413.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4025fni_s402.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4025fni_s412.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4025lqa_s411.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4025lqi_s401.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4025lqi_s402.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4025lqi_s403.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4025lqi_s411.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4025lqi_s412.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4025lqi_s413.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4025lqs_s411.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4025pva_s411.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4025pva_s412.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4025pvs_s411.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4025pvs_s412.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4045axi_s412.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4045azi_s413.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4045azq_s413.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4045fni_s412.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4045lqa_s411.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4045lqi_s411.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4045lqi_s412.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4045lqi_s413.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4045lqs_s411.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4045pva_s411.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4045pva_s412.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4045pvs_s411.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4045pvs_s412.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4124azi_s413.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4124azi_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4124fni_s403.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4124fni_s413.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4124fni_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4124lqa_s413.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4124lqa_s423.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4124lqa_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4124lqe_s413.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4124lqe_s423.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4124lqe_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4124lqi_s412.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4124lqi_s413.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4124lqi_s432.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4124lqi_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4124lqs_s413.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4124lqs_s423.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4124lqs_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4124pva_s412.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4124pva_s422.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4124pva_s432.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4124pve_s412.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4124pve_s422.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4124pve_s432.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4124pvs_s412.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4124pvs_s422.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4124pvs_s432.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125axi_s423.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125axi_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125azi_s413.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125azi_s423.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125azi_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125azq_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125fni_s413.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125fni_s423.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125fni_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125lqa_s413.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125lqa_s423.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125lqa_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125lqe_s413.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125lqe_s423.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125lqe_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125lqi_s412.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125lqi_s413.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125lqi_s422.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125lqi_s423.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125lqi_s432.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125lqi_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125lqq_s432.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125lqs_s413.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125lqs_s423.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125lqs_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125pva_s412.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125pva_s422.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125pva_s432.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125pve_s412.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125pve_s422.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125pve_s432.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125pvs_s412.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125pvs_s422.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4125pvs_s432.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4126axi_s423.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4126axi_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4126axi_s443.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4126axi_s445.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4126axi_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4126axq_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4126aza_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4126aze_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4126azi_s423.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4126azi_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4126azi_s445.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4126azi_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4126azq_s423.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4126azq_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4126azs_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4126lqa_s453.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4126lqe_s453.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4126lqs_s453.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4127axi_s443.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4127axi_s445.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4127axi_s453.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4127axi_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4127aza_s445.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4127aza_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4127aze_s445.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4127aze_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4127azi_s443.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4127azi_s445.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4127azi_s453.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4127azi_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4127azq_s445.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4127azq_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4127azs_s445.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4127azs_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4127lqa_s443.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4127lqa_s453.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4127lqe_s443.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4127lqe_s453.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4127lqs_s443.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4127lqs_s453.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4128axi_s445.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4128axi_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4128azi_s443.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4128azi_s445.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4128azi_s453.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4128azi_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4145axi_s423.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4145axi_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4145axq_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4145azi_s423.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4145azq_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146axi_s423.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146axi_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146axi_s443.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146axi_s445.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146axi_s453.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146axi_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146axq_s423.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146axq_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146aza_s245.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146aza_s255.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146aza_s265.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146aza_s275.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146aza_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146aze_s245.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146aze_s255.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146aze_s265.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146aze_s275.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146aze_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146azi_s423.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146azi_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146azi_s443.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146azi_s445.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146azi_s453.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146azi_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146azi_s463.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146azq_s423.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146azq_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146azq_s445.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146azq_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146azs_s245.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146azs_s255.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146azs_s265.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146azs_s275.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146azs_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146fni_s423.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146fni_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146lqa_s243.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146lqa_s253.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146lqa_s263.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146lqa_s273.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146lqa_s423.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146lqa_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146lqa_s453.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146lqe_s243.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146lqe_s253.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146lqe_s263.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146lqe_s273.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146lqe_s423.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146lqe_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146lqe_s453.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146lqi_s422.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146lqi_s423.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146lqi_s432.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146lqi_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146lqq_s422.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146lqq_s432.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146lqs_s243.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146lqs_s253.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146lqs_s263.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146lqs_s273.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146lqs_s423.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146lqs_s433.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146lqs_s453.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146pva_s422.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146pva_s432.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146pve_s422.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146pve_s432.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146pvs_s422.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4146pvs_s432.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147axi_s443.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147axi_s445.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147axi_s453.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147axi_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147axi_s465.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147axi_s475.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147aza_s245.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147aza_s255.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147aza_s265.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147aza_s275.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147aza_s285.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147aza_s295.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147aza_s445.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147aza_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147aza_s465.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147aza_s475.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147aze_s245.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147aze_s255.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147aze_s265.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147aze_s275.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147aze_s285.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147aze_s295.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147aze_s445.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147aze_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147aze_s465.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147aze_s475.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147azi_s443.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147azi_s445.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147azi_s453.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147azi_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147azi_s463.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147azi_s465.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147azi_s475.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147azq_s445.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147azq_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147azq_s465.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147azq_s475.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147azs_s245.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147azs_s255.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147azs_s265.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147azs_s275.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147azs_s285.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147azs_s295.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147azs_s445.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147azs_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147azs_s465.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147azs_s475.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqa_s243.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqa_s253.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqa_s263.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqa_s273.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqa_s283.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqa_s293.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqa_s443.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqa_s453.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqa_s463.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqa_s473.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqe_s243.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqe_s253.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqe_s263.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqe_s273.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqe_s283.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqe_s293.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqe_s443.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqe_s453.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqe_s463.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqe_s473.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqs_s243.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqs_s253.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqs_s263.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqs_s273.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqs_s283.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqs_s293.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqs_s443.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqs_s453.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqs_s463.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4147lqs_s473.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4148axi_s445.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4148axi_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4148axq_s445.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4148axq_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4148azi_s443.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4148azi_s445.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4148azi_s453.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4148azi_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4148azi_s548.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4148azi_s553.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4148azi_s555.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4148azi_s558.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4148azi_s583.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4148azi_s585.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4148azi_s588.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4148azi_s593.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4148azi_s595.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4148azi_s598.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4148azq_s443.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4148azq_s445.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4148azq_s453.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4148azq_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4148azq_s558.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4149azi_s543.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4149azi_s545.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4149azi_s548.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4149azi_s553.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4149azi_s555.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4149azi_s558.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4149azi_s565.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4149azi_s568.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4149azi_s575.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4149azi_s578.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4149azi_s583.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4149azi_s585.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4149azi_s588.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4149azi_s593.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4149azi_s595.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4149azi_s598.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4149azq_s545.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4149azq_s548.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4149azq_s555.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4149azq_s558.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4149azq_s593.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4149azq_s595.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4149azq_s598.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4546axi_s475.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4546azi_s473.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4546azi_s475.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4547axi_s475.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4547axq_s475.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4547azi_445.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4547azi_s453.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4547azi_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4547azi_s463.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4547azi_s465.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4547azi_s473.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4547azi_s475.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4547azq_s453.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4547azq_s455.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4547azq_s473.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4547azq_s475.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4548axi_s475.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4548axi_s485.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4548axq_s485.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4548azi_s475.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4548azi_s483.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4548azi_s485.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4548azq_s483.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4548azq_s485.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4724fni_s402.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4724lqi_s401.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4725fni_s402.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4725lqi_s401.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4744azi_s403.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4744fni_s402.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4744lqi_s401.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4745azi_s403.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4745azi_s413.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4745fni_s402.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4745fni_s412.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4745lqi_s401.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy8c4745lqi_s411.h
  ${MTB_PDL_CAT2_DIR}/devices/include/cy_device_headers.h
  ${MTB_PDL_CAT2_DIR}/devices/include/gpio_psoc4000s_20_ssop.h
  ${MTB_PDL_CAT2_DIR}/devices/include/gpio_psoc4000s_24_qfn.h
  ${MTB_PDL_CAT2_DIR}/devices/include/gpio_psoc4000s_25_wlcsp.h
  ${MTB_PDL_CAT2_DIR}/devices/include/gpio_psoc4000s_28_ssop_auto.h
  ${MTB_PDL_CAT2_DIR}/devices/include/gpio_psoc4000s_32_qfn.h
  ${MTB_PDL_CAT2_DIR}/devices/include/gpio_psoc4000s_32_tqfp.h
  ${MTB_PDL_CAT2_DIR}/devices/include/gpio_psoc4000s_40_qfn.h
  ${MTB_PDL_CAT2_DIR}/devices/include/gpio_psoc4000s_48_tqfp.h
  ${MTB_PDL_CAT2_DIR}/devices/include/gpio_psoc4100s_28_ssop_auto.h
  ${MTB_PDL_CAT2_DIR}/devices/include/gpio_psoc4100s_32_qfn.h
  ${MTB_PDL_CAT2_DIR}/devices/include/gpio_psoc4100s_35_wlcsp.h
  ${MTB_PDL_CAT2_DIR}/devices/include/gpio_psoc4100s_40_qfn_auto.h
  ${MTB_PDL_CAT2_DIR}/devices/include/gpio_psoc4100s_40_qfn.h
  ${MTB_PDL_CAT2_DIR}/devices/include/gpio_psoc4100s_44_tqfp.h
  ${MTB_PDL_CAT2_DIR}/devices/include/gpio_psoc4100s_48_tqfp.h
  ${MTB_PDL_CAT2_DIR}/devices/include/gpio_psoc4100smax_100_tqfp.h
  ${MTB_PDL_CAT2_DIR}/devices/include/gpio_psoc4100smax_48_tqfp.h
  ${MTB_PDL_CAT2_DIR}/devices/include/gpio_psoc4100smax_64_tqfp.h
  ${MTB_PDL_CAT2_DIR}/devices/include/gpio_psoc4100sp256kb_48_tqfp.h
  ${MTB_PDL_CAT2_DIR}/devices/include/gpio_psoc4100sp256kb_48_tqfp_mc.h
  ${MTB_PDL_CAT2_DIR}/devices/include/gpio_psoc4100sp256kb_64_tqfp.h
  ${MTB_PDL_CAT2_DIR}/devices/include/gpio_psoc4100sp256kb_64_tqfp_mc.h
  ${MTB_PDL_CAT2_DIR}/devices/include/gpio_psoc4100sp_40_qfn_2.h
  ${MTB_PDL_CAT2_DIR}/devices/include/gpio_psoc4100sp_44_tqfp.h
  ${MTB_PDL_CAT2_DIR}/devices/include/gpio_psoc4100sp_48_tqfp.h
  ${MTB_PDL_CAT2_DIR}/devices/include/gpio_psoc4100sp_64_tqfp.h
  ${MTB_PDL_CAT2_DIR}/devices/include/psoc4000s_config.h
  ${MTB_PDL_CAT2_DIR}/devices/include/psoc4100s_config.h
  ${MTB_PDL_CAT2_DIR}/devices/include/psoc4100smax_config.h
  ${MTB_PDL_CAT2_DIR}/devices/include/psoc4100sp256kb_config.h
  ${MTB_PDL_CAT2_DIR}/devices/include/psoc4100sp_config.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_can.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_canfd_v2.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_cpuss_v3.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_cpuss_v5.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_cryptolite.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_crypto_v2.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_csd_v2.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_ctbm.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_ctbm_v2.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_dmac_v3.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_dmac_v5.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_exco.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_exco_v2.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_gpio.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_headers.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_hsiom.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_i2s_v2.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_lcd_v2.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_lpcomp_v2.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_mca.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_msc.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_pass.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_pass_v2.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_peri.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_prgio.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_sar.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_sar_v2.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_scb_v2.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_scb_v3.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_sflash_128.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_sflash_256.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_spcif_v3.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_spcif_v5.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_srsslt.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_tcpwm_v2.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_usbfs_v2.h
  ${MTB_PDL_CAT2_DIR}/devices/include/ip/cyip_wco.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_canfd.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_crypto.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_crypto_aes.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_crypto_common.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_crypto_crc.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_crypto_hw.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_crypto_prng.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_crypto_sha.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_crypto_trng.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_csd.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_ctb.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_device.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_dmac.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_flash.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_gpio.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_i2s.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_lpcomp.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_msc.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_pdl.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_sar.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_scb_common.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_scb_ezi2c.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_scb_i2c.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_scb_spi.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_scb_uart.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_seglcd.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_smartio.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_sysclk.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_sysint.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_syslib.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_syspm.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_systick.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_tcpwm.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_tcpwm_counter.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_tcpwm_pwm.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_tcpwm_quaddec.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_trigmux.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_usbfs_dev_drv.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_usbfs_dev_drv_pvt.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_usbfs_dev_drv_reg.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_usbpd_bch.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_usbpd_common.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_usbpd_defines.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_usbpd_phy.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_usbpd_regs.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_usbpd_typec.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_usbpd_vbus_ctrl.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_wdc.h
  ${MTB_PDL_CAT2_DIR}/drivers/include/cy_wdt.h
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_canfd.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_crypto_aes.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_crypto_crc.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_crypto_hw.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_crypto_sha.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_crypto_trng.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_csd.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_ctb.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_dmac.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_flash.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_gpio.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_i2s.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_lpcomp.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_msc.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_sar.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_scb_common.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_scb_ezi2c.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_scb_i2c.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_scb_spi.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_scb_uart.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_seglcd.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_smartio.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_sysclk.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_sysint.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_syslib.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_syspm.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_systick.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_tcpwm_counter.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_tcpwm_pwm.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_tcpwm_quaddec.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_trigmux.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_usbfs_dev_drv.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_usbfs_dev_drv_io.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_usbfs_dev_drv_io_dma.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_usbpd_bch.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_usbpd_phy.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_usbpd_typec.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_usbpd_vbus_ctrl.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_wdc.c
  ${MTB_PDL_CAT2_DIR}/drivers/source/cy_wdt.c
)
set(MTB_PDL_CAT2_INCLUDE_DIRS
  ${MTB_PDL_CAT2_DIR}/devices/include
  ${MTB_PDL_CAT2_DIR}/drivers/include
  ${BSP_DIR} # CMSIS startup headers
)
set(MTB_PDL_CAT2_LINK_LIBRARIES
  core-lib cmsis-core
)

if (${CORE} STREQUAL CM0P)
  if(${TOOLCHAIN} STREQUAL GCC)
    list(APPEND MTB_PDL_CAT2_SOURCES ${MTB_PDL_CAT2_DIR}/drivers/source/COMPONENT_CM0P/TOOLCHAIN_GCC_ARM/cy_syslib_gcc.S)
  elseif(${TOOLCHAIN} STREQUAL ARM)
    list(APPEND MTB_PDL_CAT2_SOURCES ${MTB_PDL_CAT2_DIR}/drivers/source/COMPONENT_CM0P/TOOLCHAIN_ARM/cy_syslib_mdk.s)
  elseif(${TOOLCHAIN} STREQUAL IAR)
    list(APPEND MTB_PDL_CAT2_SOURCES ${MTB_PDL_CAT2_DIR}/drivers/source/COMPONENT_CM0P/TOOLCHAIN_IAR/cy_syslib_iar.s)
  elseif(${TOOLCHAIN} STREQUAL LLVM)
    list(APPEND MTB_PDL_CAT2_SOURCES ${LLVM_PORT_DIR}/syslib/cy_syslib_clang_cm0p.S)
  else()
    message(FATAL_ERROR "mtb-pdl-cat2: TOOLCHAIN ${TOOLCHAIN} is not supported.")
  endif()
elseif (${CORE} STREQUAL CM0)
  if(${TOOLCHAIN} STREQUAL GCC)
    list(APPEND MTB_PDL_CAT2_SOURCES ${MTB_PDL_CAT2_DIR}/drivers/source/COMPONENT_CM0/TOOLCHAIN_GCC_ARM/cy_syslib_gcc.S)
  elseif(${TOOLCHAIN} STREQUAL ARM)
    list(APPEND MTB_PDL_CAT2_SOURCES ${MTB_PDL_CAT2_DIR}/drivers/source/COMPONENT_CM0/TOOLCHAIN_ARM/cy_syslib_mdk.s)
  elseif(${TOOLCHAIN} STREQUAL IAR)
    list(APPEND MTB_PDL_CAT2_SOURCES ${MTB_PDL_CAT2_DIR}/drivers/source/COMPONENT_CM0/TOOLCHAIN_IAR/cy_syslib_iar.s)
  elseif(${TOOLCHAIN} STREQUAL LLVM)
    list(APPEND MTB_PDL_CAT2_SOURCES ${LLVM_PORT_DIR}/syslib/cy_syslib_clang_cm0.S)
  else()
    message(FATAL_ERROR "mtb-pdl-cat2: TOOLCHAIN ${TOOLCHAIN} is not supported.")
  endif()
else()
  message(FATAL_ERROR "mtb-pdl-cat2: CORE ${CORE} is not supported.")
endif()

add_library(mtb-pdl-cat2 STATIC EXCLUDE_FROM_ALL ${MTB_PDL_CAT2_SOURCES})
target_include_directories(mtb-pdl-cat2 PUBLIC ${MTB_PDL_CAT2_INCLUDE_DIRS})
target_link_libraries(mtb-pdl-cat2 PUBLIC ${MTB_PDL_CAT2_LINK_LIBRARIES})
