ekf2: compile at MAX_CUSTOM_OPT_LEVEL

This commit is contained in:
Daniel Agar 2020-11-01 09:45:01 -05:00
parent 1e03285405
commit 880dc6accd
4 changed files with 3 additions and 4 deletions

View File

@ -7,6 +7,7 @@ px4_add_board(
TOOLCHAIN arm-none-eabi
ARCHITECTURE cortex-m4
ROMFSROOT px4fmu_common
CONSTRAINED_FLASH
SERIAL_PORTS
GPS1:/dev/ttyS5
TEL1:/dev/ttyS3

View File

@ -9,7 +9,7 @@ px4_add_board(
ROMFSROOT px4fmu_common
LINKER_PREFIX ocram
# UAVCAN_INTERFACES 2
CONSTRAINED_FLASH
SERIAL_PORTS
GPS1:/dev/ttyS1
TEL1:/dev/ttyS3

View File

@ -52,9 +52,7 @@
#include <systemlib/err.h>
#include <systemlib/mavlink_log.h>
#include <uORB/Publication.hpp>
#include <uORB/topics/debug_key_value.h>
#include <drivers/drv_hrt.h>
#include <math.h>

View File

@ -37,7 +37,7 @@ px4_add_module(
MODULE modules__ekf2
MAIN ekf2
COMPILE_FLAGS
STACK_MAX 2400
${MAX_CUSTOM_OPT_LEVEL}
SRCS
EKF2.cpp
EKF2.hpp