NFC reader library porting guide for LPC11u37h(Ver 5.12) - Porting other demos

Document created by Kan_Li Employee on May 20, 2018Last modified by Kan_Li Employee on May 21, 2018
Version 6Show Document
  • View in full screen mode

Based on NFC reader library porting guide for LPC11u37h(Ver 5.12) ,We have a partial ported NFC reader library like below:

Now, it is time to port other demos in this project. You may choose any demo, but here NfcrdlibEx2_AdvancedDiscoveryLoop is selected.

 

and similar with before, the first step is creating a new build configuration:

then in the project references, choose the LPCopen library for LPC11u37 instead.

Change the MCU settings:

Change the build settings:

Change FreeRTOS portable to cortex M0:

Search "PHDRIVER_LPC1769RC663_BOARD" in the source code of "NfcrdlibEx2_AdvancedDiscoveryLoop" project, and you may simply replace it with "PHDRIVER_LPC11U37RC663_BOARD", and there are only two places needs to be fixed.

Search "PHDRIVER_LPC1769" in the source code of "NfcrdlibEx2_AdvancedDiscoveryLoop" project, and you may simply replace it with "PHDRIVER_LPC11U37". Most changes are in phApp_Init.c.

Also please don't forget to enable optimization for size.

Building result:

Demo testing result:

Attachments

    Outcomes