mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-07 03:21:36 +08:00
Merge branch 'master' of github.com:PX4/Firmware into integration
This commit is contained in:
@@ -70,6 +70,14 @@ ARCHCPUFLAGS_CORTEXM3 = -mcpu=cortex-m3 \
|
|||||||
-march=armv7-m \
|
-march=armv7-m \
|
||||||
-mfloat-abi=soft
|
-mfloat-abi=soft
|
||||||
|
|
||||||
|
ARCHINSTRUMENTATIONDEFINES_CORTEXM4F = -finstrument-functions \
|
||||||
|
-ffixed-r10
|
||||||
|
|
||||||
|
ARCHINSTRUMENTATIONDEFINES_CORTEXM4 = -finstrument-functions \
|
||||||
|
-ffixed-r10
|
||||||
|
|
||||||
|
ARCHINSTRUMENTATIONDEFINES_CORTEXM3 =
|
||||||
|
|
||||||
# Pick the right set of flags for the architecture.
|
# Pick the right set of flags for the architecture.
|
||||||
#
|
#
|
||||||
ARCHCPUFLAGS = $(ARCHCPUFLAGS_$(CONFIG_ARCH))
|
ARCHCPUFLAGS = $(ARCHCPUFLAGS_$(CONFIG_ARCH))
|
||||||
@@ -91,8 +99,8 @@ 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 = -finstrument-functions \
|
INSTRUMENTATIONDEFINES = $(ARCHINSTRUMENTATIONDEFINES_$(CONFIG_ARCH))
|
||||||
-ffixed-r10
|
|
||||||
# Language-specific flags
|
# Language-specific flags
|
||||||
#
|
#
|
||||||
ARCHCFLAGS = -std=gnu99
|
ARCHCFLAGS = -std=gnu99
|
||||||
|
|||||||
@@ -43,6 +43,7 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
#include <systemlib/systemlib.h>
|
||||||
#include <systemlib/err.h>
|
#include <systemlib/err.h>
|
||||||
|
|
||||||
static bool thread_should_exit = false; /**< daemon exit flag */
|
static bool thread_should_exit = false; /**< daemon exit flag */
|
||||||
|
|||||||
Reference in New Issue
Block a user