From 84e0f76cf9d77da0eba59243e907065b6d058804 Mon Sep 17 00:00:00 2001 From: wink <fa@art-core.org> Date: Tue, 23 Jul 2019 19:00:17 +0000 Subject: [PATCH] docs: Update debugger.rst - Ubuntu instructions Closes !34 --- Documentation/debugger.rst | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/Documentation/debugger.rst b/Documentation/debugger.rst index 58d54aa1..39e19c1c 100644 --- a/Documentation/debugger.rst +++ b/Documentation/debugger.rst @@ -23,12 +23,16 @@ the following commands: $ git submodule update --init $ ./bootstrap $ ./configure --disable-werror - $ make -j8 Make sure ``CMSIS-DAP Compliant Debugger`` is set to **yes (auto)** after -running ``./configure`` (if it is not, you might need to install libusb). If -you get errors making the documentation you can ``touch doc/openocd.info`` to -skip it and continue with ``make``. +running ``./configure`` (if it is not, you might need to install ``libhidapi-dev`` +(Ubuntu)). If you get errors making the documentation you can +``touch doc/openocd.info`` to skip it and continue with ``make``. + +.. code-block:: shell-session + + $ make -j8 + Please run ``make install`` after removing any already installed OpenOCD version. Otherwise please always specify the full path to OpenOCD (the binary @@ -45,7 +49,8 @@ GDB (``arm-none-eabi-gdb``) Apart from OpenOCD you also need ``arm-none-eabi-gdb``. You should install that package from your distros repositories: -* Ubuntu: ``gdb-arm-none-eabi`` +* Ubuntu (older): ``gdb-arm-none-eabi`` +* Ubuntu (newer): ``gdb-multiarch`` * Arch: ``arm-none-eabi-gdb`` Debugging -- GitLab