Merge remote-tracking branch 'upstream/master' into abo_RTH_sanity_fix
[inav.git] / src / main / CMakeLists.txt
blob9ad0afba9af696608f252b0d3c75442f730616e7
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_mpu6050.c
92     drivers/accgyro/accgyro_mpu6050.h
93     drivers/accgyro/accgyro_mpu6500.c
94     drivers/accgyro/accgyro_mpu6500.h
95     drivers/accgyro/accgyro_mpu9250.c
96     drivers/accgyro/accgyro_mpu9250.h
97     drivers/accgyro/accgyro_bno055.c
98     drivers/accgyro/accgyro_bno055.h
99     drivers/accgyro/accgyro_bno055_serial.c
100     drivers/accgyro/accgyro_bno055_serial.h
102     drivers/adc.c
103     drivers/adc.h
105     drivers/barometer/barometer.h
106     drivers/barometer/barometer_bmp085.c
107     drivers/barometer/barometer_bmp085.h
108     drivers/barometer/barometer_bmp280.c
109     drivers/barometer/barometer_bmp280.h
110     drivers/barometer/barometer_bmp388.c
111     drivers/barometer/barometer_bmp388.h
112     drivers/barometer/barometer_dps310.c
113     drivers/barometer/barometer_dps310.h
114     drivers/barometer/barometer_fake.c
115     drivers/barometer/barometer_fake.h
116     drivers/barometer/barometer_lps25h.c
117     drivers/barometer/barometer_lps25h.h
118     drivers/barometer/barometer_ms56xx.c
119     drivers/barometer/barometer_ms56xx.h
120     drivers/barometer/barometer_spl06.c
121     drivers/barometer/barometer_spl06.h
122     drivers/barometer/barometer_msp.c
123     drivers/barometer/barometer_msp.h
125     drivers/buf_writer.c
126     drivers/buf_writer.h
127     drivers/bus.c
128     drivers/bus.h
129     drivers/bus_busdev_i2c.c
130     drivers/bus_busdev_spi.c
131     drivers/bus_i2c_soft.c
133     drivers/compass/compass.h
134     drivers/compass/compass_ak8963.c
135     drivers/compass/compass_ak8963.h
136     drivers/compass/compass_ak8975.c
137     drivers/compass/compass_ak8975.h
138     drivers/compass/compass_fake.c
139     drivers/compass/compass_fake.h
140     drivers/compass/compass_hmc5883l.c
141     drivers/compass/compass_hmc5883l.h
142     drivers/compass/compass_ist8308.c
143     drivers/compass/compass_ist8308.h
144     drivers/compass/compass_ist8310.c
145     drivers/compass/compass_ist8310.h
146     drivers/compass/compass_lis3mdl.c
147     drivers/compass/compass_lis3mdl.h
148     drivers/compass/compass_mag3110.c
149     drivers/compass/compass_mag3110.h
150     drivers/compass/compass_mpu9250.c
151     drivers/compass/compass_mpu9250.h
152     drivers/compass/compass_qmc5883l.c
153     drivers/compass/compass_qmc5883l.h
154     drivers/compass/compass_rm3100.c
155     drivers/compass/compass_rm3100.h
156     drivers/compass/compass_vcm5883.c
157     drivers/compass/compass_vcm5883.h
158     drivers/compass/compass_mlx90393.c
159     drivers/compass/compass_mlx90393.h
160     drivers/compass/compass_msp.c
161     drivers/compass/compass_msp.h
163     drivers/display.c
164     drivers/display.h
165     drivers/display_canvas.c
166     drivers/display_canvas.h
167     drivers/display_font_metadata.c
168     drivers/display_font_metadata.h
169     drivers/display_widgets.c
170     drivers/display_widgets.h
171     drivers/display_ug2864hsweg01.c
172     drivers/display_ug2864hsweg01.h
173     drivers/exti.c
174     drivers/exti.h
175     drivers/flash.c
176     drivers/flash.h
177     drivers/flash_m25p16.c
178     drivers/flash_m25p16.h
179     drivers/io.c
180     drivers/io.h
181     drivers/io_pca9685.c
182     drivers/io_pca9685.h
183     drivers/io_pcf8574.c
184     drivers/io_pcf8574.h
185     drivers/io_port_expander.c
186     drivers/io_port_expander.h
187     drivers/irlock.c
188     drivers/irlock.h
189     drivers/light_led.c
190     drivers/light_led.h
191     drivers/light_ws2811strip.c
192     drivers/light_ws2811strip.h
193     drivers/lights_io.c
194     drivers/lights_io.h
195     drivers/max7456.c
196     drivers/max7456.h
197     drivers/serial_softserial.c
198     drivers/serial_softserial.h
200     drivers/opflow/opflow_fake.c
201     drivers/opflow/opflow_fake.h
202     drivers/opflow/opflow_virtual.c
203     drivers/opflow/opflow_virtual.h
205     drivers/osd.c
206     drivers/osd.h
207     drivers/persistent.c
208     drivers/persistent.h
209     drivers/pitotmeter/pitotmeter_adc.c
210     drivers/pitotmeter/pitotmeter_adc.h
211     drivers/pitotmeter/pitotmeter_ms4525.c
212     drivers/pitotmeter/pitotmeter_ms4525.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/pwm_esc_detect.c
218     drivers/pwm_esc_detect.h
219     drivers/pwm_mapping.c
220     drivers/pwm_mapping.h
221     drivers/pwm_output.c
222     drivers/pwm_output.h
223     drivers/pinio.c
224     drivers/pinio.h
226     drivers/rangefinder/rangefinder_srf10.c
227     drivers/rangefinder/rangefinder_srf10.h
228     drivers/rangefinder/rangefinder_vl53l0x.c
229     drivers/rangefinder/rangefinder_vl53l0x.h
230     drivers/rangefinder/rangefinder_vl53l1x.c
231     drivers/rangefinder/rangefinder_vl53l1x.h
232     drivers/rangefinder/rangefinder_virtual.c
233     drivers/rangefinder/rangefinder_virtual.h
234     drivers/rangefinder/rangefinder_us42.c
235     drivers/rangefinder/rangefinder_us42.h
236     drivers/rangefinder/rangefinder_tof10120_i2c.c
237     drivers/rangefinder/rangefinder_tof10120_i2c.h
239     drivers/resource.c
240     drivers/resource.h
241     drivers/rcc.c
242     drivers/rcc.h
243     drivers/rx_spi.c
244     drivers/rx_spi.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/rc_smoothing.c
291     fc/rc_smoothing.h
292     fc/rc_adjustments.c
293     fc/rc_adjustments.h
294     fc/rc_controls.c
295     fc/rc_controls.h
296     fc/rc_curves.c
297     fc/rc_curves.h
298     fc/rc_modes.c
299     fc/rc_modes.h
300     fc/runtime_config.c
301     fc/runtime_config.h
302     fc/settings.c
303     fc/settings.h
304     fc/stats.c
305     fc/stats.h
307     flight/failsafe.c
308     flight/failsafe.h
309     flight/hil.c
310     flight/hil.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/wind_estimator.c
331     flight/wind_estimator.h
332     flight/gyroanalyse.c
333     flight/gyroanalyse.h
334     flight/rpm_filter.c
335     flight/rpm_filter.h
336     flight/dynamic_gyro_notch.c
337     flight/dynamic_gyro_notch.h
338     flight/dynamic_lpf.c
339     flight/dynamic_lpf.h
340     flight/secondary_imu.c
341     flight/secondary_imu.h
343     io/beeper.c
344     io/beeper.h
345     io/servo_sbus.c
346     io/servo_sbus.h
347     io/frsky_osd.c
348     io/frsky_osd.h
349     io/osd_dji_hd.c
350     io/osd_dji_hd.h
351     io/lights.c
352     io/lights.h
353     io/piniobox.c
354     io/piniobox.h
355     io/pwmdriver_i2c.c
356     io/pwmdriver_i2c.h
357     io/serial.c
358     io/serial.h
359     io/serial_4way.c
360     io/serial_4way.h
361     io/serial_4way_avrootloader.c
362     io/serial_4way_avrootloader.h
363     io/serial_4way_stk500v2.c
364     io/serial_4way_stk500v2.h
365     io/statusindicator.c
366     io/statusindicator.h
367     io/rcdevice.c
368     io/rcdevice.h
369     io/rcdevice_cam.c
370     io/rcdevice_cam.h
372     msp/msp_serial.c
373     msp/msp_serial.h
375     programming/logic_condition.c
376     programming/logic_condition.h
377     programming/global_variables.c
378     programming/global_variables.h
379     programming/programming_task.c
380     programming/programming_task.h
381     programming/pid.c
382     programming/pid.h
384     rx/crsf.c
385     rx/crsf.h
386     rx/eleres.c
387     rx/eleres.h
388     rx/fport.c
389     rx/fport.h
390     rx/fport2.c
391     rx/fport2.h
392     rx/ghst_protocol.h
393     rx/ghst.c
394     rx/ghst.h
395     rx/ibus.c
396     rx/ibus.h
397     rx/jetiexbus.c
398     rx/jetiexbus.h
399     rx/mavlink.c
400     rx/mavlink.h
401     rx/msp.c
402     rx/msp.h
403     rx/msp_override.c
404     rx/msp_override.h
405     rx/frsky_crc.c
406     rx/frsky_crc.h
407     rx/rx.c
408     rx/rx.h
409     rx/rx_spi.c
410     rx/rx_spi.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/sumh.c
422     rx/sumh.h
423     rx/xbus.c
424     rx/xbus.h
426     scheduler/scheduler.c
427     scheduler/scheduler.h
429     sensors/acceleration.c
430     sensors/acceleration.h
431     sensors/battery.c
432     sensors/battery.h
433     sensors/battery_config_structs.h
434     sensors/boardalignment.c
435     sensors/boardalignment.h
436     sensors/compass.c
437     sensors/compass.h
438     sensors/diagnostics.c
439     sensors/diagnostics.h
440     sensors/gyro.c
441     sensors/gyro.h
442     sensors/initialisation.c
443     sensors/initialisation.h
444     sensors/esc_sensor.c
445     sensors/esc_sensor.h
446     sensors/irlock.c
447     sensors/irlock.h
448     sensors/temperature.c
449     sensors/temperature.h
451     blackbox/blackbox.c
452     blackbox/blackbox.h
453     blackbox/blackbox_encoding.c
454     blackbox/blackbox_encoding.h
455     blackbox/blackbox_io.c
456     blackbox/blackbox_io.h
458     cms/cms.c
459     cms/cms.h
460     cms/cms_menu_battery.c
461     cms/cms_menu_battery.h
462     cms/cms_menu_blackbox.c
463     cms/cms_menu_blackbox.h
464     cms/cms_menu_builtin.c
465     cms/cms_menu_builtin.h
466     cms/cms_menu_imu.c
467     cms/cms_menu_imu.h
468     cms/cms_menu_ledstrip.c
469     cms/cms_menu_ledstrip.h
470     cms/cms_menu_misc.c
471     cms/cms_menu_misc.h
472     cms/cms_menu_mixer_servo.c
473     cms/cms_menu_mixer_servo.h
474     cms/cms_menu_navigation.c
475     cms/cms_menu_navigation.h
476     cms/cms_menu_osd.c
477     cms/cms_menu_osd.h
478     cms/cms_menu_saveexit.c
479     cms/cms_menu_saveexit.h
480     cms/cms_menu_vtx.c
481     cms/cms_menu_vtx.h
483     io/rangefinder.h
484     io/rangefinder_msp.c
485     io/rangefinder_benewake.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_oled.c
498     io/displayport_oled.h
499     io/displayport_hdzero_osd.c
500     io/displayport_hdzero_osd.h
501     io/displayport_srxl.c
502     io/displayport_srxl.h
503     io/displayport_hott.c
504     io/displayport_hott.h
505     io/flashfs.c
506     io/flashfs.h
507     io/gps.c
508     io/gps.h
509     io/gps_ublox.c
510     io/gps_nmea.c
511     io/gps_naza.c
512     io/gps_msp.c
513     io/gps_private.h
514     io/ledstrip.c
515     io/ledstrip.h
516     io/osd.c
517     io/osd.h
518     io/osd_canvas.c
519     io/osd_canvas.h
520     io/osd_common.c
521     io/osd_common.h
522     io/osd_grid.c
523     io/osd_grid.h
524     io/osd_hud.c
525     io/osd_hud.h
526     io/smartport_master.c
527     io/smartport_master.h
528     io/vtx.c
529     io/vtx.h
530     io/vtx_string.c
531     io/vtx_string.h
532     io/vtx_smartaudio.c
533     io/vtx_smartaudio.h
534     io/vtx_tramp.c
535     io/vtx_tramp.h
536     io/vtx_ffpv24g.c
537     io/vtx_ffpv24g.h
538     io/vtx_control.c
539     io/vtx_control.h
541     navigation/navigation.c
542     navigation/navigation.h
543     navigation/navigation_fixedwing.c
544     navigation/navigation_fw_launch.c
545     navigation/navigation_geo.c
546     navigation/navigation_multicopter.c
547     navigation/navigation_pos_estimator.c
548     navigation/navigation_pos_estimator_private.h
549     navigation/navigation_pos_estimator_agl.c
550     navigation/navigation_pos_estimator_flow.c
551     navigation/navigation_private.h
552     navigation/navigation_rover_boat.c
554     sensors/barometer.c
555     sensors/barometer.h
556     sensors/pitotmeter.c
557     sensors/pitotmeter.h
558     sensors/rangefinder.c
559     sensors/rangefinder.h
560     sensors/opflow.c
561     sensors/opflow.h
563     telemetry/crsf.c
564     telemetry/crsf.h
565     telemetry/srxl.c
566     telemetry/srxl.h
567     telemetry/frsky.c
568     telemetry/frsky.h
569     telemetry/frsky_d.c
570     telemetry/frsky_d.h
571     telemetry/ghst.c
572     telemetry/ghst.h
573     telemetry/hott.c
574     telemetry/hott.h
575     telemetry/jetiexbus.c
576     telemetry/jetiexbus.h
577     telemetry/ibus_shared.c
578     telemetry/ibus_shared.h
579     telemetry/ibus.c
580     telemetry/ibus.h
581     telemetry/ltm.c
582     telemetry/ltm.h
583     telemetry/mavlink.c
584     telemetry/mavlink.h
585     telemetry/msp_shared.c
586     telemetry/msp_shared.h
587     telemetry/smartport.c
588     telemetry/smartport.h
589     telemetry/sim.c
590     telemetry/sim.h
591     telemetry/telemetry.c
592     telemetry/telemetry.h
595 add_subdirectory(target)