This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

GDB debug of SDK examples in Eclipse

Hello,

I am using an Eclipse GCC environment with the following setup:

  • Ubuntu -> 14.04 (Trusty Tahr)
  • Eclipse IDE for C/C++ Developers -> Version: Luna Service Release 1a (4.4.1)
  • GNU ARM Embedded Toolchain -> gcc-arm-none-eabi=4.9.3.2014q4-0trusty12
  • J-Link -> jlink_4.96.8_x86_64.deb
  • Softdevice -> s110_nrf51822_7.1.0
  • Nordic SDK -> nRF51 SDK v. 7.2.0
  • GNU ARM Eclipse plug-ins
  • nRF51822-QFAA-G0

To compile the blinky project was not as much an afford as to start the first debug session. I needed to add the -g compiler flag per hand into the make file to make it work. As I have to change every makefile per hand to be able to compile the examples with debug properties I wondered if there is some form of (debug) compiling option which I did not figure out.

any help would be appreciated

Related