diff options
author | Rocco Marco Guglielmi <roccomarco.guglielmi@live.com> | 2016-07-10 20:02:39 +0000 |
---|---|---|
committer | Rocco Marco Guglielmi <roccomarco.guglielmi@live.com> | 2016-07-10 20:02:39 +0000 |
commit | 8d4c6ef5b8c18ce3415ec60711296b90fb4da487 (patch) | |
tree | 8b0e972929c07ff9c0b03ab8b1c1df20759f7b69 /testhal/STM32/STM32F3xx/I2C-LSM303DLHC/Makefile | |
parent | d5917172bca6d7add8c7f7b17c77900c8b0fdac0 (diff) | |
download | ChibiOS-8d4c6ef5b8c18ce3415ec60711296b90fb4da487.tar.gz ChibiOS-8d4c6ef5b8c18ce3415ec60711296b90fb4da487.tar.bz2 ChibiOS-8d4c6ef5b8c18ce3415ec60711296b90fb4da487.zip |
EX: LSM303DLHC driver updated to v1.0.0
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9700 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32F3xx/I2C-LSM303DLHC/Makefile')
-rw-r--r-- | testhal/STM32/STM32F3xx/I2C-LSM303DLHC/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/testhal/STM32/STM32F3xx/I2C-LSM303DLHC/Makefile b/testhal/STM32/STM32F3xx/I2C-LSM303DLHC/Makefile index fe15d208b..707dd7bd5 100644 --- a/testhal/STM32/STM32F3xx/I2C-LSM303DLHC/Makefile +++ b/testhal/STM32/STM32F3xx/I2C-LSM303DLHC/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/lsm303dlhc.mk
include $(CHIBIOS)/os/hal/lib/streams/streams.mk
+include $(CHIBIOS)/os/various/shell/shell.mk
# Define linker script file here
LDSCRIPT= $(STARTUPLD)/STM32F303xC.ld
@@ -115,6 +116,7 @@ CSRC = $(STARTUPSRC) \ $(BOARDSRC) \
$(LSM303DLHCSRC) \
$(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) $(LSM303DLHCINC) \
- $(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 \
+ -DLSM303DLHC_ACC_USE_ADVANCED=0 -DLSM303DLHC_COMP_USE_ADVANCED=0
# Define ASM defines here
UADEFS =
|