Add portable NFC module

This commit is contained in:
2026-07-20 10:48:38 +08:00
commit 4ed123f87c
25 changed files with 3965 additions and 0 deletions

18
nfc/module.mk Normal file
View File

@@ -0,0 +1,18 @@
# Optional integration fragment for projects that use the Quectel platform
# adapter. Include this file from an application Makefile after setting
# NFC_MODULE_ROOT if the default relative path does not fit.
NFC_MODULE_ROOT ?= ../portable_modules/nfc
SRC_FILES += \
$(NFC_MODULE_ROOT)/src/nfc_service.c \
$(NFC_MODULE_ROOT)/src/nfc_dp1312ea.c \
$(NFC_MODULE_ROOT)/src/nfc_ntag213.c \
$(NFC_MODULE_ROOT)/platform/quectel/nfc_platform_ql.c \
$(NFC_MODULE_ROOT)/vendor/dp1312ea/LPCD.c \
$(NFC_MODULE_ROOT)/vendor/dp1312ea/TypeA.c
INC_DIRS += \
-I$(NFC_MODULE_ROOT)/include \
-I$(NFC_MODULE_ROOT)/src \
-I$(NFC_MODULE_ROOT)/vendor/dp1312ea