2398427_en-US

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

2398427_en-US

2398427_en-US

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

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 . I have the newest Raspberry Pi OS, Trixie Debian 13.6.

Looking for some help, thank you.


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

Hello @paulwitulski 

Please apply the patch as attachment.

Tags (1)
No ratings
Version history
Last update:
Friday
Updated by: