aboutsummaryrefslogtreecommitdiffstats
path: root/testhal
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-04-30 11:29:58 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-04-30 11:29:58 +0000
commit71f9d7b53726b651df233cee16d83193c6d839ee (patch)
treef196253d59b07385c1f110d5dd4e858f4a920a4c /testhal
parent431d2dd911ffb8204fb2f4d0f242520396d32425 (diff)
downloadChibiOS-71f9d7b53726b651df233cee16d83193c6d839ee.tar.gz
ChibiOS-71f9d7b53726b651df233cee16d83193c6d839ee.tar.bz2
ChibiOS-71f9d7b53726b651df233cee16d83193c6d839ee.zip
Restored LTO in ChibiOS/EX demos
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9388 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal')
-rw-r--r--testhal/STM32/STM32L4xx/I2C-LIS3MLD/Makefile2
-rw-r--r--testhal/STM32/STM32L4xx/I2C-LSM6DS0/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/testhal/STM32/STM32L4xx/I2C-LIS3MLD/Makefile b/testhal/STM32/STM32L4xx/I2C-LIS3MLD/Makefile
index 85a3c2c0b..526ff2310 100644
--- a/testhal/STM32/STM32L4xx/I2C-LIS3MLD/Makefile
+++ b/testhal/STM32/STM32L4xx/I2C-LIS3MLD/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).
diff --git a/testhal/STM32/STM32L4xx/I2C-LSM6DS0/Makefile b/testhal/STM32/STM32L4xx/I2C-LSM6DS0/Makefile
index 81ad9ae53..641eb15d0 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).