ANFC_reader library interfacing

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

ANFC_reader library interfacing

471 Views
Lakhbir_01
Contributor I

I have been using the nfc and have used the aNfc_readerliberary but


I am getting conflict between AnfcRL_MemMap.h and MemAcc_MemMap.h

getting the following error  :  

In file included from D:/Project/../../../aNFCReaderLibrary/intfs/phpalFelica.h:346,
from D:/Project/../../../../aNFCReaderLibrary/intfs/phNfcLib.h:85,
from D:/Project/WLC/../../../common/inc/phApp_Init.h:24,
from ../common/src/phApp_Init.c:13:
D:/Project/../../../../comps/phStubs/include/non_autosar/S32K3XX/AnfcRL_MemMap.h:7184:6: error: #error "MemMap.h, no valid memory mapping symbol defined."
7184 | #error "MemMap.h, no valid memory mapping symbol defined."

0 Kudos
Reply
1 Reply

452 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Lakhbir_01,

This question needs to be redirected to the aNFC library team (contact: automotive_nfc@nxp.com), as we do not support the automotive NFC library through this support channel.

However, normally the MemMap error means that another module has already defined a section macro before the NFC library tries to define its own. If zero or more than one symbols are defined, this will cause errors.

Please check if you have all of the symbols necessary in your project's settings, or if you have all of the packages that aNFC library asks for integration.

Best regards,
Julián

 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2329100%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EANFC_reader%20library%20interfacing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2329100%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20have%20been%20using%20the%20nfc%20and%20have%20used%20the%20aNfc_readerliberary%20but%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EI%20am%20getting%20conflict%20between%20AnfcRL_MemMap.h%20and%20MemAcc_MemMap.h%3CBR%20%2F%3E%3CBR%20%2F%3Egetting%20the%20following%20error%26nbsp%3B%20%3A%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20file%20included%20from%20D%3A%2FProject%2F..%2F..%2F..%2FaNFCReaderLibrary%2Fintfs%2FphpalFelica.h%3A346%2C%3CBR%20%2F%3Efrom%20D%3A%2FProject%2F..%2F..%2F..%2F..%2FaNFCReaderLibrary%2Fintfs%2FphNfcLib.h%3A85%2C%3CBR%20%2F%3Efrom%20D%3A%2FProject%2FWLC%2F..%2F..%2F..%2Fcommon%2Finc%2FphApp_Init.h%3A24%2C%3CBR%20%2F%3Efrom%20..%2Fcommon%2Fsrc%2FphApp_Init.c%3A13%3A%3CBR%20%2F%3ED%3A%2FProject%2F..%2F..%2F..%2F..%2Fcomps%2FphStubs%2Finclude%2Fnon_autosar%2FS32K3XX%2FAnfcRL_MemMap.h%3A7184%3A6%3A%20error%3A%20%23error%20%22MemMap.h%2C%20no%20valid%20memory%20mapping%20symbol%20defined.%22%3CBR%20%2F%3E7184%20%7C%20%23error%20%22MemMap.h%2C%20no%20valid%20memory%20mapping%20symbol%20defined.%22%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2329210%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20ANFC_reader%20library%20interfacing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2329210%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%2F259893%22%20target%3D%22_blank%22%3E%40Lakhbir_01%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EThis%20question%20needs%20to%20be%20redirected%20to%20the%20aNFC%20library%20team%20(contact%3A%20%3CA%20href%3D%22mailto%3Aautomotive_nfc%40nxp.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Eautomotive_nfc%40nxp.com%3C%2FA%3E)%2C%20as%20we%20do%20not%20support%20the%20automotive%20NFC%20library%20through%20this%20support%20channel.%3C%2FP%3E%0A%3CP%3EHowever%2C%20normally%20the%20MemMap%20error%20means%20that%20another%20module%20has%20already%20defined%20a%20section%20macro%20before%20the%20NFC%20library%20tries%20to%20define%20its%20own.%20If%20zero%20or%20more%20than%20one%20symbols%20are%20defined%2C%20this%20will%20cause%20errors.%3C%2FP%3E%0A%3CP%3EPlease%20check%20if%20you%20have%20all%20of%20the%20symbols%20necessary%20in%20your%20project's%20settings%2C%20or%20if%20you%20have%20all%20of%20the%20packages%20that%20aNFC%20library%20asks%20for%20integration.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3CBR%20%2F%3EJuli%C3%A1n%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E