diff options
author | Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com> | 2018-01-17 12:37:28 +0100 |
---|---|---|
committer | Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com> | 2018-01-23 17:25:51 +0100 |
commit | 51ccc8881ce1f52410dfa7a2f75ae8df1ac2b20c (patch) | |
tree | a34abc3a4a5f0e6a1406e740696d6ea1643c089d | |
parent | 4a67b59ffbcf150bc48e93011b512bc736e5ec08 (diff) |
README: document openocd build dependencies
And also the haikou.py runtime dependency on python-usb
-rw-r--r-- | companion-controller/README.md | 11 | ||||
-rw-r--r-- | usb-control/README.md | 3 |
2 files changed, 12 insertions, 2 deletions
diff --git a/companion-controller/README.md b/companion-controller/README.md index 226e8cb..fea3473 100644 --- a/companion-controller/README.md +++ b/companion-controller/README.md @@ -23,8 +23,15 @@ To select a specific board set the q7_module variable OpenOCD in Debian Stretch and Ubuntu Xenial are missing the sysfsgpio interface and you have to rebuild it from sourceāµ +Dependencies: +``` +apt install git build-essential libtool autoconf automake +``` + +Compile: + git clone git://repo.or.cz/openocd.git openocd-code cd openocd-code ./bootstrap - ./configure --exec-prefix=~/openocd --prefix=~/openocd --enable-sysfsgpio - make && make install + ./configure --exec-prefix=$HOME/openocd --prefix=$HOME/openocd --enable-sysfsgpio + make && make install
\ No newline at end of file diff --git a/usb-control/README.md b/usb-control/README.md index deb9a0b..74201e2 100644 --- a/usb-control/README.md +++ b/usb-control/README.md @@ -9,6 +9,9 @@ This tool allows to control the **BIOS Disable** and **Power** Button via USB. [PyUSB](http://walac.github.io/pyusb/) [libusb](http://libusb.info/) +``` +apt install python-usb +``` # Usage |