Skip to content

Commit 8151ed1

Browse files
committed
Add ESP-IDF component manifest
1 parent e9c727c commit 8151ed1

2 files changed

Lines changed: 49 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# ESP-IDF component manifest for M5Unit-RFID.
2+
# MFRC522 / WS1850S are I2C polling devices (no GPIO ISR / SPI / crypto on the
3+
# host side), so unlike M5Unit-NFC this component needs no driver / mbedtls
4+
# dependency. MIFARE authentication runs on-chip via the MFAuthent command.
5+
file(GLOB_RECURSE SRCS "src/*.cpp")
6+
idf_component_register(
7+
SRCS ${SRCS}
8+
INCLUDE_DIRS "src"
9+
REQUIRES M5UnitUnified M5Unit-NFC
10+
PRIV_REQUIRES M5Utility
11+
)

idf_component.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
description: Library for M5Stack UNIT RFID using M5UnitUnified.
2+
url: https://github.com/m5stack/M5Unit-RFID
3+
issues: https://github.com/m5stack/M5Unit-RFID/issues
4+
license: MIT
5+
version: "0.0.2"
6+
7+
dependencies:
8+
idf: ">=5.0"
9+
m5stack/M5Unit-NFC:
10+
git: https://github.com/m5stack/M5Unit-NFC.git
11+
version: main
12+
m5stack/M5UnitUnified:
13+
git: https://github.com/m5stack/M5UnitUnified.git
14+
version: main
15+
16+
targets:
17+
- esp32
18+
- esp32s3
19+
- esp32c3
20+
- esp32c6
21+
- esp32h2
22+
- esp32p4
23+
24+
files:
25+
exclude:
26+
- "docs/**"
27+
- "examples/**"
28+
- "test/**"
29+
- "boards/**"
30+
- ".github/**"
31+
- "datasheet/**"
32+
- "tmp/**"
33+
- "platformio.ini"
34+
- "library.json"
35+
- "library.properties"
36+
- "follow_nfc_examples.sh"
37+
- "plus_update.ini"
38+
- "*_env.ini"

0 commit comments

Comments
 (0)