mirror of
https://github.com/nfc-tools/libnfc.git
synced 2025-12-23 18:50:05 +00:00
Create sample config for Raspberry Pi 5
This commit is contained in:
parent
0e8cd450e1
commit
b7bec39cd4
21
contrib/libnfc/pn532_uart_on_rpi_5.conf.sample
Normal file
21
contrib/libnfc/pn532_uart_on_rpi_5.conf.sample
Normal file
@ -0,0 +1,21 @@
|
||||
## Typical configuration file for PN532 device on R-Pi 5 connected using miniUART
|
||||
## Note: Changes have been made to R-Pi 5 with the removal of the /dev/ttyS0 address
|
||||
## in favor of /dev/ttyAMA0. Additionally, the /boot/cmdline.txt has been replaced
|
||||
## with /boot/firmware/cmdline.txt.
|
||||
##
|
||||
## Tested recipe with generic PN532 module (common clones of the Elechouse module)
|
||||
##
|
||||
## To enable uart on GPIO, add this line to bottom of /boot/config.txt
|
||||
## enable_uart=1
|
||||
##
|
||||
## Stop and disable serial console:
|
||||
## $ sudo systemctl stop serial-getty@ttyAMA0.service
|
||||
## $ sudo systemctl disable serial-getty@ttyAMA0.service
|
||||
##
|
||||
## Remove console from /boot/firmware/cmdline.txt by removing:
|
||||
## console=serial0,115200 Save and reboot for changes to take effect.
|
||||
##
|
||||
name = "PN532 board via UART"
|
||||
connstring = pn532_uart:/dev/ttyAMA0
|
||||
allow_intrusive_scan = true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user