From 853e93b821b8b3bb56ee01181aa107b208f16d45 Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Thu, 24 Sep 2015 12:32:37 +0200 Subject: [PATCH] remote debug --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f261940..ad467e0 100644 --- a/Makefile +++ b/Makefile @@ -9,8 +9,8 @@ ARCH = armv6-m CROSS_COMPILE ?= arm-none-eabi- CC = $(CROSS_COMPILE)gcc FOPTS = -fno-builtin -ffunction-sections -fdata-sections -ffreestanding -CFLAGS = -Wall -O2 -mthumb -mcpu=$(CPU) $(FOPTS) -LINKOPTS = -static -nostartfiles -nostdlib \ +CFLAGS = -Wall -g -O2 -mthumb -mcpu=$(CPU) $(FOPTS) +LINKOPTS = -static -g -nostartfiles -nostdlib \ -Wl,--gc-sections -Wl,--build-id=none \ -Wl,-Map=$(TARGET_DIR)/lpc_map_$(LPC).map -Tlpc_link_$(LPC).ld -- 2.43.0