added new standalone mode `hf_reblay` by @salmg
[RRG-proxmark3.git] / armsrc / Standalone / Makefile.hal
blob498300ac742e55aa9cbbf909d87325a15569393f
1 # Default standalone if no standalone specified
2 DEFAULT_STANDALONE=HF_MSDSAL
3 HELP_EXAMPLE_STANDALONE=LF_SAMYRUN
4 # (you can set explicitly STANDALONE= to disable standalone modes)
5 STANDALONE?=$(DEFAULT_STANDALONE)
6 STANDALONE_REQ_DEFS=
8 define KNOWN_STANDALONE_DEFINITIONS
9 +==========================================================+
10 | STANDALONE      | DESCRIPTION                            |
11 +==========================================================+
12 | (empty)         | No standalone mode                     |
13 +----------------------------------------------------------+
14 | LF_SKELETON     | standalone mode skeleton               |
15 |                 | - iceman                               |
16 +----------------------------------------------------------+
17 | LF_EM4100EMUL   | Simulate predefined em4100 tags only   |
18 |                 |                                        |
19 +----------------------------------------------------------+
20 | LF_EM4100RSWB   | Read/simulate/brute em4100 tags &      |
21 |                 | clone it to T555x tags                 |
22 +----------------------------------------------------------+
23 | LF_EM4100RWC    | Read/simulate em4100 tags & clone it   |
24 |                 | to T555x tags                          |
25 +----------------------------------------------------------+
26 | LF_HIDBRUTE     | HID corporate 1000 bruteforce          |
27 |                 | - Federico dotta & Maurizio Agazzini   |
28 +----------------------------------------------------------+
29 | LF_ICEHID       | LF HID collector to flashmem           |
30 | (RDV4 only)     |                                        |
31 +----------------------------------------------------------+
32 | LF_NEXID        | LF Nexwatch collector to flashmem      |
33 | (RDV4 only)     |                                        |
34 +----------------------------------------------------------+
35 | LF_PROXBRUTE    | HID ProxII bruteforce                  |
36 |                 | - Brad Antoniewicz                     |
37 +----------------------------------------------------------+
38 | LF_SAMYRUN      | HID26 read/clone/sim                   |
39 |                 | - Samy Kamkar                          |
40 +----------------------------------------------------------+
41 | LF_THAREXDE     | Simulate/read EM4x50 tags              |
42 | (RDV4 only)     | storing in flashmem                    |
43 +----------------------------------------------------------+
44 | HF_14ASNIFF     | 14a sniff to flashmem                  |
45 | (RDV4 only)     |                                        |
46 +----------------------------------------------------------+
47 | HF_AVEFUL       | Mifare ultralight read/simulation      |
48 |                 | - Ave Ozkal                            |
49 +----------------------------------------------------------+
50 | HF_BOG          | 14a sniff with ULC/ULEV1/NTAG auth     |
51 | (RDV4 only)     | storing in flashmem - Bogito           |
52 +----------------------------------------------------------+
53 | HF_COLIN        | Mifare ultra fast sniff/sim/clone      |
54 | (RDV4 only)     | - Colin Brigato                        |
55 +----------------------------------------------------------+
56 | HF_CRAFTBYTE    | UID stealer - Emulates scanned 14a UID |
57 |                 | - Anze Jensterle                       |
58 +----------------------------------------------------------+
59 | HF_ICECLASS     | Simulate HID iCLASS legacy ags         |
60 | (RDV4 only)     | storing in flashmem                    |
61 +----------------------------------------------------------+
62 | HF_LEGIC        | Read/simulate Legic Prime tags         |
63 |                 | storing in flashmem                    |
64 +----------------------------------------------------------+
65 | HF_MATTYRUN     | Mifare sniff/clone                     |
66 |                 | - Matías A. Ré Medina                  |
67 +----------------------------------------------------------+
68 | HF_MSDSAL       | Read and emulate MSD Visa cards        |
69 | (default)       | - Salvador Mendoza                     |
70 +----------------------------------------------------------+
71 | HF_REBLAY       | 14A Relay over BT                      |
72 | (RDV4 only)     |  - Salvador Mendoza                    |
73 +----------------------------------------------------------+
74 | HF_TCPRST       | IKEA Rothult read/sim/dump/emul        |
75 |                 | - Nick Draffen                         |
76 +----------------------------------------------------------+
77 | HF_TMUDFORD     | Read and emulate 15 tags               |
78 |                 | - Tim Mudford                          |
79 +----------------------------------------------------------+
80 | HF_YOUNG        | Mifare sniff/simulation                |
81 |                 | - Craig Young                          |
82 +----------------------------------------------------------+
83 endef
85 STANDALONE_MODES := LF_SKELETON LF_EM4100EMUL LF_EM4100RSWB LF_EM4100RWC LF_HIDBRUTE LF_ICEHID LF_PROXBRUTE LF_SAMYRUN LF_THAREXDE LF_NEXID
86 STANDALONE_MODES += HF_14ASNIFF HF_AVEFUL HF_BOG HF_COLIN HF_CRAFTBYTE HF_ICECLASS HF_LEGIC HF_MATTYRUN HF_MSDSAL HF_TCPRST HF_TMUDFORD HF_YOUNG HF_REBLAY
87 STANDALONE_MODES_REQ_BT := HF_REBLAY
88 STANDALONE_MODES_REQ_SMARTCARD :=
89 STANDALONE_MODES_REQ_FLASH := LF_ICEHID LF_NEXID LF_THAREXDE HF_14ASNIFF HF_BOG HF_COLIN HF_ICECLASS
90 ifneq ($(filter $(STANDALONE),$(STANDALONE_MODES)),)
91     STANDALONE_PLATFORM_DEFS += -DWITH_STANDALONE_$(STANDALONE)
92     ifneq ($(filter $(STANDALONE),$(STANDALONE_MODES_REQ_SMARTCARD)),)
93         STANDALONE_REQ_DEFS += -DWITH_SMARTCARD
94     endif
95     ifneq ($(filter $(STANDALONE),$(STANDALONE_MODES_REQ_FLASH)),)
96         STANDALONE_REQ_DEFS += -DWITH_FLASH
97     endif
98     ifneq ($(filter $(STANDALONE),$(STANDALONE_MODES_REQ_BT)),)
99         STANDALONE_REQ_DEFS += -DWITH_FPC_USART_HOST
100     endif
101 else ifneq ($(STANDALONE),)
102     $(error Invalid STANDALONE: $(STANDALONE). $(KNOWN_DEFINITIONS))
103 endif