qurt: Added patch for Eigen to use latest version

Updated to 7.2 Hexagon toolchain

Fixed issuse with stack usage

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-09-24 15:16:00 -07:00
parent 2a60ffd554
commit 1abd61303f
15 changed files with 317 additions and 48 deletions
-5
View File
@@ -1,10 +1,5 @@
include_directories(${CMAKE_CURRENT_BINARY_DIR})
set(V_ARCH v5)
set(HEXAGON_TOOLS_ROOT /opt/6.4.03)
set(TOOLSLIB
${HEXAGON_TOOLS_ROOT}/dinkumware/lib/${V_ARCH}/G0)
px4_qurt_generate_builtin_commands(
OUT ${CMAKE_BINARY_DIR}/apps.h
MODULE_LIST ${module_libraries})
@@ -30,13 +30,16 @@
# POSSIBILITY OF SUCH DAMAGE.
#
############################################################################
set(MODULE_CFLAGS -Weffc++)
if(NOT ${OS} STREQUAL "qurt")
list(APPEND MODULE_CFLAGS -Wframe-larger-than=3400)
endif()
px4_add_module(
MODULE modules__ekf_att_pos_estimator
MAIN ekf_att_pos_estimator
COMPILE_FLAGS
-Weffc++
-Wframe-larger-than=3400
-O3
COMPILE_FLAGS ${MODULE_CFLAGS}
SRCS
ekf_att_pos_estimator_main.cpp
ekf_att_pos_estimator_params.c
@@ -30,12 +30,15 @@
# POSSIBILITY OF SUCH DAMAGE.
#
############################################################################
set(MODULE_CFLAGS)
if(NOT ${OS} STREQUAL "qurt")
list(APPEND MODULE_CFLAGS -Wframe-larger-than=3800)
endif()
px4_add_module(
MODULE modules__position_estimator_inav
MAIN position_estimator_inav
STACK 1200
COMPILE_FLAGS
-Wframe-larger-than=3800
COMPILE_FLAGS ${MODULE_CFLAGS}
SRCS
position_estimator_inav_main.c
+8 -3
View File
@@ -30,13 +30,18 @@
# POSSIBILITY OF SUCH DAMAGE.
#
############################################################################
set(MIXER_CFLAGS -Os)
if(${OS} STREQUAL "qurt")
list(APPEND MIXER_CFLAGS -Wframe-larger-than=2176)
else()
list(APPEND MIXER_CFLAGS -Wframe-larger-than=2048)
endif()
px4_add_module(
MODULE systemcmds__mixer
MAIN mixer
STACK 4096
COMPILE_FLAGS
-Wframe-larger-than=2048
-Os
COMPILE_FLAGS ${MIXER_CFLAGS}
SRCS
mixer.cpp
DEPENDS