mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
ekf2: compile at MAX_CUSTOM_OPT_LEVEL
This commit is contained in:
parent
1e03285405
commit
880dc6accd
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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>
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user