-
Notifications
You must be signed in to change notification settings - Fork 321
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[arduino][adafruit]增加PN532驱动库 (#1422)
* [arduino][adafruit]增加PN532驱动库 * Update Kconfig * Update package.json Co-authored-by: Man, Jianting (Meco) <[email protected]>
- Loading branch information
1 parent
41ab683
commit 16239dc
Showing
3 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
# Kconfig file for package Adafruit-PN532 | ||
menuconfig PKG_USING_ARDUINO_ADAFRUIT_PN532 | ||
bool "Adafruit PN532: NFC/RFID driver" | ||
select PKG_USING_RTDUINO | ||
select RTDUINO_USING_WIRE | ||
select RTDUINO_USING_SPI | ||
select PKG_USING_ARDUINO_ADAFRUIT_BUSIO | ||
default n | ||
|
||
if PKG_USING_ARDUINO_ADAFRUIT_PN532 | ||
|
||
config PKG_ARDUINO_ADAFRUIT_PN532_PATH | ||
string | ||
default "/packages/arduino/signalio/Adafruit-PN532" | ||
|
||
choice | ||
prompt "Version" | ||
default PKG_USING_ARDUINO_ADAFRUIT_PN532_LATEST_VERSION | ||
help | ||
Select the package version | ||
|
||
config PKG_USING_ARDUINO_ADAFRUIT_PN532_LATEST_VERSION | ||
bool "latest" | ||
endchoice | ||
|
||
config PKG_ARDUINO_ADAFRUIT_PN532_VER | ||
string | ||
default "latest" if PKG_USING_ARDUINO_ADAFRUIT_PN532_LATEST_VERSION | ||
|
||
endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"name": "Adafruit-PN532", | ||
"description": "Adafruit PN532 NFC/RFID driver", | ||
"description_zh": "Adafruit PN532 NFC/RFID驱动", | ||
"enable": "PKG_USING_ARDUINO_ADAFRUIT_PN532", | ||
"keywords": [ | ||
"Adafruit-PN532", | ||
"PN532", | ||
"NFC/RFID", | ||
"I2C", | ||
"SPI", | ||
"arduino", | ||
"Adafruit", | ||
"Signal", | ||
"Input/Output" | ||
], | ||
"category": "arduino/signalio", | ||
"author": { | ||
"name": "adafruit", | ||
"email": "[email protected]", | ||
"github": "adafruit" | ||
}, | ||
"license": "BSD-3-Clause", | ||
"repository": "https://github.com/adafruit/Adafruit-PN532", | ||
"icon": "unknown", | ||
"homepage": "https://github.com/adafruit/Adafruit-PN532#readme", | ||
"doc": "unknown", | ||
"site": [ | ||
{ | ||
"version": "latest", | ||
"URL": "https://github.com/adafruit/Adafruit-PN532.git", | ||
"filename": "", | ||
"VER_SHA": "master" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters