From 55212b5e2069743dcc627d0387a1036fb534dbe8 Mon Sep 17 00:00:00 2001 From: Erik Strand <erik.strand@cba.mit.edu> Date: Wed, 4 Dec 2019 23:14:08 -0500 Subject: [PATCH] Add additional setup steps --- openocd/README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/openocd/README.md b/openocd/README.md index 9aabc18..98208ee 100644 --- a/openocd/README.md +++ b/openocd/README.md @@ -39,6 +39,25 @@ make make install ``` +### Additional Setup + +You'll almost certainly end up needing a handful of other helpful tools. Depending on your other +work you may already have many of these on your machine. + +*This command assumes Linux* + +``` +sudo apt install autoconf build-essential cmake libtool libtool-bin libhidapi-dev libusb-dev libusb-1.0-0-dev pkg-config +``` + +Another essential one is [`gdb`](https://www.gnu.org/software/gdb/) (if you want to do any +debugging). Most documents on the web say to install `gdb-arm-none-eabi`, but unless you're using an +older version of `gdb` these days you're going to want `gdb-multiarch`. + +``` +sudo apt install gdb-multiarch +``` + ## Basic Use ### Config files -- GitLab