diff options
Diffstat (limited to 'testhal/STM32F1xx/SDIO/Makefile')
-rw-r--r-- | testhal/STM32F1xx/SDIO/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/testhal/STM32F1xx/SDIO/Makefile b/testhal/STM32F1xx/SDIO/Makefile index cf88c1190..af2aa97d8 100644 --- a/testhal/STM32F1xx/SDIO/Makefile +++ b/testhal/STM32F1xx/SDIO/Makefile @@ -55,7 +55,7 @@ PROJECT = ch # Define linker script file here
LDSCRIPT= ch.ld
-# Imported source files
+# Imported source files and paths
CHIBIOS = ../../..
include $(CHIBIOS)/boards/ST_STM3210E_EVAL/board.mk
include $(CHIBIOS)/os/hal/platforms/STM32/platform.mk
@@ -64,6 +64,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)/STM32F103xE.ld
+
# C sources that can be compiled in ARM or THUMB mode depending on the global
# setting.
CSRC = $(PORTSRC) \
@@ -74,7 +77,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.
|