From: Drew Fisher Date: Sun, 23 Dec 2012 06:20:47 +0000 (-0800) Subject: Add -mthumb to CFLAGS to force Thumb mode X-Git-Url: http://git.mmlx.us/?a=commitdiff_plain;h=b6b6de179ccf93de12be67c2ab7df476d2a5412b;p=stellaris%2Fled_blink.git Add -mthumb to CFLAGS to force Thumb mode Signed-off-by: Drew Fisher Signed-off-by: Matt Mullins --- diff --git a/Makefile b/Makefile index 230d79f..38e4a74 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ CC=$(ARCH)-gcc LD=$(ARCH)-ld OBJCOPY=$(ARCH)-objcopy -CFLAGS=-ggdb -std=gnu99 -mcpu=cortex-m4 -nostdinc -I $(STELLARISWARE)/inc +CFLAGS=-ggdb -std=gnu99 -mthumb -mcpu=cortex-m4 -nostdinc -I $(STELLARISWARE)/inc LDFLAGS=-Tstellaris.t STELLARISWARE=/home/mmullins/projects/stellaris/StellarisWare