From 4d98bd57b6ae8ac668fe531e1b6bc1f3b2fc530f Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sun, 20 Sep 2015 13:09:03 +0200 Subject: [PATCH 1/4] Attitude estimator Q: Fix frame size warning --- src/modules/attitude_estimator_q/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/attitude_estimator_q/CMakeLists.txt b/src/modules/attitude_estimator_q/CMakeLists.txt index fd47087728..a727305b9a 100644 --- a/src/modules/attitude_estimator_q/CMakeLists.txt +++ b/src/modules/attitude_estimator_q/CMakeLists.txt @@ -33,6 +33,8 @@ px4_add_module( MODULE modules__attitude_estimator_q MAIN attitude_estimator_q + COMPILE_FLAGS + -Wframe-larger-than=1400 STACK 1200 SRCS attitude_estimator_q_main.cpp From 8218f8797e34f4fc38b5a464a5ecf97b9fc357dd Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sun, 20 Sep 2015 13:12:51 +0200 Subject: [PATCH 2/4] EKF Fix optimization level --- src/modules/ekf_att_pos_estimator/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/ekf_att_pos_estimator/CMakeLists.txt b/src/modules/ekf_att_pos_estimator/CMakeLists.txt index 9d4ae2de6f..9386cbf9fa 100644 --- a/src/modules/ekf_att_pos_estimator/CMakeLists.txt +++ b/src/modules/ekf_att_pos_estimator/CMakeLists.txt @@ -36,7 +36,7 @@ px4_add_module( COMPILE_FLAGS -Weffc++ -Wframe-larger-than=3400 - + -O3 SRCS ekf_att_pos_estimator_main.cpp ekf_att_pos_estimator_params.c From 673fdd8002ebdf48d2212b143b1940c73e5e8326 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sun, 20 Sep 2015 13:13:02 +0200 Subject: [PATCH 3/4] sdlog2: Fix stack size --- src/modules/sdlog2/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/sdlog2/CMakeLists.txt b/src/modules/sdlog2/CMakeLists.txt index 319e614d34..ddc1b30174 100644 --- a/src/modules/sdlog2/CMakeLists.txt +++ b/src/modules/sdlog2/CMakeLists.txt @@ -36,7 +36,7 @@ px4_add_module( PRIORITY "SCHED_PRIORITY_MAX-30" STACK 1200 COMPILE_FLAGS - -Wframe-larger-than=1400 + -Wframe-larger-than=1500 -Os SRCS sdlog2.c From 8a0277d654eeed672a79efef78e22cec90a42a01 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sun, 20 Sep 2015 13:13:19 +0200 Subject: [PATCH 4/4] Sensors app: Fix optimization level --- src/modules/sensors/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/sensors/CMakeLists.txt b/src/modules/sensors/CMakeLists.txt index 0d498032dd..fdfc2dd774 100644 --- a/src/modules/sensors/CMakeLists.txt +++ b/src/modules/sensors/CMakeLists.txt @@ -37,7 +37,7 @@ px4_add_module( STACK 1200 COMPILE_FLAGS -Wno-type-limits - -Os + -O3 SRCS sensors.cpp sensor_params.c