<commit_before>px4_nuttx_configure(HWCLASS m4 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common IO px4io-v2)

# user-configurable UART ports
set(board_serial_ports
	GPS1:/dev/ttyS3
	TEL1:/dev/ttyS1
	TEL2:/dev/ttyS2
	TEL4:/dev/ttyS6)

set(px4_constrained_flash_build 1)

#set(config_uavcan_num_ifaces 2)

set(config_bl_file ${PX4_SOURCE_DIR}/ROMFS/px4fmu_common/extras/px4fmuv3_bl.bin)

set(config_module_list
	#
	# Board support modules
	#
	#drivers/barometer
	#drivers/differential_pressure
	#drivers/distance_sensor
	#drivers/magnetometer
	#drivers/telemetry

	#drivers/barometer/bmp280
	drivers/barometer/ms5611
	#drivers/blinkm
	#drivers/bst
	drivers/camera_trigger
	#drivers/differential_pressure/ets
	drivers/differential_pressure/ms4525
	drivers/differential_pressure/ms5525
	#drivers/differential_pressure/sdp3x
	drivers/distance_sensor/ll40ls
	#drivers/distance_sensor/mb12xx
	drivers/distance_sensor/sf0x
	drivers/distance_sensor/sf1xx
	#drivers/distance_sensor/srf02
	#drivers/distance_sensor/teraranger
	#drivers/distance_sensor/tfmini
	#drivers/distance_sensor/ulanding
	#drivers/frsky_telemetry
	drivers/gps
	#drivers/imu/adis16448
	#drivers/imu/bmi160
	drivers/imu/l3gd20
	drivers/imu/lsm303d
	drivers/imu/mpu6000
	drivers/imu/mpu9250
	#drivers/iridiumsbd
	#drivers/irlock
	drivers/magnetometer/hmc5883
	drivers/magnetometer/lis3mdl
	#drivers/mb12xx
	#drivers/mkblctrl
	#drivers/oreoled
	#drivers/protocol_splitter
	drivers/pwm_input
	#drivers/pwm_out_sim
	drivers/px4flow
	drivers/px4fmu
	drivers/px4io
	drivers/rgbled
	drivers/stm32
	drivers/stm32/adc
	drivers/stm32/tone_alarm
	#drivers/tap_esc
	drivers/vmount
	modules/sensors

	#
	# System commands
	#
	systemcmds/bl_update
	#systemcmds/config
	#systemcmds/dumpfile
	#systemcmds/esc_calib
	systemcmds/hardfault_log
	#systemcmds/led_control
	systemcmds/mixer
	#systemcmds/motor_ramp
	#systemcmds/motor_test
	systemcmds/mtd
	#systemcmds/nshterm
	systemcmds/param
	systemcmds/perf
	systemcmds/pwm
	systemcmds/reboot
	#systemcmds/sd_bench
	systemcmds/top
	#systemcmds/topic_listener
	systemcmds/tune_control
	systemcmds/ver

	#
	# Testing
	#
	#drivers/distance_sensor/sf0x/sf0x_tests
	#drivers/test_ppm
	#lib/controllib/controllib_test
	#lib/rc/rc_tests
	#modules/commander/commander_tests
	#modules/mavlink/mavlink_tests
	#modules/uORB/uORB_tests
	#systemcmds/tests

	#
	# General system control
	#
	modules/camera_feedback
	modules/commander
	modules/events
	#modules/gpio_led
	modules/land_detector
	modules/load_mon
	modules/mavlink
	modules/navigator
	#modules/uavcan

	#
	# Estimation modules
	#
	#modules/attitude_estimator_q
	modules/ekf2
	#modules/local_position_estimator
	#modules/position_estimator_inav
	#modules/landing_target_estimator
	#modules/wind_estimator

	#
	# Vehicle Control
	#
	modules/fw_att_control
	modules/fw_pos_control_l1
	#modules/gnd_att_control
	#modules/gnd_pos_control
	modules/mc_att_control
	modules/mc_pos_control
	modules/vtol_att_control

	#
	# Logging
	#
	modules/logger

	#
	# Library modules
	#
	modules/dataman

	#
	# OBC challenge
	#
	#examples/bottle_drop

	#
	# Rover apps
	#
	#examples/rover_steering_control

	#
	# Segway
	#
	#examples/segway

	#
	# Demo apps
	#

	# Tutorial code from
	# https://px4.io/dev/px4_simple_app
	#examples/px4_simple_app

	# Tutorial code from
	# https://px4.io/dev/debug_values
	#examples/px4_mavlink_debug

	# Tutorial code from
	# https://px4.io/dev/example_fixedwing_control
	#examples/fixedwing_control

	# Hardware test
	#examples/hwtest
)

set(flight_tasks_to_remove Orbit)
<commit_msg>px4fmu-v2: disable camera_trigger<commit_after>px4_nuttx_configure(HWCLASS m4 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common IO px4io-v2)

# user-configurable UART ports
set(board_serial_ports
	GPS1:/dev/ttyS3
	TEL1:/dev/ttyS1
	TEL2:/dev/ttyS2
	TEL4:/dev/ttyS6)

set(px4_constrained_flash_build 1)

#set(config_uavcan_num_ifaces 2)

set(config_bl_file ${PX4_SOURCE_DIR}/ROMFS/px4fmu_common/extras/px4fmuv3_bl.bin)

set(config_module_list
	#
	# Board support modules
	#
	#drivers/barometer
	#drivers/differential_pressure
	#drivers/distance_sensor
	#drivers/magnetometer
	#drivers/telemetry

	#drivers/barometer/bmp280
	drivers/barometer/ms5611
	#drivers/blinkm
	#drivers/bst
	#drivers/camera_trigger
	#drivers/differential_pressure/ets
	drivers/differential_pressure/ms4525
	drivers/differential_pressure/ms5525
	#drivers/differential_pressure/sdp3x
	drivers/distance_sensor/ll40ls
	#drivers/distance_sensor/mb12xx
	drivers/distance_sensor/sf0x
	drivers/distance_sensor/sf1xx
	#drivers/distance_sensor/srf02
	#drivers/distance_sensor/teraranger
	#drivers/distance_sensor/tfmini
	#drivers/distance_sensor/ulanding
	#drivers/frsky_telemetry
	drivers/gps
	#drivers/imu/adis16448
	#drivers/imu/bmi160
	drivers/imu/l3gd20
	drivers/imu/lsm303d
	drivers/imu/mpu6000
	drivers/imu/mpu9250
	#drivers/iridiumsbd
	#drivers/irlock
	drivers/magnetometer/hmc5883
	drivers/magnetometer/lis3mdl
	#drivers/mb12xx
	#drivers/mkblctrl
	#drivers/oreoled
	#drivers/protocol_splitter
	drivers/pwm_input
	#drivers/pwm_out_sim
	drivers/px4flow
	drivers/px4fmu
	drivers/px4io
	drivers/rgbled
	drivers/stm32
	drivers/stm32/adc
	drivers/stm32/tone_alarm
	#drivers/tap_esc
	drivers/vmount
	modules/sensors

	#
	# System commands
	#
	systemcmds/bl_update
	#systemcmds/config
	#systemcmds/dumpfile
	#systemcmds/esc_calib
	systemcmds/hardfault_log
	#systemcmds/led_control
	systemcmds/mixer
	#systemcmds/motor_ramp
	#systemcmds/motor_test
	systemcmds/mtd
	#systemcmds/nshterm
	systemcmds/param
	systemcmds/perf
	systemcmds/pwm
	systemcmds/reboot
	#systemcmds/sd_bench
	systemcmds/top
	#systemcmds/topic_listener
	systemcmds/tune_control
	systemcmds/ver

	#
	# Testing
	#
	#drivers/distance_sensor/sf0x/sf0x_tests
	#drivers/test_ppm
	#lib/controllib/controllib_test
	#lib/rc/rc_tests
	#modules/commander/commander_tests
	#modules/mavlink/mavlink_tests
	#modules/uORB/uORB_tests
	#systemcmds/tests

	#
	# General system control
	#
	modules/camera_feedback
	modules/commander
	modules/events
	#modules/gpio_led
	modules/land_detector
	modules/load_mon
	modules/mavlink
	modules/navigator
	#modules/uavcan

	#
	# Estimation modules
	#
	#modules/attitude_estimator_q
	modules/ekf2
	#modules/local_position_estimator
	#modules/position_estimator_inav
	#modules/landing_target_estimator
	#modules/wind_estimator

	#
	# Vehicle Control
	#
	modules/fw_att_control
	modules/fw_pos_control_l1
	#modules/gnd_att_control
	#modules/gnd_pos_control
	modules/mc_att_control
	modules/mc_pos_control
	modules/vtol_att_control

	#
	# Logging
	#
	modules/logger

	#
	# Library modules
	#
	modules/dataman

	#
	# OBC challenge
	#
	#examples/bottle_drop

	#
	# Rover apps
	#
	#examples/rover_steering_control

	#
	# Segway
	#
	#examples/segway

	#
	# Demo apps
	#

	# Tutorial code from
	# https://px4.io/dev/px4_simple_app
	#examples/px4_simple_app

	# Tutorial code from
	# https://px4.io/dev/debug_values
	#examples/px4_mavlink_debug

	# Tutorial code from
	# https://px4.io/dev/example_fixedwing_control
	#examples/fixedwing_control

	# Hardware test
	#examples/hwtest
)

set(flight_tasks_to_remove Orbit)

{'fraction_non_alphanumeric': 0.08543990961728569, 'fraction_numerical': 0.02626747634514899, 'mean_word_length': 5.234154929577465, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6635875', 'n_tokens_mistral': 3287, 'n_tokens_neox': 3014, 'n_words': 348}