aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F4xx/FSMC_NAND/Makefile
diff options
context:
space:
mode:
authorbarthess <barthess@yandex.ru>2015-03-31 00:22:20 +0300
committerbarthess <barthess@yandex.ru>2015-03-31 00:22:20 +0300
commit3aae2d6b821a4ad44c09358ca50baf5dafc57374 (patch)
tree2adea24b41cdf9944cec71010a750fa1621818f3 /testhal/STM32/STM32F4xx/FSMC_NAND/Makefile
parent8c7587372bc8c25a4aab9f46148271a7365bacf6 (diff)
downloadChibiOS-Contrib-3aae2d6b821a4ad44c09358ca50baf5dafc57374.tar.gz
ChibiOS-Contrib-3aae2d6b821a4ad44c09358ca50baf5dafc57374.tar.bz2
ChibiOS-Contrib-3aae2d6b821a4ad44c09358ca50baf5dafc57374.zip
STM32. Updated makefiles.
Diffstat (limited to 'testhal/STM32/STM32F4xx/FSMC_NAND/Makefile')
-rw-r--r--testhal/STM32/STM32F4xx/FSMC_NAND/Makefile24
1 files changed, 14 insertions, 10 deletions
diff --git a/testhal/STM32/STM32F4xx/FSMC_NAND/Makefile b/testhal/STM32/STM32F4xx/FSMC_NAND/Makefile
index 2651d86..5474ee7 100644
--- a/testhal/STM32/STM32F4xx/FSMC_NAND/Makefile
+++ b/testhal/STM32/STM32F4xx/FSMC_NAND/Makefile
@@ -81,26 +81,30 @@ PROJECT = ch
# Imported source files and paths
CHIBIOS = ../../../../..
+# Startup files.
+include $(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC/mk/startup_stm32f4xx.mk
+# HAL-OSAL files (optional).
include $(CHIBIOS)/community/os/hal/hal.mk
-include $(CHIBIOS)/community/os/hal/boards/NONSTANDARD_STM32F4_BARTHESS2/board.mk
include $(CHIBIOS)/community/os/hal/ports/STM32/STM32F4xx/platform.mk
+include $(CHIBIOS)/community/os/hal/boards/NONSTANDARD_STM32F4_BARTHESS2/board.mk
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
+# RTOS files (optional).
include $(CHIBIOS)/os/rt/rt.mk
-include $(CHIBIOS)/os/rt/ports/ARMCMx/compilers/GCC/mk/port_stm32f4xx.mk
-include $(CHIBIOS)/test/rt/test.mk
-
+include $(CHIBIOS)/os/rt/ports/ARMCMx/compilers/GCC/mk/port_v7m.mk
# Define linker script file here
-LDSCRIPT= $(PORTLD)/STM32F407xG.ld
+LDSCRIPT= $(STARTUPLD)/STM32F407xG.ld
# C sources that can be compiled in ARM or THUMB mode depending on the global
# setting.
-CSRC = $(PORTSRC) \
+CSRC = $(STARTUPSRC) \
$(KERNSRC) \
- $(TESTSRC) \
+ $(PORTSRC) \
+ $(OSALSRC) \
$(HALSRC) \
$(PLATFORMSRC) \
$(BOARDSRC) \
+ $(TESTSRC) \
dma_storm_adc.c \
dma_storm_spi.c \
dma_storm_uart.c \
@@ -131,10 +135,10 @@ TCSRC =
TCPPSRC =
# List ASM source files here
-ASMSRC = $(PORTASM)
+ASMSRC = $(STARTUPASM) $(PORTASM) $(OSALASM)
-INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
- $(HALINC) $(OSALINC) $(PLATFORMINC) $(BOARDINC) \
+INCDIR = $(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \
+ $(HALINC) $(PLATFORMINC) $(BOARDINC) $(TESTINC) \
$(CHIBIOS)/os/various