remove global libusb requirement, add note to compile HID flasher

This commit is contained in:
Philippe Teuwen 2019-09-01 20:02:48 +02:00
commit bd4cce1270
4 changed files with 14 additions and 5 deletions

View file

@ -25,7 +25,7 @@ Install the requirements
```sh ```sh
sudo apt-get install git ca-certificates build-essential libreadline5 libreadline-dev \ sudo apt-get install git ca-certificates build-essential libreadline5 libreadline-dev \
libusb-0.1-4 libusb-dev pkg-config wget gcc-arm-none-eabi libnewlib-dev libqt4-dev pkg-config wget gcc-arm-none-eabi libnewlib-dev libqt4-dev
``` ```
If you don't need the graphical components of the Proxmark3 client, you can skip the installation of `libqt4-dev`. If you don't need the graphical components of the Proxmark3 client, you can skip the installation of `libqt4-dev`.
@ -35,7 +35,7 @@ If you get some (non blocking) error at runtime such as _Gtk-Message: Failed to
## On ArchLinux ## On ArchLinux
```sh ```sh
sudo pacman -Sy base-devel p7zip libusb readline arm-none-eabi-gcc arm-none-eabi-newlib git --needed sudo pacman -Sy base-devel readline arm-none-eabi-gcc arm-none-eabi-newlib git --needed
``` ```
If you want graphical output (such as in `hw tune`): If you want graphical output (such as in `hw tune`):
```sh ```sh

View file

@ -66,7 +66,7 @@ These instructions will show how to setup the environment on OSX to the point wh
2. Install dependencies: 2. Install dependencies:
``` ```
brew install readline libusb-compat qt5 wget pkgconfig brew install readline qt5 wget pkgconfig
brew install RfidResearchGroup/proxmark3/arm-none-eabi-gcc brew install RfidResearchGroup/proxmark3/arm-none-eabi-gcc
``` ```

View file

@ -98,8 +98,8 @@ Enter WSL prompt (`wsl`) and from there, follow the [Linux Installation Instruct
```sh ```sh
sudo apt-get update sudo apt-get update
sudo apt-get install git ca-certificates build-essential libreadline5 libreadline-dev libusb-0.1-4 \ sudo apt-get install git ca-certificates build-essential libreadline5 libreadline-dev \
libusb-dev pkg-config wget gcc-arm-none-eabi libstdc++-arm-none-eabi-newlib \ pkg-config wget gcc-arm-none-eabi libstdc++-arm-none-eabi-newlib \
libqt4-dev libqt4-dev
``` ```

View file

@ -0,0 +1,9 @@
Compilation notes
=================
Besides the global Proxmark3 requirements, this flasher compatible with very old firmwares requires the libusb 0.1 to work.
So you'll need to install the libusb 0.1 package first.
* OSX: libusb-compat
* Debian-alike: libusb-0.1-4 libusb-dev
* Arch: libusb