From 8945768c91c5d45cfb853e79599a38721748e536 Mon Sep 17 00:00:00 2001 From: Thomas Eichinger Date: Tue, 2 Sep 2014 10:33:04 +0200 Subject: [PATCH] iot-lab_M3: extend debug target for iot-lab_M3 --- boards/iot-lab_M3/Makefile.include | 2 +- boards/iot-lab_M3/dist/debug.sh | 20 ++++++++++++++------ boards/iot-lab_M3/dist/gdb.conf | 3 +++ 3 files changed, 18 insertions(+), 7 deletions(-) create mode 100644 boards/iot-lab_M3/dist/gdb.conf diff --git a/boards/iot-lab_M3/Makefile.include b/boards/iot-lab_M3/Makefile.include index d2116377ba..94cbba42da 100644 --- a/boards/iot-lab_M3/Makefile.include +++ b/boards/iot-lab_M3/Makefile.include @@ -29,7 +29,7 @@ export LINKFLAGS += -ggdb -g3 -std=gnu99 $(CPU_USAGE) $(FPU_USAGE) -mlittle-endi export LINKFLAGS += -T$(LINKERSCRIPT) export OFLAGS = -O ihex export FFLAGS = $(HEXFILE) -export DEBUGGER_FLAGS = $(ELFFILE) +export DEBUGGER_FLAGS = $(RIOTBOARD)/$(BOARD)/dist/gdb.conf $(ELFFILE) # use the nano-specs of the NewLib when available ifeq ($(shell $(LINK) -specs=nano.specs -E - 2>/dev/null >/dev/null