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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

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

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

pastedImage_1.png

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:

pastedImage_4.png

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

pastedImage_2.png

Change the MCU settings:

pastedImage_6.png

Change the build settings:

pastedImage_7.png

pastedImage_8.png

pastedImage_10.png

Change FreeRTOS portable to cortex M0:

pastedImage_11.png

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.

pastedImage_1.png

pastedImage_2.png

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.

pastedImage_2.png

pastedImage_3.png

pastedImage_4.png

pastedImage_5.png

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

pastedImage_6.png

Building result:

pastedImage_1.png

Demo testing result:

pastedImage_1.png

ラベル(2)
タグ(2)
評価なし
バージョン履歴
最終更新日:
‎05-20-2018 06:35 PM
更新者: