"error: unknown type name" during code generation for S32K1xx MCU

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

"error: unknown type name" during code generation for S32K1xx MCU

1,834 次查看
mohamed_benderr
Contributor II

Hello NXP team,

When i generate the code for my priviate model  (DM_SETMM) i have the following issue: error: unknown type name

Refer to the following

DM_SETMM_private.h:91:39: error: unknown type name 'SwCmdTypeSts'
extern void DM_SETMM_FuF_Command_Init(SwCmdTypeSts *rty_MOT_CmdType, uint16_T
                                       ^~~~~~~~~~~~
DM_SETMM_private.h:93:36: error: unknown type name 'SEATMoveStatus'
   boolean_T *rty_ResetLearningSts, SEATMoveStatus *rty_SEATMovSts, boolean_T
                                    ^~~~~~~~~~~~~~
DM_SETMM_private.h:96:3: error: unknown type name 'rtDW_FuF_Command_DM_SETMM_T'
   rtDW_FuF_Command_DM_SETMM_T *localDW);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
DM_SETMM_private.h:97:40: error: unknown type name 'SwCmdTypeSts'
extern void DM_SETMM_FuF_Command_Start(SwCmdTypeSts *rty_MOT_CmdType, uint16_T
                                        ^~~~~~~~~~~~
DM_SETMM_private.h:99:36: error: unknown type name 'SEATMoveStatus'
   boolean_T *rty_ResetLearningSts, SEATMoveStatus *rty_SEATMovSts, boolean_T
                                    ^~~~~~~~~~~~~~
DM_SETMM_private.h:103:3: error: unknown type name 'SWITDAL_Button_St'
   SWITDAL_Button_St rtu_SWBTN_R3FuFCmd, CAN_R3PwrLktVar rtu_CAN_Row3PwrLkt,
   ^~~~~~~~~~~~~~~~~
DM_SETMM_private.h:103:41: error: unknown type name 'CAN_R3PwrLktVar'
   SWITDAL_Button_St rtu_SWBTN_R3FuFCmd, CAN_R3PwrLktVar rtu_CAN_Row3PwrLkt,
                                         ^~~~~~~~~~~~~~~
DM_SETMM_private.h:104:3: error: unknown type name 'ReclineBtnSwSTS'
   ReclineBtnSwSTS rtu_SWBTN_R3RclrCmd, boolean_T rtu_NormalizedStatus, boolean_T
   ^~~~~~~~~~~~~~~
DM_SETMM_private.h:106:3: error: unknown type name 'CAN_CmdIgnStsVar'
   CAN_CmdIgnStsVar rtu_CAN_CmdIgnSts, boolean_T rtu_SEATCalibReqRtn,
   ^~~~~~~~~~~~~~~~
DM_SETMM_private.h:107:3: error: unknown type name 'MOTLastStopRaison'
   MOTLastStopRaison rtu_MOT_LastStopRaison, boolean_T rtu_LearningStatus,
   ^~~~~~~~~~~~~~~~~
DM_SETMM_private.h:108:70: error: unknown type name 'NvmpLogProc'
   uint16_T rtu_t_IgnStartTime, boolean_T rtu_LogisticMode_Dis, const NvmpLogProc
                                                                      ^~~~~~~~~~~
DM_SETMM_private.h:109:56: error: unknown type name 'CarPROXIVar'
   *rtu_pLogProParam, boolean_T rtu_PlantModeSts, const CarPROXIVar
                                                        ^~~~~~~~~~~
DM_SETMM_private.h:110:61: error: unknown type name 'SwCmdTypeSts'
   *rtu_SEATMM_CarPROXIVar, uint8_T rtu_NvmUnFldRelearn_Cnt, SwCmdTypeSts
                                                             ^~~~~~~~~~~~
DM_SETMM_private.h:112:36: error: unknown type name 'SEATMoveStatus'
   boolean_T *rty_ResetLearningSts, SEATMoveStatus *rty_SEATMovSts, boolean_T
                                    ^~~~~~~~~~~~~~
DM_SETMM_private.h:114:25: error: unknown type name 'rtDW_FuF_Command_DM_SETMM_T'
   *rty_LearnInProgress, rtDW_FuF_Command_DM_SETMM_T *localDW);
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
gmake: *** [DM_SETMM.o] Error 1
### Build procedure for model: 'DM_SETMM' aborted due to an error.

All the variables in green are declared as an "Enum datatype"

Could you please tell me what is the root cause an if there are any solution

thanks in advance

0 项奖励
回复
1 回复

1,640 次查看
mariuslucianand
NXP Employee
NXP Employee

Hello mohamed.benderradji@faurecia.com‌,

Can you send us your model?

Marius

0 项奖励
回复