Skip to content
Snippets Groups Projects
Verified Commit 84e0f76c authored by wink's avatar wink Committed by rahix
Browse files

docs: Update debugger.rst - Ubuntu instructions

Closes !34
parent d2daf19a
No related branches found
No related tags found
No related merge requests found
...@@ -23,12 +23,16 @@ the following commands: ...@@ -23,12 +23,16 @@ the following commands:
$ git submodule update --init $ git submodule update --init
$ ./bootstrap $ ./bootstrap
$ ./configure --disable-werror $ ./configure --disable-werror
$ make -j8
Make sure ``CMSIS-DAP Compliant Debugger`` is set to **yes (auto)** after 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 running ``./configure`` (if it is not, you might need to install ``libhidapi-dev``
you get errors making the documentation you can ``touch doc/openocd.info`` to (Ubuntu)). If you get errors making the documentation you can
skip it and continue with ``make``. ``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 Please run ``make install`` after removing any already installed OpenOCD
version. Otherwise please always specify the full path to OpenOCD (the binary version. Otherwise please always specify the full path to OpenOCD (the binary
...@@ -45,7 +49,8 @@ GDB (``arm-none-eabi-gdb``) ...@@ -45,7 +49,8 @@ GDB (``arm-none-eabi-gdb``)
Apart from OpenOCD you also need ``arm-none-eabi-gdb``. You should install Apart from OpenOCD you also need ``arm-none-eabi-gdb``. You should install
that package from your distros repositories: 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`` * Arch: ``arm-none-eabi-gdb``
Debugging Debugging
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment