Added NFC compile flag
This commit is contained in:
@@ -28,6 +28,7 @@ ram_storage = []
|
|||||||
verbose = ["debug_ctap", "libtock_drivers/verbose_usb"]
|
verbose = ["debug_ctap", "libtock_drivers/verbose_usb"]
|
||||||
with_ctap1 = ["crypto/with_ctap1"]
|
with_ctap1 = ["crypto/with_ctap1"]
|
||||||
with_ctap2_1 = []
|
with_ctap2_1 = []
|
||||||
|
with_nfc = []
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
elf2tab = "0.6.0"
|
elf2tab = "0.6.0"
|
||||||
|
|||||||
@@ -846,6 +846,13 @@ if __name__ == "__main__":
|
|||||||
help=("Compiles the OpenSK application with backward compatible "
|
help=("Compiles the OpenSK application with backward compatible "
|
||||||
"support for CTAP2.1 protocol."),
|
"support for CTAP2.1 protocol."),
|
||||||
)
|
)
|
||||||
|
main_parser.add_argument(
|
||||||
|
"--nfc",
|
||||||
|
action="append_const",
|
||||||
|
const="with_nfc",
|
||||||
|
dest="features",
|
||||||
|
help=("Compiles the OpenSK application with support for nfc."),
|
||||||
|
)
|
||||||
main_parser.add_argument(
|
main_parser.add_argument(
|
||||||
"--regen-keys",
|
"--regen-keys",
|
||||||
action="store_true",
|
action="store_true",
|
||||||
|
|||||||
Reference in New Issue
Block a user