mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 02:43:33 +08:00
Disable instrumentation for the uavcan module
This commit is contained in:
committed by
Lorenz Meier
parent
885077a1c3
commit
c2bc298409
@@ -116,7 +116,7 @@ ARCHOPTIMIZATION = $(MAXOPTIMIZATION) \
|
|||||||
|
|
||||||
# enable precise stack overflow tracking
|
# enable precise stack overflow tracking
|
||||||
# note - requires corresponding support in NuttX
|
# note - requires corresponding support in NuttX
|
||||||
INSTRUMENTATIONDEFINES = $(ARCHINSTRUMENTATIONDEFINES_$(CONFIG_ARCH))
|
INSTRUMENTATIONDEFINES ?= $(ARCHINSTRUMENTATIONDEFINES_$(CONFIG_ARCH))
|
||||||
|
|
||||||
# Language-specific flags
|
# Language-specific flags
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -40,6 +40,8 @@ MODULE_COMMAND = uavcan
|
|||||||
|
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
|
|
||||||
|
INSTRUMENTATIONDEFINES = -fno-instrument-functions
|
||||||
|
|
||||||
# Main
|
# Main
|
||||||
SRCS += uavcan_main.cpp \
|
SRCS += uavcan_main.cpp \
|
||||||
uavcan_clock.cpp \
|
uavcan_clock.cpp \
|
||||||
|
|||||||
Reference in New Issue
Block a user