mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-03 02:40:35 +08:00
QuRT: move to HexagonTools 7.4 toolchain
Some subsystems error on frame size without the included patches. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -29,12 +29,17 @@
|
||||
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
############################################################################
|
||||
#############################################################################
|
||||
set(MODULE_CFLAGS)
|
||||
if (NOT ${OS} STREQUAL "qurt")
|
||||
list(APPEND MODULE_CFLAGS
|
||||
-Wframe-larger-than=1400)
|
||||
endif()
|
||||
px4_add_module(
|
||||
MODULE modules__attitude_estimator_q
|
||||
MAIN attitude_estimator_q
|
||||
COMPILE_FLAGS
|
||||
-Wframe-larger-than=1400
|
||||
${MODULE_CFLAGS}
|
||||
STACK 1200
|
||||
SRCS
|
||||
attitude_estimator_q_main.cpp
|
||||
|
||||
@@ -30,13 +30,18 @@
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
############################################################################
|
||||
set(MODULE_CFLAGS -Os)
|
||||
|
||||
if(NOT ${OS} STREQUAL "qurt")
|
||||
list(APPEND MODULE_CFLAGS
|
||||
-Wframe-larger-than=2200)
|
||||
endif()
|
||||
px4_add_module(
|
||||
MODULE modules__commander
|
||||
MAIN commander
|
||||
STACK 5000
|
||||
COMPILE_FLAGS
|
||||
-Wframe-larger-than=2200
|
||||
-Os
|
||||
${MODULE_CFLAGS}
|
||||
SRCS
|
||||
commander.cpp
|
||||
commander_params.c
|
||||
|
||||
Reference in New Issue
Block a user