diff options
author | Pavel Kirienko <pavel.kirienko@gmail.com> | 2015-01-17 22:35:59 +0300 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-01-21 14:54:24 +0100 |
commit | 1d13edcf9221cfeabfe23eeff046dd7324f532b8 (patch) | |
tree | 410569a218c65913d868099893b3b22f15f52dab /src/modules | |
parent | f49f183f74be7d602fee6a1192538273d3d11cac (diff) | |
download | px4-firmware-1d13edcf9221cfeabfe23eeff046dd7324f532b8.tar.gz px4-firmware-1d13edcf9221cfeabfe23eeff046dd7324f532b8.tar.bz2 px4-firmware-1d13edcf9221cfeabfe23eeff046dd7324f532b8.zip |
Stack checks made optional: ENABLE_STACK_CHECKS
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/uavcan/module.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/uavcan/module.mk b/src/modules/uavcan/module.mk index 4d1b7156b..a3c6e46a0 100644 --- a/src/modules/uavcan/module.mk +++ b/src/modules/uavcan/module.mk @@ -40,7 +40,8 @@ MODULE_COMMAND = uavcan MAXOPTIMIZATION = -O3 -INSTRUMENTATIONDEFINES = -fno-instrument-functions -ffixed-r10 +# Instrumentation makes the CPU load about 3 times higher, see https://github.com/PX4/Firmware/issues/1417 +INSTRUMENTATIONDEFINES += -fno-instrument-functions # Main SRCS += uavcan_main.cpp \ |