nes-proj/platform/galileo
Andre Guedes 1fb7800110 galileo: Add 'debug' rule
This patch the 'debug' rule to simplify the debugging process. This new
rule runs OpenOCD and gdb with the right parameters. OpenOCD runs in
background and its output will be redirected to a log file in the
application's path called LOG_OPENOCD. Once gdb client is detached,
OpenOCD is terminated.

The 'debug' rule is defined in Makefile.customrules-galileo file (create
by this patch) which is included by the Contiki's buildsystem. So to
debug a Contiki application for Galileo board, run the following command:
$ make TARGET=galileo debug

If you use a gdb front-end, you can define the "GDB" environment variable
and your gdb front-end will be used instead of default gdb. For instance,
if you want to use cgdb front-end, just run the command:
$ make BOARD=galileo debug GDB=cgdb
2015-12-21 08:06:14 -02:00
..
bsp galileo: Add 'debug' rule 2015-12-21 08:06:14 -02:00
contiki-conf.h
contiki-main.c
galileo.ld
loader.S
Makefile.customrules-galileo galileo: Add 'debug' rule 2015-12-21 08:06:14 -02:00
Makefile.galileo
newlib-syscalls.c
rtimer-arch.h