nxp-pn5xx error during compilation on Raspberry Pi (3b+ and 4)

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

nxp-pn5xx error during compilation on Raspberry Pi (3b+ and 4)

1,435 Views
b_ambrozkiewicz
Contributor I

Im trying to install nxp nfc driver (https://github.com/NXPNFCLinux/nxp-pn5xx) on raspberry Pi (both tested 3b+ and 4 model).

I do everything exactly like in video tutorial: https://www.youtube.com/watch?v=TCgCRi-tKxM&feature=youtu.be

 

which is based on: https://www.nxp.com/docs/en/application-note/AN11697.pdf

 

First error came when i did "make bcmrpi_defconfig" command (attached screenshot),
than i get errors:
"drivers/misc/nxp-pn5xx/Kconfig:7: syntax error
drivers/misc/nxp-pn5xx/Kconfig:6: unknown statement "---help---"
(...) " 


because of above error i deleted everything below "---help---" - that helped, i was able to run "make menuconfig"

 

but when i started compilation of Kernel, after couple of hours - it crashed with error (im attaching screenshot)

 

maybe device tree configuration is wrong for above versions of raspberry? i used same like in tutorial - which i also am attaching right now

0 Kudos
2 Replies

1,286 Views
Tarun
Contributor I

change ---help--- to help in drivers/misc/nxp-pn5xx/Kconfig

change pr_warning to pr_warn drivers/misc/nxp-pn5xx/pn5xx_i2c.c

I face the same error when compiling the driver for Linux kernel 5.10

Hope that helped  

0 Kudos

1,411 Views
jimmychan
NXP TechSupport
NXP TechSupport
0 Kudos