aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F4xx/SPI-L3GD20/Makefile
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-06-22 08:34:55 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-06-22 08:34:55 +0000
commit03d5b66b8df079337a2fcddeb966f4fa1abce8f6 (patch)
treeb44dd8bf0c878142f413aabc45abb2f1d984e82d /testhal/STM32/STM32F4xx/SPI-L3GD20/Makefile
parent759c55de0fed1d66338d7836bc8ce223b2ad4f6f (diff)
downloadChibiOS-03d5b66b8df079337a2fcddeb966f4fa1abce8f6.tar.gz
ChibiOS-03d5b66b8df079337a2fcddeb966f4fa1abce8f6.tar.bz2
ChibiOS-03d5b66b8df079337a2fcddeb966f4fa1abce8f6.zip
Updated all L3GD20 related demos
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9648 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32F4xx/SPI-L3GD20/Makefile')
-rw-r--r--testhal/STM32/STM32F4xx/SPI-L3GD20/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/testhal/STM32/STM32F4xx/SPI-L3GD20/Makefile b/testhal/STM32/STM32F4xx/SPI-L3GD20/Makefile
index b37fcca12..db92c1e2c 100644
--- a/testhal/STM32/STM32F4xx/SPI-L3GD20/Makefile
+++ b/testhal/STM32/STM32F4xx/SPI-L3GD20/Makefile
@@ -100,6 +100,7 @@ include $(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC/mk/port_v7m.mk
# Other files (optional).
include $(CHIBIOS)/os/ex/ST/l3gd20.mk
include $(CHIBIOS)/os/hal/lib/streams/streams.mk
+include $(CHIBIOS)/os/various/shell/shell.mk
# Define linker script file here
LDSCRIPT= $(STARTUPLD)/STM32F401xC.ld
@@ -113,8 +114,9 @@ CSRC = $(STARTUPSRC) \
$(HALSRC) \
$(PLATFORMSRC) \
$(BOARDSRC) \
- $(L3GD20SRC) \
+ $(L3GD20SRC) \
$(STREAMSSRC) \
+ $(SHELLSRC) \
usbcfg.c main.c
# C++ sources that can be compiled in ARM or THUMB mode depending on the global
@@ -148,7 +150,7 @@ ASMXSRC = $(STARTUPASM) $(PORTASM) $(OSALASM)
INCDIR = $(CHIBIOS)/os/license \
$(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \
$(HALINC) $(PLATFORMINC) $(BOARDINC) $(L3GD20INC) \
- $(STREAMSINC) $(CHIBIOS)/os/various
+ $(STREAMSINC) $(SHELLINC)
#
# Project, sources and paths
@@ -198,7 +200,8 @@ CPPWARN = -Wall -Wextra -Wundef
#
# List all user C define here, like -D_DEBUG=1
-UDEFS = -DCHPRINTF_USE_FLOAT=1
+UDEFS = -DCHPRINTF_USE_FLOAT=1 -DSHELL_CMD_TEST_ENABLED=0 \
+ -DL3GD20_USE_ADVANCED=0
# Define ASM defines here
UADEFS =