2016-08-31 19:24:19 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
2020-02-15 21:38:35 +08:00
|
|
|
menuconfig DRIVERS_CONTACTLESS
|
|
|
|
bool "Contactless Device Support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Drivers for various contactless devices.
|
|
|
|
|
2020-02-08 15:30:09 +08:00
|
|
|
if DRIVERS_CONTACTLESS
|
|
|
|
|
2016-08-31 19:24:19 +08:00
|
|
|
config CL_MFRC522
|
|
|
|
bool "NXP MFRC522 ISO14443/Mifare Transceiver"
|
|
|
|
default n
|
|
|
|
select SPI
|
|
|
|
---help---
|
|
|
|
This options adds driver support for the MFRC522 ISO14443/Mifare chip.
|
|
|
|
|
|
|
|
if CL_MFRC522
|
|
|
|
|
|
|
|
config MFRC522_SPI_FREQ
|
|
|
|
int "SPI frequency for MFRC522"
|
|
|
|
default 1000000
|
|
|
|
depends on CL_MFRC522
|
|
|
|
|
|
|
|
config CL_MFRC522_DEBUG_TX
|
|
|
|
bool "trace TX frames"
|
|
|
|
default n
|
2019-08-20 01:27:23 +08:00
|
|
|
depends on DEBUG_CONTACTLESS
|
2016-08-31 19:24:19 +08:00
|
|
|
|
|
|
|
config CL_MFRC522_DEBUG_RX
|
|
|
|
bool "trace RX frames"
|
|
|
|
default n
|
2019-08-20 01:27:23 +08:00
|
|
|
depends on DEBUG_CONTACTLESS
|
2016-08-31 19:24:19 +08:00
|
|
|
|
|
|
|
endif # CL_MFRC522
|
|
|
|
|
|
|
|
config CL_PN532
|
|
|
|
bool "pn532 NFC-chip support"
|
|
|
|
default n
|
|
|
|
select SPI
|
|
|
|
---help---
|
|
|
|
This options adds driver support for the PN532 NFC chip.
|
|
|
|
|
|
|
|
if CL_PN532
|
|
|
|
|
|
|
|
config PN532_SPI_FREQ
|
|
|
|
int "SPI frequency for PN532"
|
|
|
|
default 1000000
|
|
|
|
depends on CL_PN532
|
|
|
|
|
|
|
|
config CL_PN532_DEBUG_TX
|
|
|
|
bool "trace TX frames"
|
|
|
|
default n
|
2019-08-20 01:27:23 +08:00
|
|
|
depends on DEBUG_CONTACTLESS
|
2016-08-31 19:24:19 +08:00
|
|
|
|
|
|
|
config CL_PN532_DEBUG_RX
|
|
|
|
bool "trace RX frames"
|
|
|
|
default n
|
2019-08-20 01:27:23 +08:00
|
|
|
depends on DEBUG_CONTACTLESS
|
2016-08-31 19:24:19 +08:00
|
|
|
|
|
|
|
endif # CL_PN532
|
2020-02-08 15:30:09 +08:00
|
|
|
|
|
|
|
endif # DRIVERS_CONTACTLESS
|