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
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