Skip to content

Commit 3dd7d0c

Browse files
committed
boards: fmu-v5 debug variant disable unnecessary modules to save flash
- partially sync with fmu-v5 stackcheck build
1 parent b54dea0 commit 3dd7d0c

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

boards/px4/fmu-v5/debug.cmake

+10-9
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ px4_add_board(
1717
TEL4:/dev/ttyS3
1818
DRIVERS
1919
adc
20-
barometer # all available barometer drivers
20+
#barometer # all available barometer drivers
21+
barometer/ms5611
2122
#batt_smbus
2223
camera_capture
2324
camera_trigger
@@ -34,34 +35,34 @@ px4_add_board(
3435
#imu/invensense/icm20602
3536
imu/invensense/icm20689
3637
#imu/mpu6000 # legacy icm20602/icm20689 driver
37-
irlock
38-
lights/blinkm
38+
#irlock
39+
#lights/blinkm
3940
lights/rgbled
4041
lights/rgbled_ncp5623c
4142
lights/rgbled_pwm
4243
magnetometer # all available magnetometer drivers
43-
mkblctrl
44+
#mkblctrl
4445
optical_flow # all available optical flow drivers
4546
#osd
46-
pca9685
47-
power_monitor/ina226
47+
#pca9685
48+
#power_monitor/ina226
4849
#protocol_splitter
4950
pwm_input
5051
pwm_out_sim
5152
pwm_out
5253
px4io
5354
rc_input
54-
roboclaw
55+
#roboclaw
5556
rpm
5657
safety_button
57-
tap_esc
58+
#tap_esc
5859
telemetry # all available telemetry drivers
5960
test_ppm
6061
tone_alarm
6162
#uavcan
6263
MODULES
6364
airspeed_selector
64-
attitude_estimator_q
65+
#attitude_estimator_q
6566
battery_status
6667
#camera_feedback
6768
commander

boards/px4/fmu-v5/stackcheck.cmake

+3
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ px4_add_board(
5353
px4io
5454
rc_input
5555
#roboclaw
56+
#rpm
5657
safety_button
5758
#tap_esc
5859
telemetry # all available telemetry drivers
@@ -95,6 +96,7 @@ px4_add_board(
9596
dmesg
9697
dumpfile
9798
esc_calib
99+
gpio
98100
hardfault_log
99101
i2cdetect
100102
led_control
@@ -117,6 +119,7 @@ px4_add_board(
117119
ver
118120
work_queue
119121
EXAMPLES
122+
#fake_magnetometer
120123
#fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
121124
#hello
122125
#hwtest # Hardware test

0 commit comments

Comments
 (0)