WP altitude enforce hold fix
[inav.git] / src / main / CMakeLists.txt
blob7f076b5e29e1ff75c5c0515817ef3bf176d38dc4
1 main_sources(COMMON_SRC
2     main.c
4     target/common_hardware.c
6     build/assert.c
7     build/assert.h
8     build/build_config.c
9     build/build_config.h
10     build/debug.c
11     build/debug.h
12     build/version.c
13     build/version.h
15     common/bitarray.c
16     common/bitarray.h
17     common/calibration.c
18     common/calibration.h
19     common/colorconversion.c
20     common/colorconversion.h
21     common/crc.c
22     common/crc.h
23     common/encoding.c
24     common/encoding.h
25     common/filter.c
26     common/filter.h
27     common/fp_pid.c
28     common/fp_pid.h
29     common/gps_conversion.c
30     common/gps_conversion.h
31     common/log.c
32     common/log.h
33     common/maths.c
34     common/maths.h
35     common/memory.c
36     common/memory.h
37     common/olc.c
38     common/olc.h
39     common/printf.c
40     common/printf.h
41     common/streambuf.c
42     common/streambuf.h
43     common/string_light.c
44     common/string_light.h
45     common/time.c
46     common/time.h
47     common/typeconversion.c
48     common/typeconversion.h
49     common/uvarint.c
50     common/uvarint.h
51     common/circular_queue.c
52     common/circular_queue.h
54     config/config_eeprom.c
55     config/config_eeprom.h
56     config/config_streamer.c
57     config/config_streamer.h
58     config/feature.c
59     config/feature.h
60     config/parameter_group.c
61     config/parameter_group.h
62     config/general_settings.c
63     config/general_settings.h
65     drivers/1-wire.c
66     drivers/1-wire.h
67     drivers/1-wire/ds_crc.c
68     drivers/1-wire/ds_crc.h
69     drivers/1-wire/ds2482.c
70     drivers/1-wire/ds2482.h
72     drivers/accgyro/accgyro.c
73     drivers/accgyro/accgyro.h
74     drivers/accgyro/accgyro_bmi088.c
75     drivers/accgyro/accgyro_bmi088.h
76     drivers/accgyro/accgyro_bmi160.c
77     drivers/accgyro/accgyro_bmi160.h
78     drivers/accgyro/accgyro_bmi270.c
79     drivers/accgyro/accgyro_bmi270.h
80     drivers/accgyro/accgyro_bmi270_maximum_fifo.c
81     drivers/accgyro/accgyro_fake.c
82     drivers/accgyro/accgyro_fake.h
83     drivers/accgyro/accgyro_icm20689.c
84     drivers/accgyro/accgyro_icm20689.h
85     drivers/accgyro/accgyro_icm42605.c
86     drivers/accgyro/accgyro_icm42605.h
87     drivers/accgyro/accgyro_mpu.c
88     drivers/accgyro/accgyro_mpu.h
89     drivers/accgyro/accgyro_mpu6000.c
90     drivers/accgyro/accgyro_mpu6000.h
91     drivers/accgyro/accgyro_mpu6500.c
92     drivers/accgyro/accgyro_mpu6500.h
93     drivers/accgyro/accgyro_mpu9250.c
94     drivers/accgyro/accgyro_mpu9250.h
95     drivers/accgyro/accgyro_lsm6dxx.c
96     drivers/accgyro/accgyro_lsm6dxx.h
98     drivers/adc.c
99     drivers/adc.h
101     drivers/barometer/barometer.h
102     drivers/barometer/barometer_bmp085.c
103     drivers/barometer/barometer_bmp085.h
104     drivers/barometer/barometer_bmp280.c
105     drivers/barometer/barometer_bmp280.h
106     drivers/barometer/barometer_bmp388.c
107     drivers/barometer/barometer_bmp388.h
108     drivers/barometer/barometer_dps310.c
109     drivers/barometer/barometer_dps310.h
110     drivers/barometer/barometer_fake.c
111     drivers/barometer/barometer_fake.h
112     drivers/barometer/barometer_lps25h.c
113     drivers/barometer/barometer_lps25h.h
114     drivers/barometer/barometer_ms56xx.c
115     drivers/barometer/barometer_ms56xx.h
116     drivers/barometer/barometer_spl06.c
117     drivers/barometer/barometer_spl06.h
118     drivers/barometer/barometer_msp.c
119     drivers/barometer/barometer_msp.h
120     drivers/barometer/barometer_2smpb_02b.c
121     drivers/barometer/barometer_2smpb_02b.h
123     drivers/buf_writer.c
124     drivers/buf_writer.h
125     drivers/bus.c
126     drivers/bus.h
127     drivers/bus_busdev_i2c.c
128     drivers/bus_busdev_spi.c
129     drivers/bus_i2c_soft.c
131     drivers/compass/compass.h
132     drivers/compass/compass_ak8963.c
133     drivers/compass/compass_ak8963.h
134     drivers/compass/compass_ak8975.c
135     drivers/compass/compass_ak8975.h
136     drivers/compass/compass_fake.c
137     drivers/compass/compass_fake.h
138     drivers/compass/compass_hmc5883l.c
139     drivers/compass/compass_hmc5883l.h
140     drivers/compass/compass_ist8308.c
141     drivers/compass/compass_ist8308.h
142     drivers/compass/compass_ist8310.c
143     drivers/compass/compass_ist8310.h
144     drivers/compass/compass_lis3mdl.c
145     drivers/compass/compass_lis3mdl.h
146     drivers/compass/compass_mag3110.c
147     drivers/compass/compass_mag3110.h
148     drivers/compass/compass_mpu9250.c
149     drivers/compass/compass_mpu9250.h
150     drivers/compass/compass_qmc5883l.c
151     drivers/compass/compass_qmc5883l.h
152     drivers/compass/compass_rm3100.c
153     drivers/compass/compass_rm3100.h
154     drivers/compass/compass_vcm5883.c
155     drivers/compass/compass_vcm5883.h
156     drivers/compass/compass_mlx90393.c
157     drivers/compass/compass_mlx90393.h
158     drivers/compass/compass_msp.c
159     drivers/compass/compass_msp.h
161     drivers/display.c
162     drivers/display.h
163     drivers/display_canvas.c
164     drivers/display_canvas.h
165     drivers/display_font_metadata.c
166     drivers/display_font_metadata.h
167     drivers/display_widgets.c
168     drivers/display_widgets.h
169     drivers/display_ug2864hsweg01.c
170     drivers/display_ug2864hsweg01.h
171     drivers/exti.c
172     drivers/exti.h
173     drivers/flash.c
174     drivers/flash.h
175     drivers/flash_m25p16.c
176     drivers/flash_m25p16.h
177     drivers/flash_w25n01g.c
178     drivers/flash_w25n01g.h
179     drivers/io.c
180     drivers/io.h
181     drivers/io_pcf8574.c
182     drivers/io_pcf8574.h
183     drivers/io_port_expander.c
184     drivers/io_port_expander.h
185     drivers/irlock.c
186     drivers/irlock.h
187     drivers/light_led.c
188     drivers/light_led.h
189     drivers/light_ws2811strip.c
190     drivers/light_ws2811strip.h
191     drivers/lights_io.c
192     drivers/lights_io.h
193     drivers/max7456.c
194     drivers/max7456.h
195     drivers/serial_softserial.c
196     drivers/serial_softserial.h
198     drivers/opflow/opflow_fake.c
199     drivers/opflow/opflow_fake.h
200     drivers/opflow/opflow_virtual.c
201     drivers/opflow/opflow_virtual.h
203     drivers/osd.c
204     drivers/osd.h
205     drivers/persistent.c
206     drivers/persistent.h
207     drivers/pitotmeter/pitotmeter_adc.c
208     drivers/pitotmeter/pitotmeter_adc.h
209     drivers/pitotmeter/pitotmeter_ms4525.c
210     drivers/pitotmeter/pitotmeter_ms4525.h
211     drivers/pitotmeter/pitotmeter_dlvr_l10d.c
212     drivers/pitotmeter/pitotmeter_dlvr_l10d.h   
213     drivers/pitotmeter/pitotmeter_msp.c
214     drivers/pitotmeter/pitotmeter_msp.h
215     drivers/pitotmeter/pitotmeter_virtual.c
216     drivers/pitotmeter/pitotmeter_virtual.h
217     drivers/pitotmeter/pitotmeter_fake.h
218     drivers/pitotmeter/pitotmeter_fake.c
219     drivers/pwm_esc_detect.c
220     drivers/pwm_esc_detect.h
221     drivers/pwm_mapping.c
222     drivers/pwm_mapping.h
223     drivers/pwm_output.c
224     drivers/pwm_output.h
225     drivers/pinio.c
226     drivers/pinio.h
228     drivers/rangefinder/rangefinder_srf10.c
229     drivers/rangefinder/rangefinder_srf10.h
230     drivers/rangefinder/rangefinder_vl53l0x.c
231     drivers/rangefinder/rangefinder_vl53l0x.h
232     drivers/rangefinder/rangefinder_vl53l1x.c
233     drivers/rangefinder/rangefinder_vl53l1x.h
234     drivers/rangefinder/rangefinder_virtual.c
235     drivers/rangefinder/rangefinder_virtual.h
236     drivers/rangefinder/rangefinder_us42.c
237     drivers/rangefinder/rangefinder_us42.h
238     drivers/rangefinder/rangefinder_tof10120_i2c.c
239     drivers/rangefinder/rangefinder_tof10120_i2c.h
241     drivers/resource.c
242     drivers/resource.h
243     drivers/rcc.c
244     drivers/rcc.h
245     drivers/serial.c
246     drivers/serial.h
247     drivers/sound_beeper.c
248     drivers/sound_beeper.h
249     drivers/stack_check.c
250     drivers/stack_check.h
251     drivers/system.c
252     drivers/system.h
254     drivers/temperature/ds18b20.c
255     drivers/temperature/ds18b20.h
256     drivers/temperature/lm75.c
257     drivers/temperature/lm75.h
259     drivers/time.c
260     drivers/time.h
261     drivers/timer.c
262     drivers/timer.h
263     drivers/usb_msc.c
264     drivers/usb_msc.h
265     drivers/vtx_common.c
266     drivers/vtx_common.h
268     fc/cli.c
269     fc/cli.h
270     fc/config.c
271     fc/config.h
272     fc/controlrate_profile.c
273     fc/controlrate_profile.h
274     fc/controlrate_profile_config_struct.h
275     fc/fc_core.c
276     fc/fc_core.h
277     fc/fc_init.c
278     fc/fc_init.h
279     fc/fc_tasks.c
280     fc/fc_tasks.h
281     fc/fc_hardfaults.c
282     fc/fc_msp.c
283     fc/fc_msp.h
284     fc/fc_msp_box.c
285     fc/fc_msp_box.h
286     fc/firmware_update.c
287     fc/firmware_update.h
288     fc/firmware_update_common.c
289     fc/firmware_update_common.h
290     fc/multifunction.c
291     fc/multifunction.h
292     fc/rc_smoothing.c
293     fc/rc_smoothing.h
294     fc/rc_adjustments.c
295     fc/rc_adjustments.h
296     fc/rc_controls.c
297     fc/rc_controls.h
298     fc/rc_curves.c
299     fc/rc_curves.h
300     fc/rc_modes.c
301     fc/rc_modes.h
302     fc/runtime_config.c
303     fc/runtime_config.h
304     fc/settings.c
305     fc/settings.h
306     fc/stats.c
307     fc/stats.h
309     flight/failsafe.c
310     flight/failsafe.h
311     flight/imu.c
312     flight/imu.h
313     flight/kalman.c
314     flight/kalman.h
315     flight/smith_predictor.c
316     flight/smith_predictor.h
317     flight/rate_dynamics.c
318     flight/rate_dynamics.h
319     flight/mixer.c
320     flight/mixer.h
321     flight/pid.c
322     flight/pid.h
323     flight/pid_autotune.c
324     flight/power_limits.c
325     flight/power_limits.h
326     flight/rth_estimator.c
327     flight/rth_estimator.h
328     flight/servos.c
329     flight/servos.h
330     flight/mixer_profile.c
331     flight/mixer_profile.h
332     flight/wind_estimator.c
333     flight/wind_estimator.h
334     flight/gyroanalyse.c
335     flight/gyroanalyse.h
336     flight/rpm_filter.c
337     flight/rpm_filter.h
338     flight/dynamic_gyro_notch.c
339     flight/dynamic_gyro_notch.h
340     flight/secondary_dynamic_gyro_notch.c
341     flight/secondary_dynamic_gyro_notch.h
342     flight/dynamic_lpf.c
343     flight/dynamic_lpf.h
344     flight/ez_tune.c
345     flight/ez_tune.h
347     io/beeper.c
348     io/beeper.h
349     io/servo_sbus.c
350     io/servo_sbus.h
351     io/frsky_osd.c
352     io/frsky_osd.h
353     io/osd_dji_hd.c
354     io/osd_dji_hd.h
355     io/lights.c
356     io/lights.h
357     io/piniobox.c
358     io/piniobox.h
359     io/serial.c
360     io/serial.h
361     io/serial_4way.c
362     io/serial_4way.h
363     io/serial_4way_avrootloader.c
364     io/serial_4way_avrootloader.h
365     io/serial_4way_stk500v2.c
366     io/serial_4way_stk500v2.h
367     io/statusindicator.c
368     io/statusindicator.h
369     io/rcdevice.c
370     io/rcdevice.h
371     io/rcdevice_cam.c
372     io/rcdevice_cam.h
374     io/osd/custom_elements.c
376     msp/msp_serial.c
377     msp/msp_serial.h
379     programming/logic_condition.c
380     programming/logic_condition.h
381     programming/global_variables.c
382     programming/global_variables.h
383     programming/programming_task.c
384     programming/programming_task.h
385     programming/pid.c
386     programming/pid.h
388     rx/crsf.c
389     rx/crsf.h
390     rx/fport.c
391     rx/fport.h
392     rx/fport2.c
393     rx/fport2.h
394     rx/ghst_protocol.h
395     rx/ghst.c
396     rx/ghst.h
397     rx/ibus.c
398     rx/ibus.h
399     rx/jetiexbus.c
400     rx/jetiexbus.h
401     rx/mavlink.c
402     rx/mavlink.h
403     rx/msp.c
404     rx/msp.h
405     rx/msp_override.c
406     rx/msp_override.h
407     rx/frsky_crc.c
408     rx/frsky_crc.h
409     rx/rx.c
410     rx/rx.h
411     rx/sbus.c
412     rx/sbus.h
413     rx/sbus_channels.c
414     rx/sbus_channels.h
415     rx/spektrum.c
416     rx/spektrum.h
417     rx/srxl2.c
418     rx/srxl2.h
419     rx/sumd.c
420     rx/sumd.h
421     rx/sim.c
422     rx/sim.h
425     scheduler/scheduler.c
426     scheduler/scheduler.h
428     sensors/acceleration.c
429     sensors/acceleration.h
430     sensors/battery.c
431     sensors/battery.h
432     sensors/battery_config_structs.h
433     sensors/boardalignment.c
434     sensors/boardalignment.h
435     sensors/compass.c
436     sensors/compass.h
437     sensors/diagnostics.c
438     sensors/diagnostics.h
439     sensors/gyro.c
440     sensors/gyro.h
441     sensors/initialisation.c
442     sensors/initialisation.h
443     sensors/esc_sensor.c
444     sensors/esc_sensor.h
445     sensors/irlock.c
446     sensors/irlock.h
447     sensors/temperature.c
448     sensors/temperature.h
450     blackbox/blackbox.c
451     blackbox/blackbox.h
452     blackbox/blackbox_encoding.c
453     blackbox/blackbox_encoding.h
454     blackbox/blackbox_io.c
455     blackbox/blackbox_io.h
457     cms/cms.c
458     cms/cms.h
459     cms/cms_menu_battery.c
460     cms/cms_menu_battery.h
461     cms/cms_menu_blackbox.c
462     cms/cms_menu_blackbox.h
463     cms/cms_menu_builtin.c
464     cms/cms_menu_builtin.h
465     cms/cms_menu_imu.c
466     cms/cms_menu_imu.h
467     cms/cms_menu_ledstrip.c
468     cms/cms_menu_ledstrip.h
469     cms/cms_menu_misc.c
470     cms/cms_menu_misc.h
471     cms/cms_menu_mixer_servo.c
472     cms/cms_menu_mixer_servo.h
473     cms/cms_menu_navigation.c
474     cms/cms_menu_navigation.h
475     cms/cms_menu_osd.c
476     cms/cms_menu_osd.h
477     cms/cms_menu_saveexit.c
478     cms/cms_menu_saveexit.h
479     cms/cms_menu_vtx.c
480     cms/cms_menu_vtx.h
482     io/rangefinder.h
483     io/rangefinder_msp.c
484     io/rangefinder_benewake.c
485     io/rangefinder_fake.c
486     io/opflow.h
487     io/opflow_cxof.c
488     io/opflow_msp.c
489     io/dashboard.c
490     io/dashboard.h
491     io/displayport_frsky_osd.c
492     io/displayport_frsky_osd.h
493     io/displayport_max7456.c
494     io/displayport_max7456.h
495     io/displayport_msp.c
496     io/displayport_msp.h
497     io/displayport_msp_bf_compat.c
498     io/displayport_msp_bf_compat.h
499     io/displayport_oled.c
500     io/displayport_oled.h
501     io/displayport_msp_osd.c
502     io/displayport_msp_osd.h
503     io/displayport_srxl.c
504     io/displayport_srxl.h
505     io/displayport_hott.c
506     io/displayport_hott.h
507     io/flashfs.c
508     io/flashfs.h
509     io/gps.c
510     io/gps.h
511     io/gps_ublox.c
512     io/gps_ublox_utils.c
513     io/gps_msp.c
514     io/gps_fake.c
515     io/gps_private.h
516     io/ledstrip.c
517     io/ledstrip.h
518     io/osd.c
519     io/osd.h
520     io/osd_utils.c
521     io/osd_utils.h
522     io/osd_canvas.c
523     io/osd_canvas.h
524     io/osd_common.c
525     io/osd_common.h
526     io/osd_grid.c
527     io/osd_grid.h
528     io/osd_hud.c
529     io/osd_hud.h
530     io/osd_joystick.c
531     io/osd_joystick.h
532     io/smartport_master.c
533     io/smartport_master.h
534     io/vtx.c
535     io/vtx.h
536     io/vtx_string.c
537     io/vtx_string.h
538     io/vtx_smartaudio.c
539     io/vtx_smartaudio.h
540     io/vtx_tramp.c
541     io/vtx_tramp.h
542     io/vtx_ffpv24g.c
543     io/vtx_ffpv24g.h
544     io/vtx_control.c
545     io/vtx_control.h
546     io/vtx_msp.c
547     io/vtx_msp.h
549     navigation/navigation.c
550     navigation/navigation.h
551     navigation/navigation_fixedwing.c
552     navigation/navigation_fw_launch.c
553     navigation/navigation_geo.c
554     navigation/navigation_multicopter.c
555     navigation/navigation_pos_estimator.c
556     navigation/navigation_pos_estimator_private.h
557     navigation/navigation_pos_estimator_agl.c
558     navigation/navigation_pos_estimator_flow.c
559     navigation/navigation_private.h
560     navigation/navigation_rover_boat.c
561     navigation/sqrt_controller.c
562     navigation/sqrt_controller.h
564     sensors/barometer.c
565     sensors/barometer.h
566     sensors/pitotmeter.c
567     sensors/pitotmeter.h
568     sensors/rangefinder.c
569     sensors/rangefinder.h
570     sensors/opflow.c
571     sensors/opflow.h
572     sensors/battery_sensor_fake.c
573     sensors/battery_sensor_fake.h
575     telemetry/crsf.c
576     telemetry/crsf.h
577     telemetry/srxl.c
578     telemetry/srxl.h
579     telemetry/ghst.c
580     telemetry/ghst.h
581     telemetry/hott.c
582     telemetry/hott.h
583     telemetry/jetiexbus.c
584     telemetry/jetiexbus.h
585     telemetry/ibus_shared.c
586     telemetry/ibus_shared.h
587     telemetry/ibus.c
588     telemetry/ibus.h
589     telemetry/ltm.c
590     telemetry/ltm.h
591     telemetry/mavlink.c
592     telemetry/mavlink.h
593     telemetry/msp_shared.c
594     telemetry/msp_shared.h
595     telemetry/smartport.c
596     telemetry/smartport.h
597     telemetry/sim.c
598     telemetry/sim.h
599     telemetry/telemetry.c
600     telemetry/telemetry.h
603 add_subdirectory(target)