1 The project compiles on Linux, Mac OS X and Windows (MinGW/MSYS).
9 - an ARM cross-compiler to compile the firmware
12 and optionally QT for the GUI
15 To compile, just run "make".
20 The following is a complete list of packages required to setup the compile environment yourself. Alternatively you can download an archive of the full environment (see below).
22 1 - Install QT SDK for Windows [1]
24 In the following instructions, we'll assume you installed it to C:\QT
28 Just follow the installation procedure.
29 When asked if you have MinGW installed and for its path, provide:
32 3 - readline-5.0-1-bin [5]
34 From this archive, copy:
35 bin/* to C:\QT\mingw\bin
36 include/* to C:\QT\mingw\include
37 lib/*.a to C:\QT\mingw\lib
39 4 - libusb-win32-device-bin-0.1.12.2 [6]
41 Be careful here, it is *NOT* working with the filter version!
43 include/usb.h to C:\QT\mingw\include
44 lib/gcc/libusb.a to C:\QT\mingw\lib
47 5 - Install DevkitPro [5]
49 You'll need it to compile the firmware (ARM) side.
50 You only need devkitARM, nothing more (no extra lib or anything else)
51 Assuming you installed it to C:\devkitpro, make sure you set
52 the DEVKITARM environment variable to /c/devkitPro/devkitARM :
53 export DEVKITARM=/c/devkitPro/devkitARM
54 Also, add its bin to your PATH:
55 export PATH=$PATH:$DEVKITARM/bin
57 6 - Install Strawberry Perl [6]
59 7 - Setup a few variables
61 In your shell from MSYS, make sure you set QTDIR to your QT installation:
63 And add its bin to your path as well:
64 export PATH=$PATH:$QTDIR/bin
68 [1] http://qt.nokia.com/downloads/sdk-windows-cpp
69 [2] http://downloads.sourceforge.net/mingw/MSYS-1.0.11.exe
70 [3] http://sourceforge.net/projects/gnuwin32/files/readline/5.0-1/readline-5.0-1-bin.zip/download
71 [4] http://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/0.1.12.2/libusb-win32-device-bin-0.1.12.2.tar.gz/download
72 [5] http://sourceforge.net/projects/devkitpro/files/Automated%20Installer/devkitProUpdater-1.5.0.exe/download
73 [6] http://strawberry-perl.googlecode.com/files/strawberry-perl-5.10.1.1.msi
75 Rather than download and install every one of these packages, a new ProxSpace
76 environment archive file will be made available for download on the project
77 page at http://code.google.com/p/proxmark3/downloads/list
79 Download the ProxSpace environment archive and extract it to C:\
85 Tested on OSX 10.10 Yosemite
87 1 - Install Xcode and Xcode Command Line Tools
89 2 - Install Homebrew and dependencies
93 3 - Download DevKitARM for OSX
94 http://sourceforge.net/projects/devkitpro/files/devkitARM/devkitARM_r44/
95 Unpack devkitARM_r44-osx.tar.bz2 to proxmark3 directory.
97 4 - Edit proxmark3/client/Makefile adding path to readline
99 LDLIBS = -L/usr/local/Cellar/readline/6.3.8/lib/ -L/opt/local/lib -L/usr/local/lib ../liblua/liblua.a -lreadline -lpthread -lm
100 CFLAGS = -std=c99 -I/usr/local/Cellar/readline/6.3.8/include/ -I. -I../include -I../common -I/opt/local/include -I../liblua -Wall $(COMMON_FLAGS) -g -O4
102 Replace path /usr/local/Cellar/readline/6.3.8 with your actuall readline path. See homebrew manuals.
106 export DEVKITPRO=$HOME/proxmark3/
107 export DEVKITARM=$DEVKITPRO/devkitARM
108 export PATH=${PATH}:${DEVKITARM}/bin
117 A precompiled DevKitARM cross compiler tool chain package can be found at
118 http://sourceforge.net/projects/devkitpro/files/devkitARM
119 Select the one you need (32bit or 64bit) and unpack to a convinient place, eg
120 $HOME/proxmark3/. It will create a devkitARM/ subdirectory.
122 You will also need a general compiling environment on your computer for
123 the client and the libusb headers. In most distributions you will get all you
124 need with the lsb-package (Linux Standard Base). In debian/ubuntu you simply
125 call `aptitude install lsb libusb-dev libreadline-dev libreadline6`.
127 For the graphical plot view, you might need the qtlibs (debian/ubuntu:
132 export DEVKITPRO=$HOME/proxmark3/
133 export DEVKITARM=$DEVKITPRO/devkitARM
134 export PATH=${PATH}:${DEVKITARM}/bin