danielbujak

NFC Library Porting Help

Discussion created by danielbujak on Aug 21, 2018

I'm starting to look at porting the CLRC663 NFC library to an STM32F103 and am hoping I can get some direction/guidance here. I've downloaded the library and as far as I can tell I need to reproduce the functionality in the "lpc_chip_175x_6x".  However, when I try to import the library into my project I'm already encountering build errors:

 

In file included from Drivers/NXP_NFC_Lib/NxpNfcRdLib/types/ph_Status.h:29:0,
                 from Src/nfc/phApp_Init.c:36:
Drivers/NXP_NFC_Lib/NxpNfcRdLib/types/ph_TypeDefs.h:157:17: error: expected identifier before '(' token
 # define FALSE  (false)
                 ^
Drivers/NXP_NFC_Lib/lpc_chip_175x_6x/inc/lpc_types.h:50:15: note: in expansion of macro 'FALSE'
 typedef enum {FALSE = 0, TRUE = !FALSE} Bool;
               ^~~~~
make: *** [Makefile:187: build/phApp_Init.o] Error 1
[Finished in 1.9s with exit code 2]

Am I missing some configurations? Is there any documentation on how to begin with this or any suggestions on where to begin?

Outcomes