aboutsummaryrefslogtreecommitdiff
path: root/examples/lm4f/Makefile.include
diff options
context:
space:
mode:
Diffstat (limited to 'examples/lm4f/Makefile.include')
-rw-r--r--examples/lm4f/Makefile.include6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/lm4f/Makefile.include b/examples/lm4f/Makefile.include
index 332d24b..5244287 100644
--- a/examples/lm4f/Makefile.include
+++ b/examples/lm4f/Makefile.include
@@ -38,7 +38,7 @@ endif
endif
CFLAGS += -O0 -g3 -Wall -Wextra -I$(TOOLCHAIN_DIR)/include -fno-common \
- -mcpu=cortex-m3 -mthumb -MD -DLM3S
+ -mcpu=cortex-m3 -mthumb -MD -DLM4F
LDSCRIPT ?= $(BINARY).ld
LDFLAGS += -L$(TOOLCHAIN_DIR)/lib \
-T$(LDSCRIPT) -nostartfiles -Wl,--gc-sections
@@ -85,9 +85,9 @@ flash: $(BINARY).flash
@#printf " OBJDUMP $(*).list\n"
$(Q)$(OBJDUMP) -S $(*).elf > $(*).list
-%.elf: $(OBJS) $(LDSCRIPT) $(TOOLCHAIN_DIR)/lib/libopencm3_lm3s.a
+%.elf: $(OBJS) $(LDSCRIPT) $(TOOLCHAIN_DIR)/lib/libopencm3_lm4f.a
@#printf " LD $(subst $(shell pwd)/,,$(@))\n"
- $(Q)$(LD) $(LDFLAGS) -o $(*).elf $(OBJS) -lopencm3_lm3s
+ $(Q)$(LD) $(LDFLAGS) -o $(*).elf $(OBJS) -lopencm3_lm4f
%.o: %.c Makefile
@#printf " CC $(subst $(shell pwd)/,,$(@))\n"