aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32/Makefile.include
diff options
context:
space:
mode:
authorUwe Hermann2010-12-30 02:12:31 +0100
committerUwe Hermann2010-12-30 02:12:31 +0100
commit8e084b1517088036e3db9bbd255b1c231cd2a108 (patch)
tree3951e9861d36a8007e71a41d432329ca63cd81bf /examples/stm32/Makefile.include
parentbcce98da54b047a15ef0abf41e0c7794f29f0439 (diff)
Move STM32-specific source to lib/stm32 subdir.
Diffstat (limited to 'examples/stm32/Makefile.include')
-rw-r--r--examples/stm32/Makefile.include2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32/Makefile.include b/examples/stm32/Makefile.include
index e8034ce..431f6a6 100644
--- a/examples/stm32/Makefile.include
+++ b/examples/stm32/Makefile.include
@@ -29,7 +29,7 @@ TOOLCHAIN_DIR = ../../../..
CFLAGS += -Os -g -Wall -Wextra -I$(TOOLCHAIN_DIR)/include -fno-common \
-mcpu=cortex-m3 -mthumb
LDSCRIPT = $(BINARY).ld
-LDFLAGS += -L$(TOOLCHAIN_DIR)/lib -T$(LDSCRIPT) -nostartfiles \
+LDFLAGS += -L$(TOOLCHAIN_DIR)/lib/stm32 -T$(LDSCRIPT) -nostartfiles \
-Wl,--gc-sections
OBJS += $(BINARY).o