From: Nathael Pajani Date: Thu, 24 Sep 2015 10:32:37 +0000 (+0200) Subject: remote debug X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=853e93b821b8b3bb56ee01181aa107b208f16d45;p=soft%2Flpc122x%2Fcore remote debug --- 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