Skip to content
Snippets Groups Projects
Commit 236dc644 authored by wink's avatar wink
Browse files

Update debugger.rst - Ubuntu instructions

parent 215ecfdf
No related branches found
No related tags found
No related merge requests found
Pipeline #1412 passed
...@@ -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.
Please register or to comment