Browse Source

Merge branch 'cmake-2' into cmake-2-pthread

sbg
Lorenz Meier 10 years ago
parent
commit
d2459a1c8d
  1. 2
      src/modules/attitude_estimator_q/CMakeLists.txt
  2. 2
      src/modules/ekf_att_pos_estimator/CMakeLists.txt
  3. 2
      src/modules/sdlog2/CMakeLists.txt
  4. 2
      src/modules/sensors/CMakeLists.txt

2
src/modules/attitude_estimator_q/CMakeLists.txt

@ -33,6 +33,8 @@
px4_add_module( px4_add_module(
MODULE modules__attitude_estimator_q MODULE modules__attitude_estimator_q
MAIN attitude_estimator_q MAIN attitude_estimator_q
COMPILE_FLAGS
-Wframe-larger-than=1400
STACK 1200 STACK 1200
SRCS SRCS
attitude_estimator_q_main.cpp attitude_estimator_q_main.cpp

2
src/modules/ekf_att_pos_estimator/CMakeLists.txt

@ -36,7 +36,7 @@ px4_add_module(
COMPILE_FLAGS COMPILE_FLAGS
-Weffc++ -Weffc++
-Wframe-larger-than=3400 -Wframe-larger-than=3400
-O3
SRCS SRCS
ekf_att_pos_estimator_main.cpp ekf_att_pos_estimator_main.cpp
ekf_att_pos_estimator_params.c ekf_att_pos_estimator_params.c

2
src/modules/sdlog2/CMakeLists.txt

@ -36,7 +36,7 @@ px4_add_module(
PRIORITY "SCHED_PRIORITY_MAX-30" PRIORITY "SCHED_PRIORITY_MAX-30"
STACK 1200 STACK 1200
COMPILE_FLAGS COMPILE_FLAGS
-Wframe-larger-than=1400 -Wframe-larger-than=1500
-Os -Os
SRCS SRCS
sdlog2.c sdlog2.c

2
src/modules/sensors/CMakeLists.txt

@ -37,7 +37,7 @@ px4_add_module(
STACK 1200 STACK 1200
COMPILE_FLAGS COMPILE_FLAGS
-Wno-type-limits -Wno-type-limits
-Os -O3
SRCS SRCS
sensors.cpp sensors.cpp
sensor_params.c sensor_params.c

Loading…
Cancel
Save