From 234e144d5d5aba4fcbe1a9fd9563023f1ca81a57 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Sat, 22 Oct 2011 02:06:35 +0000 Subject: [PATCH] Add debug flag by default, no need not to have it in the elf. --- example/blink/Makefile | 2 +- example/lcd/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/blink/Makefile b/example/blink/Makefile index 1b310b1..0f4f712 100644 --- a/example/blink/Makefile +++ b/example/blink/Makefile @@ -4,7 +4,7 @@ BIN_IMAGE=blink.bin CC=arm-none-eabi-gcc OBJCOPY=arm-none-eabi-objcopy -CFLAGS=-O2 -mlittle-endian -mthumb +CFLAGS=-O2 -mlittle-endian -mthumb -g CFLAGS+=-mcpu=cortex-m3 -ffreestanding -nostdlib -nostdinc # to run from SRAM diff --git a/example/lcd/Makefile b/example/lcd/Makefile index 0febe49..0f31ae6 100644 --- a/example/lcd/Makefile +++ b/example/lcd/Makefile @@ -2,7 +2,7 @@ ELF=lcd.elf CC=arm-none-eabi-gcc -CFLAGS=-O2 -mlittle-endian -mthumb +CFLAGS=-O2 -mlittle-endian -mthumb -g CFLAGS+=-mcpu=cortex-m3 -ffreestanding -nostdlib -nostdinc CFLAGS+=-I. -- 2.47.2