PNEV7462C examples don't compile with MCUXpresso

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

PNEV7462C examples don't compile with MCUXpresso

Jump to solution
1,908 Views
Juergen_Abel
Contributor II

For the development board PNEV7462C I try to compile the samples projects from SW3683.zip (NxpNfcRdLib_PN7462_v06.10.00_Pub), following UM10883, but get errors.

All the steps for the PNEV7462C listed in the document UM10883 have been done:
After installing MCUXpresso 11.5.0, VCOM driver, SDK_2.x_FRDM_K82F on WINDOWS 10, the firmware NxpNfcCockpit_04_02_00_Flash.bin and NxpNfcCockpit_28_00_00_EEPROM.bin were installed on the PNEV7462C.
Then "Build configurations/set active/" was set to DebugPN7462AU.

When running "Build all projects", 26 errors are listed, see list below.

Furthermore I tried:
- power supply over USB and over extern power supply --> no success.
- "Build configurations/set active/" to ReleasePN7462AU --> no success.

What am I missing, are there any more configs to be set?

Cheers,

Juergen

 

Problems log:

Description Resource Path Location Type
make: *** [makefile:37: all] Error 2 NfcrdlibEx1_DiscoveryLoop_mcux C/C++ Problem
make: *** [makefile:37: all] Error 2 NfcrdlibEx3_NFCForum_mcux C/C++ Problem
make: *** [makefile:37: all] Error 2 NfcrdlibEx4_MIFAREClassic_mcux C/C++ Problem
make: *** [makefile:37: all] Error 2 NfcrdlibEx5_ISO15693_mcux C/C++ Problem
make: *** [makefile:37: all] Error 2 NfcrdlibEx6_LPCD_mcux C/C++ Problem
make: *** [makefile:37: all] Error 2 NfcrdlibEx8_HCE_T4T_mcux C/C++ Problem
make: *** [makefile:37: all] Error 2 NfcrdlibEx9_NTagI2C_mcux C/C++ Problem
make: *** [makefile:37: all] Error 2 Nfcrdlib_EMVCo_AnalogComplApp_mcux C/C++ Problem
make: *** [makefile:37: all] Error 2 Nfcrdlib_EMVCo_InteropComplApp_mcux C/C++ Problem
make: *** [makefile:37: all] Error 2 Nfcrdlib_EMVCo_LoopBackComplApp_mcux C/C++ Problem
make: *** [makefile:37: all] Error 2 Nfcrdlib_ISO10373_6_PCD_ComplApp_mcux C/C++ Problem
make: *** [makefile:37: all] Error 2 Nfcrdlib_ISO10373_6_PICC_ComplApp_mcux C/C++ Problem
make: *** [makefile:37: all] Error 2 Nfcrdlib_SimplifiedAPI_ISO_mcux C/C++ Problem
make[1]: *** No rule to make target 'C:/Users/abel/Documents/MCUXpressoIDE_11.5.0_7232/workspace/Nfcrdlib_EMVCo_AnalogComplApp.c', needed by 'Nfcrdlib_EMVCo_AnalogComplApp.o'. Stop. Nfcrdlib_EMVCo_AnalogComplApp_mcux C/C++ Problem
make[1]: *** No rule to make target 'C:/Users/abel/Documents/MCUXpressoIDE_11.5.0_7232/workspace/Nfcrdlib_EMVCo_InteropComplApp.c', needed by 'Nfcrdlib_EMVCo_InteropComplApp.o'. Stop. Nfcrdlib_EMVCo_InteropComplApp_mcux C/C++ Problem
make[1]: *** No rule to make target 'C:/Users/abel/Documents/MCUXpressoIDE_11.5.0_7232/workspace/Nfcrdlib_EMVCo_LoopBackComplApp.c', needed by 'Nfcrdlib_EMVCo_LoopBackComplApp.o'. Stop. Nfcrdlib_EMVCo_LoopBackComplApp_mcux C/C++ Problem
make[1]: *** No rule to make target 'C:/Users/abel/Documents/MCUXpressoIDE_11.5.0_7232/workspace/Nfcrdlib_ISO10373_6_PCD_ComplApp.c', needed by 'Nfcrdlib_ISO10373_6_PCD_ComplApp.o'. Stop. Nfcrdlib_ISO10373_6_PCD_ComplApp_mcux C/C++ Problem
make[1]: *** No rule to make target 'C:/Users/abel/Documents/MCUXpressoIDE_11.5.0_7232/workspace/Nfcrdlib_ISO10373_6_PICC_ComplApp.c', needed by 'Nfcrdlib_ISO10373_6_PICC_ComplApp.o'. Stop. Nfcrdlib_ISO10373_6_PICC_ComplApp_mcux C/C++ Problem
make[1]: *** No rule to make target 'C:/Users/abel/Documents/MCUXpressoIDE_11.5.0_7232/workspace/Nfcrdlib_SimplifiedApi_ISO.c', needed by 'Nfcrdlib_SimplifiedApi_ISO.o'. Stop. Nfcrdlib_SimplifiedAPI_ISO_mcux C/C++ Problem
make[1]: *** No rule to make target 'C:/Users/abel/Documents/MCUXpressoIDE_11.5.0_7232/workspace/NfcrdlibEx1_DiscoveryLoop.c', needed by 'NfcrdlibEx1_DiscoveryLoop.o'. Stop. NfcrdlibEx1_DiscoveryLoop_mcux C/C++ Problem
make[1]: *** No rule to make target 'C:/Users/abel/Documents/MCUXpressoIDE_11.5.0_7232/workspace/NfcrdlibEx3_NFCForum.c', needed by 'NfcrdlibEx3_NFCForum.o'. Stop. NfcrdlibEx3_NFCForum_mcux C/C++ Problem
make[1]: *** No rule to make target 'C:/Users/abel/Documents/MCUXpressoIDE_11.5.0_7232/workspace/NfcrdlibEx4_MIFAREClassic.c', needed by 'NfcrdlibEx4_MIFAREClassic.o'. Stop. NfcrdlibEx4_MIFAREClassic_mcux C/C++ Problem
make[1]: *** No rule to make target 'C:/Users/abel/Documents/MCUXpressoIDE_11.5.0_7232/workspace/NfcrdlibEx5_ISO15693.c', needed by 'NfcrdlibEx5_ISO15693.o'. Stop. NfcrdlibEx5_ISO15693_mcux C/C++ Problem
make[1]: *** No rule to make target 'C:/Users/abel/Documents/MCUXpressoIDE_11.5.0_7232/workspace/NfcrdlibEx6_LPCD.c', needed by 'NfcrdlibEx6_LPCD.o'. Stop. NfcrdlibEx6_LPCD_mcux C/C++ Problem
make[1]: *** No rule to make target 'C:/Users/abel/Documents/MCUXpressoIDE_11.5.0_7232/workspace/NfcrdlibEx8_HCE_T4T.c', needed by 'NfcrdlibEx8_HCE_T4T.o'. Stop. NfcrdlibEx8_HCE_T4T_mcux C/C++ Problem
make[1]: *** No rule to make target 'C:/Users/abel/Documents/MCUXpressoIDE_11.5.0_7232/workspace/NfcrdlibEx9_NTagI2C.c', needed by 'NfcrdlibEx9_NTagI2C.o'. Stop. NfcrdlibEx9_NTagI2C_mcux C/C++ Problem

Tags (1)
0 Kudos
1 Solution
1,892 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi

Please compile the PN7462 package according to below steps:
1.  download sw3683.zip,  and unzip it.
2.   create a new workspace.
3.  import projects from file system, 

 

danielchen_4-1647754326965.png

4  click Root directory,  not archive. browse to your unzipped folder, and select folder

 

danielchen_6-1647754385660.png


5.  import projects from filesystem.  please remember to select all demos and uncheck "copy projects into workspace", as below picture shows.   The default is checked with "copy projects into workspace", that will result in compile errors.

danielchen_7-1647754418221.png


6. build demo.  Let's take the PN7462_ex_phExCcid_mcux for example.   
Please see below pictures, compiled successfully.

 

danielchen_8-1647754452234.png

 

Please  retry it according to the steps.  and let me know the results.  It should be OK.


Regards

Daniel

View solution in original post

3 Replies
1,893 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi

Please compile the PN7462 package according to below steps:
1.  download sw3683.zip,  and unzip it.
2.   create a new workspace.
3.  import projects from file system, 

 

danielchen_4-1647754326965.png

4  click Root directory,  not archive. browse to your unzipped folder, and select folder

 

danielchen_6-1647754385660.png


5.  import projects from filesystem.  please remember to select all demos and uncheck "copy projects into workspace", as below picture shows.   The default is checked with "copy projects into workspace", that will result in compile errors.

danielchen_7-1647754418221.png


6. build demo.  Let's take the PN7462_ex_phExCcid_mcux for example.   
Please see below pictures, compiled successfully.

 

danielchen_8-1647754452234.png

 

Please  retry it according to the steps.  and let me know the results.  It should be OK.


Regards

Daniel

892 Views
pathbreaker
Contributor II

Thank you so much!

0 Kudos
1,880 Views
Juergen_Abel
Contributor II

Hello Daniel,

thanks for the suggestion, I found the broken links, when importing with checked "copy projects into workspace" as descibed in UM10883.
If "copy projects into workspace" is unchecked during import, the examples compile.
Maybe UM10883 should be updated, or the broken links in SW3683.zip fixed; for a new developer this is very disturbing...

The examples compile now, but they still don't run; I will open another post for that topic.

Thank you very much for your support, which is sincerely appreciated.