aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F1xx/GPT/Makefile
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-08-07 14:43:52 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-08-07 14:43:52 +0000
commitaa865517b8d42665bab0ae03487a7f9dfa9c40f4 (patch)
treefb5a1526038b31754d6f8e98317142087d26dac6 /testhal/STM32F1xx/GPT/Makefile
parent4fca594bd28e6c29e664d9737fef948be234fdb6 (diff)
downloadChibiOS-aa865517b8d42665bab0ae03487a7f9dfa9c40f4.tar.gz
ChibiOS-aa865517b8d42665bab0ae03487a7f9dfa9c40f4.tar.bz2
ChibiOS-aa865517b8d42665bab0ae03487a7f9dfa9c40f4.zip
Centralyzed scatter files for GCC ARMCMx port.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3201 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F1xx/GPT/Makefile')
-rw-r--r--testhal/STM32F1xx/GPT/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/testhal/STM32F1xx/GPT/Makefile b/testhal/STM32F1xx/GPT/Makefile
index a5c76f1c8..1312b4480 100644
--- a/testhal/STM32F1xx/GPT/Makefile
+++ b/testhal/STM32F1xx/GPT/Makefile
@@ -52,10 +52,7 @@ endif
# Define project name here
PROJECT = ch
-# Define linker script file here
-LDSCRIPT= ch.ld
-
-# Imported source files
+# Imported source files and paths
CHIBIOS = ../../..
include $(CHIBIOS)/boards/OLIMEX_STM32_P103/board.mk
include $(CHIBIOS)/os/hal/platforms/STM32/platform.mk
@@ -64,6 +61,9 @@ include $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32/port.mk
include $(CHIBIOS)/os/kernel/kernel.mk
#include $(CHIBIOS)/test/test.mk
+# Define linker script file here
+LDSCRIPT= $(PORTLD)/STM32F103xB.ld
+
# C sources that can be compiled in ARM or THUMB mode depending on the global
# setting.
CSRC = $(PORTSRC) \
@@ -74,7 +74,7 @@ CSRC = $(PORTSRC) \
$(BOARDSRC) \
$(CHIBIOS)/os/various/evtimer.c \
$(CHIBIOS)/os/various/syscalls.c \
- main.c
+ main.c
# C++ sources that can be compiled in ARM or THUMB mode depending on the global
# setting.