PN7160A and linux_libnfc-nci on Raspberry Pi 5 2026 64-bit Trixie

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

PN7160A and linux_libnfc-nci on Raspberry Pi 5 2026 64-bit Trixie

34 Views
paulwitulski
Fresh Out Contributor

Hello,

I am trying to bring up a PN7160A for a work project and cannot manage to get any attempt of linux_libnfc-nci to work. The patch is obsolete, lgpiod had a overhaul going to version 2.

Also have to use flag sudo make install CFLAGS="-Wno-error=implicit-function-declaration" "
otherwise I get

"demoapp/main.c: In function ‘onMessageReceived’:
demoapp/main.c:451:5: error: implicit declaration of function ‘PrintNDEFContent’ [-Wimplicit-function-declaration] 451 | PrintNDEFContent(NULL, NULL, message, length);"

I found an old post in 2025 for a PN7150 but when I try to compile I get strange errors such as 'uint8_t' not declared in scope, use <cststdint>. I have the newest Raspberry Pi OS, Trixie Debian 13.6.

Looking for some help, thank you.

 

0 Kudos
Reply
1 Reply

8 Views
KaiLi
NXP TechSupport
NXP TechSupport

Hello @paulwitulski 

Please apply the patch as attachment.

0 Kudos
Reply