2022-07-26 15:30:49 +00:00
|
|
|
Import("env")
|
|
|
|
|
|
|
|
env.Append(
|
|
|
|
CPPPATH=[
|
|
|
|
"#/lib/nfc",
|
|
|
|
],
|
2022-11-04 07:01:44 +00:00
|
|
|
SDK_HEADERS=[
|
NFC refactoring (#3050)
"A long time ago in a galaxy far, far away...." we started NFC subsystem refactoring.
Starring:
- @gornekich - NFC refactoring project lead, architect, senior developer
- @gsurkov - architect, senior developer
- @RebornedBrain - senior developer
Supporting roles:
- @skotopes, @DrZlo13, @hedger - general architecture advisors, code review
- @Astrrra, @doomwastaken, @Hellitron, @ImagineVagon333 - quality assurance
Special thanks:
@bettse, @pcunning, @nxv, @noproto, @AloneLiberty and everyone else who has been helping us all this time and contributing valuable knowledges, ideas and source code.
2023-10-24 03:08:09 +00:00
|
|
|
# Main
|
|
|
|
File("nfc.h"),
|
2022-11-12 10:03:22 +00:00
|
|
|
File("nfc_device.h"),
|
NFC refactoring (#3050)
"A long time ago in a galaxy far, far away...." we started NFC subsystem refactoring.
Starring:
- @gornekich - NFC refactoring project lead, architect, senior developer
- @gsurkov - architect, senior developer
- @RebornedBrain - senior developer
Supporting roles:
- @skotopes, @DrZlo13, @hedger - general architecture advisors, code review
- @Astrrra, @doomwastaken, @Hellitron, @ImagineVagon333 - quality assurance
Special thanks:
@bettse, @pcunning, @nxv, @noproto, @AloneLiberty and everyone else who has been helping us all this time and contributing valuable knowledges, ideas and source code.
2023-10-24 03:08:09 +00:00
|
|
|
File("nfc_listener.h"),
|
|
|
|
File("nfc_poller.h"),
|
|
|
|
File("nfc_scanner.h"),
|
|
|
|
# Protocols
|
|
|
|
File("protocols/iso14443_3a/iso14443_3a.h"),
|
|
|
|
File("protocols/iso14443_3b/iso14443_3b.h"),
|
|
|
|
File("protocols/iso14443_4a/iso14443_4a.h"),
|
|
|
|
File("protocols/iso14443_4b/iso14443_4b.h"),
|
|
|
|
File("protocols/mf_ultralight/mf_ultralight.h"),
|
|
|
|
File("protocols/mf_classic/mf_classic.h"),
|
|
|
|
File("protocols/mf_desfire/mf_desfire.h"),
|
|
|
|
File("protocols/slix/slix.h"),
|
|
|
|
File("protocols/st25tb/st25tb.h"),
|
|
|
|
# Pollers
|
|
|
|
File("protocols/iso14443_3a/iso14443_3a_poller.h"),
|
|
|
|
File("protocols/iso14443_3b/iso14443_3b_poller.h"),
|
|
|
|
File("protocols/iso14443_4a/iso14443_4a_poller.h"),
|
|
|
|
File("protocols/iso14443_4b/iso14443_4b_poller.h"),
|
|
|
|
File("protocols/mf_ultralight/mf_ultralight_poller.h"),
|
|
|
|
File("protocols/mf_classic/mf_classic_poller.h"),
|
|
|
|
File("protocols/mf_desfire/mf_desfire_poller.h"),
|
|
|
|
File("protocols/st25tb/st25tb_poller.h"),
|
|
|
|
# Listeners
|
|
|
|
File("protocols/iso14443_3a/iso14443_3a_listener.h"),
|
|
|
|
File("protocols/iso14443_4a/iso14443_4a_listener.h"),
|
|
|
|
File("protocols/mf_ultralight/mf_ultralight_listener.h"),
|
|
|
|
File("protocols/mf_classic/mf_classic_listener.h"),
|
|
|
|
# Sync API
|
|
|
|
File("protocols/iso14443_3a/iso14443_3a_poller_sync_api.h"),
|
|
|
|
File("protocols/mf_ultralight/mf_ultralight_poller_sync_api.h"),
|
|
|
|
File("protocols/mf_classic/mf_classic_poller_sync_api.h"),
|
|
|
|
# Misc
|
|
|
|
File("helpers/nfc_util.h"),
|
|
|
|
File("helpers/iso14443_crc.h"),
|
|
|
|
File("helpers/iso13239_crc.h"),
|
|
|
|
File("helpers/nfc_data_generator.h"),
|
|
|
|
File("helpers/nfc_dict.h"),
|
2022-11-04 07:01:44 +00:00
|
|
|
],
|
2022-07-26 15:30:49 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
libenv = env.Clone(FW_LIB_NAME="nfc")
|
|
|
|
libenv.ApplyLibFlags()
|
|
|
|
|
2023-10-28 14:22:07 +00:00
|
|
|
sources = libenv.GlobRecursive("*.c*")
|
2022-07-26 15:30:49 +00:00
|
|
|
|
|
|
|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
|
|
|
libenv.Install("${LIB_DIST_DIR}", lib)
|
|
|
|
Return("lib")
|