nfc-tools / libnfc

Platform independent Near Field Communication (NFC) library
http://nfc-tools.org
GNU Lesser General Public License v3.0
1.64k stars 436 forks source link

Create PN532 UART sample config for Raspberry Pi 5, fix older Raspberry Pi configuration #731

Open reinhart1010 opened 1 month ago

reinhart1010 commented 1 month ago

The Raspberry Pi 5 no longer includes the /dev/ttyS0 address to access the PN532 module via UART (since mini UART has been removed). Multiple sources confirm that the address is removed in favor of /dev/ttyAMA0.

Additionally, the configuration files have been changed since Raspberry Pi OS Bookworm, i.e. from /boot/config.txt to /boot/firmware/config.txt.

Sources: