aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32L4xx
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-09-22 16:01:28 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-09-22 16:01:28 +0000
commitdd525d05dbf985837da4616ee52ffb1b732df607 (patch)
tree6e05b97b7c9dde43655f382ecc096ce5abcdb4a5 /testhal/STM32/STM32L4xx
parent43972ad3c82a8f2b0c78b1997d81da162d958ce5 (diff)
downloadChibiOS-dd525d05dbf985837da4616ee52ffb1b732df607.tar.gz
ChibiOS-dd525d05dbf985837da4616ee52ffb1b732df607.tar.bz2
ChibiOS-dd525d05dbf985837da4616ee52ffb1b732df607.zip
Updated LSM6DS0 driver and related STM32 Nucleo F401RE demo
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9770 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32L4xx')
-rw-r--r--testhal/STM32/STM32L4xx/I2C-LSM6DS0/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/testhal/STM32/STM32L4xx/I2C-LSM6DS0/Makefile b/testhal/STM32/STM32L4xx/I2C-LSM6DS0/Makefile
index bdfbb5c70..0a74c53b4 100644
--- a/testhal/STM32/STM32L4xx/I2C-LSM6DS0/Makefile
+++ b/testhal/STM32/STM32L4xx/I2C-LSM6DS0/Makefile
@@ -5,7 +5,7 @@
# Compiler options here.
ifeq ($(USE_OPT),)
- USE_OPT = -O0 -ggdb -fomit-frame-pointer -falign-functions=16
+ USE_OPT = -O2 -ggdb -fomit-frame-pointer -falign-functions=16
endif
# C specific options here (added to USE_OPT).
@@ -203,7 +203,7 @@ CPPWARN = -Wall -Wextra -Wundef
UDEFS = -DCHPRINTF_USE_FLOAT=1 -DSHELL_CMD_TEST_ENABLED=0 \
-DLSM6DS0_USE_ADVANCED=0 -DLSM6DS0_GYRO_USE_ADVANCED=0 \
-DLSM6DS0_ACC_USE_ADVANCED=0
-
+
# Define ASM defines here
UADEFS =