Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:uhsdr_dev:toolchain [06.02.2018 20:54] – df9ts_user | en:uhsdr_dev:toolchain [06.02.2018 23:03] (current) – df9ts_user | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{tag> | + | {{tag> |
< | < | ||
Line 57: | Line 57: | ||
</ | </ | ||
- | GDB 7.12 distributed with the initial GCC 6.2 (gcc-arm-none-eabi-6_2-2016q4-20161216) has several issues (crashes on macOS and is incompatible with Neon.2). | + | * Latest GNU MCU OpenOCD |
- | The recommendation is to use the update version gcc-arm-none-eabi-6-2017-q1-update, | + | * This leads e.g. to [[https:// |
- | \\ | + | |
- | === Install | + | |
- | * See [[https:// | + | |
- | * Download from [[https:// | + | |
- | * Latest version is gnu-mcu-eclipse-openocd-0.10.0-5-20171110-1117-debian64.tgz | + | |
- | < | + | Installation: |
< | < | ||
- | $ sudo mkdir -p / | + | $ cd ${HOME}/opt |
- | $ cd /opt/ | + | $ tar xvf ~/ |
- | $ tar xvf /home/gerd/ | + | $ chmod -R -w gnu-mcu-eclipse/ |
</ | </ | ||
- | * Test installation: | + | |
+ | Check OpenOCD | ||
< | < | ||
- | $ /opt/ | + | $ ${HOME}/ |
</ | </ | ||
- | * Output should be like this: | + | Output should be something |
< | < | ||
- | GNU MCU Eclipse 64-bits Open On-Chip Debugger 0.10.0+dev-00254-g2ec04e4e | + | GNU MCU Eclipse 64-bits Open On-Chip Debugger 0.10.0+dev-00404-g20463c28 |
Licensed under GNU GPL v2 | Licensed under GNU GPL v2 | ||
For bug reports, read | For bug reports, read | ||
- | http:// | + | http:// |
</ | </ | ||
- | \\ | + | |
+ | Install UDEV rules for USB OpenOCD probes: | ||
+ | < | ||
+ | # cp ${HOME}/ | ||
+ | # udevadm control --reload-rules | ||
+ | # usermod -aG plugdev $USER | ||
+ | </ | ||
+ | |||
+ | Install OpenOCD Debugging plugin, see [[https:// | ||
+ | |||
+ | Update OpenOCD path, see [[https:// | ||
+ | |||
+ | {{ : | ||
+ | [[https:// | ||
+ | |||
+ | In Virtualbox make sure the STM-link/V2 adapter is connected through to virtual machine (check machine settings-> | ||
+ | |||
+ | In Eclipse hit green " | ||
+ | |||
=== GNU MCU Eclipse and CDT === | === GNU MCU Eclipse and CDT === | ||
* Install Eclipse and CDT | * Install Eclipse and CDT |