diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-11-15 13:54:01 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-11-15 13:54:01 +0100 |
commit | 54f296ce9d8245845a7a0bf32f5045a44aab40c7 (patch) | |
tree | 78eed8f8c756f671e97052bc54c3fcb1b1f0ad25 /src | |
parent | a7eaf07f4f9d6df54b7602c07ce7fbdf2db700f9 (diff) | |
download | px4-firmware-54f296ce9d8245845a7a0bf32f5045a44aab40c7.tar.gz px4-firmware-54f296ce9d8245845a7a0bf32f5045a44aab40c7.tar.bz2 px4-firmware-54f296ce9d8245845a7a0bf32f5045a44aab40c7.zip |
Sensor drivers: Optimize for size
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/hmc5883/module.mk | 2 | ||||
-rw-r--r-- | src/drivers/l3gd20/module.mk | 2 | ||||
-rw-r--r-- | src/drivers/lsm303d/module.mk | 2 | ||||
-rw-r--r-- | src/drivers/mpu6000/module.mk | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/src/drivers/hmc5883/module.mk b/src/drivers/hmc5883/module.mk index 5daa01dc5..be2ee7276 100644 --- a/src/drivers/hmc5883/module.mk +++ b/src/drivers/hmc5883/module.mk @@ -42,3 +42,5 @@ SRCS = hmc5883.cpp MODULE_STACKSIZE = 1200 EXTRACXXFLAGS = -Weffc++ + +MAXOPTIMIZATION = -Os diff --git a/src/drivers/l3gd20/module.mk b/src/drivers/l3gd20/module.mk index 5630e7aec..3d64d62be 100644 --- a/src/drivers/l3gd20/module.mk +++ b/src/drivers/l3gd20/module.mk @@ -8,3 +8,5 @@ SRCS = l3gd20.cpp MODULE_STACKSIZE = 1200 EXTRACXXFLAGS = -Weffc++ + +MAXOPTIMIZATION = -Os diff --git a/src/drivers/lsm303d/module.mk b/src/drivers/lsm303d/module.mk index b4f3974f4..0421eb113 100644 --- a/src/drivers/lsm303d/module.mk +++ b/src/drivers/lsm303d/module.mk @@ -8,3 +8,5 @@ SRCS = lsm303d.cpp MODULE_STACKSIZE = 1200 EXTRACXXFLAGS = -Weffc++ + +MAXOPTIMIZATION = -Os diff --git a/src/drivers/mpu6000/module.mk b/src/drivers/mpu6000/module.mk index 5b4893b12..da9fcc0fc 100644 --- a/src/drivers/mpu6000/module.mk +++ b/src/drivers/mpu6000/module.mk @@ -42,3 +42,5 @@ SRCS = mpu6000.cpp MODULE_STACKSIZE = 1200 EXTRACXXFLAGS = -Weffc++ + +MAXOPTIMIZATION = -Os |