diff options
author | Rocco Marco Guglielmi <roccomarco.guglielmi@gmail.com> | 2018-03-08 10:45:49 +0000 |
---|---|---|
committer | Rocco Marco Guglielmi <roccomarco.guglielmi@gmail.com> | 2018-03-08 10:45:49 +0000 |
commit | 962a3cb36e19f9d45974269dd686ec7dc54583ae (patch) | |
tree | 6bf6a053657ef15761698e2ffaeca9c7eca8253e /testex/STM32/STM32F4xx/I2C-LSM303DLHC/Makefile | |
parent | 8d831a5f0a7afbbf0cec353d4a94d6a314d5548d (diff) | |
download | ChibiOS-962a3cb36e19f9d45974269dd686ec7dc54583ae.tar.gz ChibiOS-962a3cb36e19f9d45974269dd686ec7dc54583ae.tar.bz2 ChibiOS-962a3cb36e19f9d45974269dd686ec7dc54583ae.zip |
Updated STM32F4xx/I2C-LSM303DLHC
git-svn-id: https://svn.code.sf.net/p/chibios/svn2/trunk@11630 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'testex/STM32/STM32F4xx/I2C-LSM303DLHC/Makefile')
-rw-r--r-- | testex/STM32/STM32F4xx/I2C-LSM303DLHC/Makefile | 27 |
1 files changed, 10 insertions, 17 deletions
diff --git a/testex/STM32/STM32F4xx/I2C-LSM303DLHC/Makefile b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/Makefile index 37305ed89..363d8023c 100644 --- a/testex/STM32/STM32F4xx/I2C-LSM303DLHC/Makefile +++ b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/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_stm32f4xx.mk
# HAL-OSAL files (optional).
@@ -97,31 +100,24 @@ include $(CHIBIOS)/os/hal/osal/rt/osal.mk # RTOS files (optional).
include $(CHIBIOS)/os/rt/rt.mk
include $(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC/mk/port_v7m.mk
-# Other files (optional).
+# EX files (optional).
include $(CHIBIOS)/os/ex/ST/lsm303dlhc.mk
+
+# Other files (optional).
include $(CHIBIOS)/os/hal/lib/streams/streams.mk
-include $(CHIBIOS)/os/various/shell/shell.mk
# Define linker script file here
LDSCRIPT= $(STARTUPLD)/STM32F401xC.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) \
- $(LSM303DLHCSRC) \
- $(STREAMSSRC) \
- $(SHELLSRC) \
+CSRC = $(ALLCSRC) \
+ $(TESTSRC) \
usbcfg.c 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
@@ -147,10 +143,7 @@ TCPPSRC = ASMSRC =
ASMXSRC = $(STARTUPASM) $(PORTASM) $(OSALASM)
-INCDIR = $(CHIBIOS)/os/license \
- $(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \
- $(HALINC) $(PLATFORMINC) $(BOARDINC) $(LSM303DLHCINC) \
- $(STREAMSINC) $(SHELLINC)
+INCDIR = $(ALLINC) $(TESTINC)
#
# Project, sources and paths
|