"C:\PROGRA~3\MATLAB\SUPPOR~1\R2021b\3P778C~1.INS\MINGW_~1.INS\bin/gcc" -c -fwrapv -m64 -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DMODEL=myModel -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @ExtSensor_controller_v06_comp.rsp -o "myModel.obj" "/locFolder/myModel.c" In file included from /locFolder/ftm_common.h:52:0, from /locFolder/ftm_pwm_driver.h:29, from /locFolder/myModel.h:25, from /locFolder/myModel.c:16: /locFolder/device_registers.h:368:6: error: #error "No valid CPU defined!" #error "No valid CPU defined!" ^~~~~ In file included from /locFolder/ftm_pwm_driver.h:29:0, from /locFolder/myModel.h:25, from /locFolder/myModel.c:16: /locFolder/ftm_common.h:63:8: error: unknown type name 'FTM_Type' extern FTM_Type * const g_ftmBase[FTM_INSTANCE_COUNT]; ^~~~~~~~ /locFolder/ftm_common.h:63:35: error: 'FTM_INSTANCE_COUNT' undeclared here (not in a function) extern FTM_Type * const g_ftmBase[FTM_INSTANCE_COUNT]; ^~~~~~~~~~~~~~~~~~ /locFolder/ftm_common.h:66:14: error: unknown type name 'IRQn_Type' extern const IRQn_Type g_ftmIrqId[FTM_INSTANCE_COUNT][FEATURE_FTM_CHANNEL_COUNT]; ^~~~~~~~~ /locFolder/ftm_common.h:66:55: error: 'FEATURE_FTM_CHANNEL_COUNT' undeclared here (not in a function) extern const IRQn_Type g_ftmIrqId[FTM_INSTANCE_COUNT][FEATURE_FTM_CHANNEL_COUNT]; ^~~~~~~~~~~~~~~~~~~~~~~~~ /locFolder/ftm_common.h:67:14: error: unknown type name 'IRQn_Type' extern const IRQn_Type g_ftmFaultIrqId[FTM_INSTANCE_COUNT]; ^~~~~~~~~ /locFolder/ftm_common.h:68:14: error: unknown type name 'IRQn_Type' extern const IRQn_Type g_ftmOverflowIrqId[FTM_INSTANCE_COUNT]; ^~~~~~~~~ /locFolder/ftm_common.h:69:14: error: unknown type name 'IRQn_Type' extern const IRQn_Type g_ftmReloadIrqId[FTM_INSTANCE_COUNT]; ^~~~~~~~~ In file included from /locFolder/ftm_pwm_driver.h:29:0, from /locFolder/myModel.h:25, from /locFolder/myModel.c:16: /locFolder/ftm_common.h:443:45: error: unknown type name 'FTM_Type' static inline void FTM_DRV_SetClockFilterPs(FTM_Type * const ftmBase, ^~~~~~~~ /locFolder/ftm_common.h:458:54: error: unknown type name 'FTM_Type' static inline uint8_t FTM_DRV_GetClockFilterPs(const FTM_Type * ftmBase) ^~~~~~~~ /locFolder/ftm_common.h: In function 'FTM_DRV_GetClockFilterPs': /locFolder/ftm_common.h:460:33: error: request for member 'SC' in something not a structure or union return (uint8_t)((((ftmBase)->SC) & FTM_SC_FLTPS_MASK) >> FTM_SC_FLTPS_SHIFT); ^~ /locFolder/ftm_common.h:460:41: error: 'FTM_SC_FLTPS_MASK' undeclared (first use in this function) return (uint8_t)((((ftmBase)->SC) & FTM_SC_FLTPS_MASK) >> FTM_SC_FLTPS_SHIFT); ^~~~~~~~~~~~~~~~~ /locFolder/ftm_common.h:460:41: note: each undeclared identifier is reported only once for each function it appears in /locFolder/ftm_common.h:460:63: error: 'FTM_SC_FLTPS_SHIFT' undeclared (first use in this function) return (uint8_t)((((ftmBase)->SC) & FTM_SC_FLTPS_MASK) >> FTM_SC_FLTPS_SHIFT); ^~~~~~~~~~~~~~~~~~ /locFolder/ftm_common.h: At top level: /locFolder/ftm_common.h:472:49: error: unknown type name 'FTM_Type' static inline uint16_t FTM_DRV_GetCounter(const FTM_Type * ftmBase) ^~~~~~~~ /locFolder/ftm_common.h: In function 'FTM_DRV_GetCounter': /locFolder/ftm_common.h:474:34: error: request for member 'CNT' in something not a structure or union return (uint16_t)((((ftmBase)->CNT) & FTM_CNT_COUNT_MASK) >> FTM_CNT_COUNT_SHIFT); ^~ /locFolder/ftm_common.h:474:43: error: 'FTM_CNT_COUNT_MASK' undeclared (first use in this function) return (uint16_t)((((ftmBase)->CNT) & FTM_CNT_COUNT_MASK) >> FTM_CNT_COUNT_SHIFT); ^~~~~~~~~~~~~~~~~~ /locFolder/ftm_common.h:474:66: error: 'FTM_CNT_COUNT_SHIFT' undeclared (first use in this function) return (uint16_t)((((ftmBase)->CNT) & FTM_CNT_COUNT_MASK) >> FTM_CNT_COUNT_SHIFT); ^~~~~~~~~~~~~~~~~~~ /locFolder/ftm_common.h: At top level: /locFolder/ftm_common.h:486:45: error: unknown type name 'FTM_Type' static inline uint16_t FTM_DRV_GetMod(const FTM_Type * ftmBase) ^~~~~~~~ /locFolder/ftm_common.h: In function 'FTM_DRV_GetMod': /locFolder/ftm_common.h:488:34: error: request for member 'MOD' in something not a structure or union return (uint16_t)((((ftmBase)->MOD) & FTM_MOD_MOD_MASK) >> FTM_MOD_MOD_SHIFT); ^~ /locFolder/ftm_common.h:488:43: error: 'FTM_MOD_MOD_MASK' undeclared (first use in this function) return (uint16_t)((((ftmBase)->MOD) & FTM_MOD_MOD_MASK) >> FTM_MOD_MOD_SHIFT); ^~~~~~~~~~~~~~~~ /locFolder/ftm_common.h:488:64: error: 'FTM_MOD_MOD_SHIFT' undeclared (first use in this function) return (uint16_t)((((ftmBase)->MOD) & FTM_MOD_MOD_MASK) >> FTM_MOD_MOD_SHIFT); ^~~~~~~~~~~~~~~~~ /locFolder/ftm_common.h: At top level: /locFolder/ftm_common.h:500:56: error: unknown type name 'FTM_Type' static inline uint16_t FTM_DRV_GetCounterInitVal(const FTM_Type * ftmBase) ^~~~~~~~ /locFolder/ftm_common.h: In function 'FTM_DRV_GetCounterInitVal': /locFolder/ftm_common.h:502:34: error: request for member 'CNTIN' in something not a structure or union return (uint16_t)((((ftmBase)->CNTIN) & FTM_CNTIN_INIT_MASK) >> FTM_CNTIN_INIT_SHIFT); ^~ /locFolder/ftm_common.h:502:45: error: 'FTM_CNTIN_INIT_MASK' undeclared (first use in this function) return (uint16_t)((((ftmBase)->CNTIN) & FTM_CNTIN_INIT_MASK) >> FTM_CNTIN_INIT_SHIFT); ^~~~~~~~~~~~~~~~~~~ /locFolder/ftm_common.h:502:69: error: 'FTM_CNTIN_INIT_SHIFT' undeclared (first use in this function) return (uint16_t)((((ftmBase)->CNTIN) & FTM_CNTIN_INIT_MASK) >> FTM_CNTIN_INIT_SHIFT); ^~~~~~~~~~~~~~~~~~~~ /locFolder/ftm_common.h: At top level: /locFolder/ftm_common.h:513:38: error: unknown type name 'FTM_Type' static inline void FTM_DRV_ClearChSC(FTM_Type * const ftmBase, ^~~~~~~~ /locFolder/ftm_common.h:535:53: error: unknown type name 'FTM_Type' static inline uint8_t FTM_DRV_GetChnEdgeLevel(const FTM_Type * ftmBase, ^~~~~~~~ /locFolder/ftm_common.h: In function 'FTM_DRV_GetChnEdgeLevel': /locFolder/ftm_common.h:541:37: error: request for member 'CONTROLS' in something not a structure or union retValue = (uint8_t)((((ftmBase)->CONTROLS[channel].CnSC) & FTM_CnSC_ELSA_MASK) >> FTM_CnSC_ELSA_SHIFT); ^~ /locFolder/ftm_common.h:541:65: error: 'FTM_CnSC_ELSA_MASK' undeclared (first use in this function) retValue = (uint8_t)((((ftmBase)->CONTROLS[channel].CnSC) & FTM_CnSC_ELSA_MASK) >> FTM_CnSC_ELSA_SHIFT); ^~~~~~~~~~~~~~~~~~ /locFolder/ftm_common.h:541:88: error: 'FTM_CnSC_ELSA_SHIFT' undeclared (first use in this function) retValue = (uint8_t)((((ftmBase)->CONTROLS[channel].CnSC) & FTM_CnSC_ELSA_MASK) >> FTM_CnSC_ELSA_SHIFT); ^~~~~~~~~~~~~~~~~~~ /locFolder/ftm_common.h:543:39: error: request for member 'CONTROLS' in something not a structure or union retValue |= (uint8_t)(((((ftmBase)->CONTROLS[channel].CnSC) & FTM_CnSC_ELSB_MASK) >> FTM_CnSC_ELSB_SHIFT) << 1U); ^~ /locFolder/ftm_common.h:543:67: error: 'FTM_CnSC_ELSB_MASK' undeclared (first use in this function) retValue |= (uint8_t)(((((ftmBase)->CONTROLS[channel].CnSC) & FTM_CnSC_ELSB_MASK) >> FTM_CnSC_ELSB_SHIFT) << 1U); ^~~~~~~~~~~~~~~~~~ /locFolder/ftm_common.h:543:90: error: 'FTM_CnSC_ELSB_SHIFT' undeclared (first use in this function) retValue |= (uint8_t)(((((ftmBase)->CONTROLS[channel].CnSC) & FTM_CnSC_ELSB_MASK) >> FTM_CnSC_ELSB_SHIFT) << 1U); ^~~~~~~~~~~~~~~~~~~ /locFolder/ftm_common.h: At top level: /locFolder/ftm_common.h:559:43: error: unknown type name 'FTM_Type' static inline void FTM_DRV_SetChnIcrstCmd(FTM_Type * const ftmBase, ^~~~~~~~ /locFolder/ftm_common.h:580:45: error: unknown type name 'FTM_Type' static inline bool FTM_DRV_IsChnIcrst(const FTM_Type * ftmBase, ^~~~~~~~ /locFolder/ftm_common.h: In function 'FTM_DRV_IsChnIcrst': /locFolder/ftm_common.h:585:23: error: request for member 'CONTROLS' in something not a structure or union return (((ftmBase)->CONTROLS[channel].CnSC) & FTM_CnSC_ICRST_MASK) != 0U; ^~ /locFolder/ftm_common.h:585:51: error: 'FTM_CnSC_ICRST_MASK' undeclared (first use in this function) return (((ftmBase)->CONTROLS[channel].CnSC) & FTM_CnSC_ICRST_MASK) != 0U; ^~~~~~~~~~~~~~~~~~~ /locFolder/ftm_common.h: At top level: /locFolder/ftm_common.h:599:41: error: unknown type name 'FTM_Type' static inline void FTM_DRV_SetChnDmaCmd(FTM_Type * const ftmBase, ^~~~~~~~ /locFolder/ftm_common.h:620:43: error: unknown type name 'FTM_Type' static inline bool FTM_DRV_IsChnDma(const FTM_Type * ftmBase, ^~~~~~~~ /locFolder/ftm_common.h: In function 'FTM_DRV_IsChnDma': /locFolder/ftm_common.h:625:23: error: request for member 'CONTROLS' in something not a structure or union return (((ftmBase)->CONTROLS[channel].CnSC) & FTM_CnSC_DMA_MASK) != 0U; ^~ /locFolder/ftm_common.h:625:51: error: 'FTM_CnSC_DMA_MASK' undeclared (first use in this function) return (((ftmBase)->CONTROLS[channel].CnSC) & FTM_CnSC_DMA_MASK) != 0U; ^~~~~~~~~~~~~~~~~ /locFolder/ftm_common.h: At top level: /locFolder/ftm_common.h:639:50: error: unknown type name 'FTM_Type' static inline void FTM_DRV_SetTrigModeControlCmd(FTM_Type * const ftmBase, ^~~~~~~~ /locFolder/ftm_common.h:660:54: error: unknown type name 'FTM_Type' static inline bool FTM_DRV_GetTriggerControled(const FTM_Type * ftmBase, ^~~~~~~~ /locFolder/ftm_common.h: In function 'FTM_DRV_GetTriggerControled': /locFolder/ftm_common.h:665:23: error: request for member 'CONTROLS' in something not a structure or union return (((ftmBase)->CONTROLS[channel].CnSC) & FTM_CnSC_TRIGMODE_MASK) != 0U; ^~ /locFolder/ftm_common.h:665:51: error: 'FTM_CnSC_TRIGMODE_MASK' undeclared (first use in this function) return (((ftmBase)->CONTROLS[channel].CnSC) & FTM_CnSC_TRIGMODE_MASK) != 0U; ^~~~~~~~~~~~~~~~~~~~~~ /locFolder/ftm_common.h: At top level: /locFolder/ftm_common.h:679:50: error: unknown type name 'FTM_Type' static inline bool FTM_DRV_GetChInputState(const FTM_Type * ftmBase, ^~~~~~~~ /locFolder/ftm_common.h: In function 'FTM_DRV_GetChInputState': /locFolder/ftm_common.h:684:23: error: request for member 'CONTROLS' in something not a structure or union return (((ftmBase)->CONTROLS[channel].CnSC) & FTM_CnSC_CHIS_MASK) != 0U; ^~ /locFolder/ftm_common.h:684:51: error: 'FTM_CnSC_CHIS_MASK' undeclared (first use in this function) return (((ftmBase)->CONTROLS[channel].CnSC) & FTM_CnSC_CHIS_MASK) != 0U; ^~~~~~~~~~~~~~~~~~ /locFolder/ftm_common.h: At top level: /locFolder/ftm_common.h:698:51: error: unknown type name 'FTM_Type' static inline bool FTM_DRV_GetChOutputValue(const FTM_Type * ftmBase, ^~~~~~~~ /locFolder/ftm_common.h: In function 'FTM_DRV_GetChOutputValue': /locFolder/ftm_common.h:703:23: error: request for member 'CONTROLS' in something not a structure or union return (((ftmBase)->CONTROLS[channel].CnSC) & FTM_CnSC_CHOV_MASK) != 0U; ^~ /locFolder/ftm_common.h:703:51: error: 'FTM_CnSC_CHOV_MASK' undeclared (first use in this function) return (((ftmBase)->CONTROLS[channel].CnSC) & FTM_CnSC_CHOV_MASK) != 0U; ^~~~~~~~~~~~~~~~~~ /locFolder/ftm_common.h: At top level: /locFolder/ftm_common.h:716:53: error: unknown type name 'FTM_Type' static inline uint16_t FTM_DRV_GetChnCountVal(const FTM_Type * ftmBase, ^~~~~~~~ /locFolder/ftm_common.h: In function 'FTM_DRV_GetChnCountVal': /locFolder/ftm_common.h:721:32: error: request for member 'CONTROLS' in something not a structure or union return (uint16_t)((ftmBase)->CONTROLS[channel].CnV); ^~ /locFolder/ftm_common.h: At top level: /locFolder/ftm_common.h:736:52: error: unknown type name 'FTM_Type' static inline bool FTM_DRV_GetChnEventStatus(const FTM_Type * ftmBase, ^~~~~~~~ /locFolder/ftm_common.h: In function 'FTM_DRV_GetChnEventStatus': /locFolder/ftm_common.h:741:23: error: request for member 'STATUS' in something not a structure or union return (((ftmBase)->STATUS) & (1UL << channel)) != 0U; ^~ /locFolder/ftm_common.h: At top level: /locFolder/ftm_common.h:753:53: error: unknown type name 'FTM_Type' static inline uint32_t FTM_DRV_GetEventStatus(const FTM_Type * ftmBase) ^~~~~~~~ /locFolder/ftm_common.h: In function 'FTM_DRV_GetEventStatus': /locFolder/ftm_common.h:755:22: error: request for member 'STATUS' in something not a structure or union return ((ftmBase)->STATUS) & (0xFFU); ^~ /locFolder/ftm_common.h: At top level: /locFolder/ftm_common.h:766:48: error: unknown type name 'FTM_Type' static inline void FTM_DRV_ClearChnEventStatus(FTM_Type * const ftmBase, ^~~~~~~~ /locFolder/ftm_common.h:789:45: error: unknown type name 'FTM_Type' static inline void FTM_DRV_SetChnOutputMask(FTM_Type * const ftmBase, ^~~~~~~~ /locFolder/ftm_common.h:816:53: error: unknown type name 'FTM_Type' static inline void FTM_DRV_SetChnOutputInitStateCmd(FTM_Type * const ftmBase, ^~~~~~~~ /locFolder/ftm_common.h:839:44: error: unknown type name 'FTM_Type' static inline void FTM_DRV_DisableFaultInt(FTM_Type * const ftmBase) ^~~~~~~~ /locFolder/ftm_common.h:854:46: error: unknown type name 'FTM_Type' static inline void FTM_DRV_SetCaptureTestCmd(FTM_Type * const ftmBase, ^~~~~~~~ /locFolder/ftm_common.h:870:46: error: unknown type name 'FTM_Type' static inline bool FTM_DRV_IsFtmEnable(const FTM_Type * ftmBase) ^~~~~~~~ /locFolder/ftm_common.h: In function 'FTM_DRV_IsFtmEnable': /locFolder/ftm_common.h:872:21: error: request for member 'MODE' in something not a structure or union return ((ftmBase->MODE & FTM_MODE_FTMEN_MASK) >> FTM_MODE_FTMEN_SHIFT) != 0U; ^~ /locFolder/ftm_common.h:872:30: error: 'FTM_MODE_FTMEN_MASK' undeclared (first use in this function) return ((ftmBase->MODE & FTM_MODE_FTMEN_MASK) >> FTM_MODE_FTMEN_SHIFT) != 0U; ^~~~~~~~~~~~~~~~~~~ /locFolder/ftm_common.h:872:54: error: 'FTM_MODE_FTMEN_SHIFT' undeclared (first use in this function) return ((ftmBase->MODE & FTM_MODE_FTMEN_MASK) >> FTM_MODE_FTMEN_SHIFT) != 0U; ^~~~~~~~~~~~~~~~~~~~ /locFolder/ftm_common.h: At top level: /locFolder/ftm_common.h:886:50: error: unknown type name 'FTM_Type' static inline void FTM_DRV_SetCountReinitSyncCmd(FTM_Type * const ftmBase, ^~~~~~~~ /locFolder/ftm_common.h:903:59: error: unknown type name 'FTM_Type' static inline bool FTM_DRV_IsWriteProtectionEnabled(const FTM_Type * ftmBase) ^~~~~~~~ /locFolder/ftm_common.h: In function 'FTM_DRV_IsWriteProtectionEnabled': /locFolder/ftm_common.h:905:20: error: request for member 'FMS' in something not a structure or union return (ftmBase->FMS & FTM_FMS_WPEN_MASK) != 0U; ^~ /locFolder/ftm_common.h:905:28: error: 'FTM_FMS_WPEN_MASK' undeclared (first use in this function) return (ftmBase->FMS & FTM_FMS_WPEN_MASK) != 0U; ^~~~~~~~~~~~~~~~~ /locFolder/ftm_common.h: At top level: /locFolder/ftm_common.h:919:54: error: unknown type name 'FTM_Type' static inline bool FTM_DRV_IsFaultInputEnabled(const FTM_Type * ftmBase) ^~~~~~~~ /locFolder/ftm_common.h: In function 'FTM_DRV_IsFaultInputEnabled': /locFolder/ftm_common.h:921:20: error: request for member 'FMS' in something not a structure or union return (ftmBase->FMS & FTM_FMS_FAULTIN_MASK) != 0U; ^~ /locFolder/ftm_common.h:921:28: error: 'FTM_FMS_FAULTIN_MASK' undeclared (first use in this function) return (ftmBase->FMS & FTM_FMS_FAULTIN_MASK) != 0U; ^~~~~~~~~~~~~~~~~~~~ /locFolder/ftm_common.h: At top level: /locFolder/ftm_common.h:936:54: error: unknown type name 'FTM_Type' static inline bool FTM_DRV_IsFaultFlagDetected(const FTM_Type * ftmBase, ^~~~~~~~ /locFolder/ftm_common.h: In function 'FTM_DRV_IsFaultFlagDetected': /locFolder/ftm_common.h:941:20: error: request for member 'FMS' in something not a structure or union return (ftmBase->FMS & (FTM_FMS_FAULTF0_MASK << channel)) != 0U; ^~ /locFolder/ftm_common.h:941:29: error: 'FTM_FMS_FAULTF0_MASK' undeclared (first use in this function) return (ftmBase->FMS & (FTM_FMS_FAULTF0_MASK << channel)) != 0U; ^~~~~~~~~~~~~~~~~~~~ /locFolder/ftm_common.h: At top level: /locFolder/ftm_common.h:952:51: error: unknown type name 'FTM_Type' static inline void FTM_DRV_ClearFaultFlagDetected(FTM_Type * const ftmBase, ^~~~~~~~ /locFolder/ftm_common.h:975:48: error: unknown type name 'FTM_Type' static inline void FTM_DRV_SetDualChnInvertCmd(FTM_Type * const ftmBase, ^~~~~~~~ /locFolder/ftm_common.h:1002:50: error: unknown type name 'FTM_Type' static inline void FTM_DRV_SetChnSoftwareCtrlCmd(FTM_Type * const ftmBase, ^~~~~~~~ /locFolder/ftm_common.h:1032:50: error: unknown type name 'FTM_Type' static inline void FTM_DRV_SetChnSoftwareCtrlVal(FTM_Type * const ftmBase, ^~~~~~~~ /locFolder/ftm_common.h:1056:45: error: unknown type name 'FTM_Type' static inline void FTM_DRV_SetGlobalLoadCmd(FTM_Type * const ftmBase) ^~~~~~~~ /locFolder/ftm_common.h:1071:39: error: unknown type name 'FTM_Type' static inline void FTM_DRV_SetLoadCmd(FTM_Type * const ftmBase, ^~~~~~~~ /locFolder/ftm_common.h:1094:44: error: unknown type name 'FTM_Type' static inline void FTM_DRV_SetHalfCycleCmd(FTM_Type * const ftmBase, ^~~~~~~~ /locFolder/ftm_common.h:1117:42: error: unknown type name 'FTM_Type' static inline void FTM_DRV_SetPwmLoadCmd(FTM_Type * const ftmBase, ^~~~~~~~ /locFolder/ftm_common.h:1141:48: error: unknown type name 'FTM_Type' static inline void FTM_DRV_SetPwmLoadChnSelCmd(FTM_Type * const ftmBase, ^~~~~~~~ /locFolder/ftm_common.h:1168:51: error: unknown type name 'FTM_Type' static inline void FTM_DRV_SetInitTrigOnReloadCmd(FTM_Type * const ftmBase, ^~~~~~~~ /locFolder/ftm_common.h:1184:55: error: unknown type name 'FTM_Type' static inline void FTM_DRV_SetGlobalTimeBaseOutputCmd(FTM_Type * const ftmBase, ^~~~~~~~ /locFolder/ftm_common.h:1200:49: error: unknown type name 'FTM_Type' static inline void FTM_DRV_SetGlobalTimeBaseCmd(FTM_Type * const ftmBase, ^~~~~~~~ /locFolder/ftm_common.h:1214:40: error: unknown type name 'FTM_Type' static inline void FTM_DRV_SetLoadFreq(FTM_Type * const ftmBase, ^~~~~~~~ /locFolder/ftm_common.h:1229:52: error: unknown type name 'FTM_Type' static inline void FTM_DRV_SetExtPairDeadtimeValue(FTM_Type * const ftmBase, ^~~~~~~~ /locFolder/ftm_common.h:1268:52: error: unknown type name 'FTM_Type' static inline void FTM_DRV_SetPairDeadtimePrescale(FTM_Type * const ftmBase, ^~~~~~~~ /locFolder/ftm_common.h:1307:49: error: unknown type name 'FTM_Type' static inline void FTM_DRV_SetPairDeadtimeCount(FTM_Type * const ftmBase, ^~~~~~~~ In file included from /locFolder/myModel.h:25:0, from /locFolder/myModel.c:16: /locFolder/ftm_pwm_driver.h:130:51: error: 'FTM_FEATURE_FAULT_CHANNELS' undeclared here (not in a function) ftm_pwm_ch_fault_param_t ftmFaultChannelParam[FTM_FEATURE_FAULT_CHANNELS]; /*!< Fault channels configuration */ ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /locFolder/myModel.c:16:0: /locFolder/myModel.h:26:27: fatal error: clock_manager.h: No such file or directory #include "clock_manager.h" ^ compilation terminated. gmake: *** [myModel.obj] Error 1 The make command returned an error of 2 ### Build procedure for myModel aborted due to an error.