mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 06:31:36 +08:00
selectively increase optimization -Os -> -O2
- targetted at modules/libraries that benefit without drastically increasing flash usage - ignored on boards with CONSTRAINED_FLASH set
This commit is contained in:
@@ -6,6 +6,7 @@ px4_add_board(
|
||||
TOOLCHAIN arm-none-eabi
|
||||
ARCHITECTURE cortex-m4
|
||||
ROMFSROOT px4fmu_common
|
||||
CONSTRAINED_FLASH
|
||||
DRIVERS
|
||||
barometer/lps25h
|
||||
distance_sensor/vl53l0x
|
||||
|
||||
@@ -7,7 +7,7 @@ px4_add_board(
|
||||
TOOLCHAIN arm-none-eabi
|
||||
ARCHITECTURE cortex-m7
|
||||
ROMFSROOT px4fmu_common
|
||||
BUILD_BOOTLOADER
|
||||
#BUILD_BOOTLOADER
|
||||
IO px4_io-v2_default
|
||||
TESTING
|
||||
# UAVCAN_INTERFACES 2 - No H7 or FD can support in UAVCAN
|
||||
@@ -23,7 +23,7 @@ px4_add_board(
|
||||
batt_smbus
|
||||
#camera_capture
|
||||
#camera_trigger
|
||||
differential_pressure # all available differential pressure drivers
|
||||
#differential_pressure # all available differential pressure drivers
|
||||
distance_sensor # all available distance sensor drivers
|
||||
#dshot
|
||||
gps
|
||||
@@ -65,6 +65,7 @@ px4_add_board(
|
||||
commander
|
||||
dataman
|
||||
ekf2
|
||||
#esc_battery
|
||||
events
|
||||
fw_att_control
|
||||
fw_pos_control_l1
|
||||
@@ -78,16 +79,17 @@ px4_add_board(
|
||||
mc_hover_thrust_estimator
|
||||
mc_pos_control
|
||||
mc_rate_control
|
||||
#micrortps_bridge
|
||||
navigator
|
||||
rc_update
|
||||
#rover_pos_control
|
||||
sensors
|
||||
#sih
|
||||
temperature_compensation
|
||||
vmount
|
||||
#temperature_compensation
|
||||
#vmount
|
||||
vtol_att_control
|
||||
SYSTEMCMDS
|
||||
bl_update
|
||||
#bl_update
|
||||
dmesg
|
||||
dumpfile
|
||||
esc_calib
|
||||
|
||||
@@ -7,6 +7,7 @@ px4_add_board(
|
||||
TOOLCHAIN arm-none-eabi
|
||||
ARCHITECTURE cortex-m7
|
||||
ROMFSROOT px4fmu_common
|
||||
CONSTRAINED_FLASH
|
||||
SERIAL_PORTS
|
||||
TEL1:/dev/ttyS0 # UART1
|
||||
TEL2:/dev/ttyS1 # UART2
|
||||
|
||||
@@ -47,7 +47,7 @@ px4_add_board(
|
||||
#pca9685
|
||||
#power_monitor/ina226
|
||||
#protocol_splitter
|
||||
pwm_input
|
||||
#pwm_input
|
||||
pwm_out_sim
|
||||
pwm_out
|
||||
px4io
|
||||
@@ -61,7 +61,7 @@ px4_add_board(
|
||||
#uavcan
|
||||
MODULES
|
||||
airspeed_selector
|
||||
attitude_estimator_q
|
||||
#attitude_estimator_q
|
||||
battery_status
|
||||
#camera_feedback
|
||||
commander
|
||||
@@ -84,11 +84,11 @@ px4_add_board(
|
||||
#micrortps_bridge
|
||||
navigator
|
||||
rc_update
|
||||
rover_pos_control
|
||||
#rover_pos_control
|
||||
sensors
|
||||
sih
|
||||
temperature_compensation
|
||||
vmount
|
||||
#sih
|
||||
#temperature_compensation
|
||||
#vmount
|
||||
vtol_att_control
|
||||
SYSTEMCMDS
|
||||
bl_update
|
||||
|
||||
@@ -4,6 +4,7 @@ px4_add_board(
|
||||
VENDOR px4
|
||||
MODEL io-v2
|
||||
TOOLCHAIN arm-none-eabi
|
||||
CONSTRAINED_FLASH
|
||||
ARCHITECTURE cortex-m3
|
||||
DRIVERS
|
||||
MODULES
|
||||
|
||||
Reference in New Issue
Block a user