aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32F303-DISCOVERY/Makefile
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@gmail.com>2018-03-09 10:45:58 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@gmail.com>2018-03-09 10:45:58 +0000
commitd8333bc79881f47a9bbc9b77903038bbf3433e1b (patch)
tree3fbaca8c7ceef662fbcf1e4550f9454ad79d196f /demos/STM32/RT-STM32F303-DISCOVERY/Makefile
parentf02294d5778d63660480826ebfbe7fadb85f4108 (diff)
downloadChibiOS-d8333bc79881f47a9bbc9b77903038bbf3433e1b.tar.gz
ChibiOS-d8333bc79881f47a9bbc9b77903038bbf3433e1b.tar.bz2
ChibiOS-d8333bc79881f47a9bbc9b77903038bbf3433e1b.zip
Updated all STM32's demo makefiles
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11661 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'demos/STM32/RT-STM32F303-DISCOVERY/Makefile')
-rw-r--r--demos/STM32/RT-STM32F303-DISCOVERY/Makefile22
1 files changed, 8 insertions, 14 deletions
diff --git a/demos/STM32/RT-STM32F303-DISCOVERY/Makefile b/demos/STM32/RT-STM32F303-DISCOVERY/Makefile
index ba4959bcf..0223345e1 100644
--- a/demos/STM32/RT-STM32F303-DISCOVERY/Makefile
+++ b/demos/STM32/RT-STM32F303-DISCOVERY/Makefile
@@ -87,6 +87,9 @@ PROJECT = ch
# Imported source files and paths
CHIBIOS = ../../..
+
+# Licensing files.
+include $(CHIBIOS)/os/license/license.mk
# Startup files.
include $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32f3xx.mk
# HAL-OSAL files (optional).
@@ -107,19 +110,13 @@ LDSCRIPT= $(STARTUPLD)/STM32F303xC.ld
# C sources that can be compiled in ARM or THUMB mode depending on the global
# setting.
-CSRC = $(STARTUPSRC) \
- $(KERNSRC) \
- $(PORTSRC) \
- $(OSALSRC) \
- $(HALSRC) \
- $(PLATFORMSRC) \
- $(BOARDSRC) \
+CSRC = $(ALLCSRC) \
$(TESTSRC) \
main.c
# C++ sources that can be compiled in ARM or THUMB mode depending on the global
# setting.
-CPPSRC =
+CPPSRC = $(ALLCPPSRC)
# C sources to be compiled in ARM mode regardless of the global setting.
# NOTE: Mixing ARM and THUMB mode enables the -mthumb-interwork compiler
@@ -142,13 +139,10 @@ TCSRC =
TCPPSRC =
# List ASM source files here
-ASMSRC =
-ASMXSRC = $(STARTUPASM) $(PORTASM) $(OSALASM)
+ASMSRC = $(ALLASMSRC)
+ASMXSRC = $(ALLXASMSRC)
-INCDIR = $(CHIBIOS)/os/license \
- $(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \
- $(HALINC) $(PLATFORMINC) $(BOARDINC) $(TESTINC) \
- $(CHIBIOS)/os/various
+INCDIR = $(ALLINC) $(TESTINC)
#
# Project, sources and paths