uint32 startup getAipsRegisterValue(void) and uint32 startup_getControlRegisterValue(void)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

uint32 startup getAipsRegisterValue(void) and uint32 startup_getControlRegisterValue(void)

Jump to solution
1,044 Views
NaYil
Contributor II

Where is the definition of startup_getAipsRegisterValue() and startup_getControlRegisterValue()?

When I enabled the MCAL_ENABLE_USER_MODE_SUPPORT definition in the S32K344 code, the compiler reported an error that it could not find the definitions for both functions.

NaYil_0-1725618744997.png 

With best wishes

 

0 Kudos
Reply
1 Solution
1,002 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @NaYil 

Sorry for the delay. Due to workload, my response might be delayed.

The MCAL_ENABLE_USER_MODE_SUPPORT macro must be added to the project properties under C/C++ Build > Settings > Standard S32DS C Compiler > Preprocessor and Standard S32DS Assembler > Preprocessor. 

Let me know if this works for you. 

 

BR, VaneB

View solution in original post

1 Reply
1,003 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @NaYil 

Sorry for the delay. Due to workload, my response might be delayed.

The MCAL_ENABLE_USER_MODE_SUPPORT macro must be added to the project properties under C/C++ Build > Settings > Standard S32DS C Compiler > Preprocessor and Standard S32DS Assembler > Preprocessor. 

Let me know if this works for you. 

 

BR, VaneB

%3CLINGO-SUB%20id%3D%22lingo-sub-1948991%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Euint32%20startup%20getAipsRegisterValue(void)%20and%20uint32%20startup_getControlRegisterValue(void)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1948991%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EWhere%20is%20the%20definition%20of%20startup_getAipsRegisterValue()%20and%20startup_getControlRegisterValue()%EF%BC%9F%3C%2FP%3E%3CP%3EWhen%20I%20enabled%20the%20MCAL_ENABLE_USER_MODE_SUPPORT%20definition%20in%20the%20S32K344%20code%2C%20the%20compiler%20reported%20an%20error%20that%20it%20could%20not%20find%20the%20definitions%20for%20both%20functions.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22NaYil_0-1725618744997.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22NaYil_0-1725618744997.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F297577iD828D2D73B3F6054%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22NaYil_0-1725618744997.png%22%20alt%3D%22NaYil_0-1725618744997.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWith%20best%20wishes%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1951399%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20uint32%20startup%20getAipsRegisterValue(void)%20and%20uint32%20startup_getControlRegisterValue(void)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1951399%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F239286%22%20target%3D%22_blank%22%3E%40NaYil%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESorry%20for%20the%20delay.%26nbsp%3BDue%20to%20workload%2C%20my%20response%20might%20be%20delayed.%3C%2FP%3E%0A%3CP%3EThe%20MCAL_ENABLE_USER_MODE_SUPPORT%20macro%20must%20be%20added%20to%20the%20project%20properties%20under%20C%2FC%2B%2B%20Build%20%26gt%3B%20Settings%20%26gt%3B%20Standard%20S32DS%20C%20Compiler%20%26gt%3B%20Preprocessor%20and%20Standard%20S32DS%20Assembler%20%26gt%3B%20Preprocessor.%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELet%20me%20know%20if%20this%20works%20for%20you.%26nbsp%3B%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%2C%20VaneB%3C%2FP%3E%3C%2FLINGO-BODY%3E