1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

drivers/pn532 : Expose to Kconfig

Expose configurations to Kconfig
This commit is contained in:
Akshai M 2020-04-25 22:43:04 +05:30
parent 53c988a06c
commit 0277b0facc
2 changed files with 24 additions and 0 deletions

View File

@ -13,6 +13,7 @@ rsource "at86rf215/Kconfig"
rsource "cc110x/Kconfig"
rsource "dose/Kconfig"
rsource "mrf24j40/Kconfig"
rsource "pn532/Kconfig"
source "$(RIOTCPU)/nrf52/radio/nrf802154/Kconfig"
endmenu # Network Device Drivers

23
drivers/pn532/Kconfig Normal file
View File

@ -0,0 +1,23 @@
# Copyright (c) 2020 Freie Universitaet Berlin
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
#
menuconfig KCONFIG_MODULE_PN532
bool "Configure PN532 driver"
depends on MODULE_PN532
help
Configure the PN532 driver using Kconfig.
if KCONFIG_MODULE_PN532
config PN532_BUFFER_LEN
int "Internal buffer size"
default 64
help
The internal buffer is used while reading and writing to PN532 Device.
For large NDEF files, the buffer size may be increased.
Otherwise the files may be written in chunks.
endif # KCONFIG_MODULE_PN532