Disable instrumentation for the uavcan module

This commit is contained in:
Pavel Kirienko 2015-01-17 20:40:09 +03:00 committed by Lorenz Meier
parent 885077a1c3
commit c2bc298409
2 changed files with 3 additions and 1 deletions

View File

@ -116,7 +116,7 @@ ARCHOPTIMIZATION = $(MAXOPTIMIZATION) \
# enable precise stack overflow tracking
# note - requires corresponding support in NuttX
INSTRUMENTATIONDEFINES = $(ARCHINSTRUMENTATIONDEFINES_$(CONFIG_ARCH))
INSTRUMENTATIONDEFINES ?= $(ARCHINSTRUMENTATIONDEFINES_$(CONFIG_ARCH))
# Language-specific flags
#

View File

@ -40,6 +40,8 @@ MODULE_COMMAND = uavcan
MAXOPTIMIZATION = -Os
INSTRUMENTATIONDEFINES = -fno-instrument-functions
# Main
SRCS += uavcan_main.cpp \
uavcan_clock.cpp \