Merge branch 'master' into abo_waypoint_tracking
[inav.git] / src / main / CMakeLists.txt
blob595ac4cbb1e10baab0f62fad4b9d2b198c9abad6
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_bno055_serial.c
96     drivers/accgyro/accgyro_bno055_serial.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_msp.c
212     drivers/pitotmeter/pitotmeter_msp.h
213     drivers/pitotmeter/pitotmeter_virtual.c
214     drivers/pitotmeter/pitotmeter_virtual.h
215     drivers/pwm_esc_detect.c
216     drivers/pwm_esc_detect.h
217     drivers/pwm_mapping.c
218     drivers/pwm_mapping.h
219     drivers/pwm_output.c
220     drivers/pwm_output.h
221     drivers/pinio.c
222     drivers/pinio.h
224     drivers/rangefinder/rangefinder_srf10.c
225     drivers/rangefinder/rangefinder_srf10.h
226     drivers/rangefinder/rangefinder_vl53l0x.c
227     drivers/rangefinder/rangefinder_vl53l0x.h
228     drivers/rangefinder/rangefinder_vl53l1x.c
229     drivers/rangefinder/rangefinder_vl53l1x.h
230     drivers/rangefinder/rangefinder_virtual.c
231     drivers/rangefinder/rangefinder_virtual.h
232     drivers/rangefinder/rangefinder_us42.c
233     drivers/rangefinder/rangefinder_us42.h
234     drivers/rangefinder/rangefinder_tof10120_i2c.c
235     drivers/rangefinder/rangefinder_tof10120_i2c.h
237     drivers/resource.c
238     drivers/resource.h
239     drivers/rcc.c
240     drivers/rcc.h
241     drivers/serial.c
242     drivers/serial.h
243     drivers/sound_beeper.c
244     drivers/sound_beeper.h
245     drivers/stack_check.c
246     drivers/stack_check.h
247     drivers/system.c
248     drivers/system.h
250     drivers/temperature/ds18b20.c
251     drivers/temperature/ds18b20.h
252     drivers/temperature/lm75.c
253     drivers/temperature/lm75.h
255     drivers/time.c
256     drivers/time.h
257     drivers/timer.c
258     drivers/timer.h
259     drivers/usb_msc.c
260     drivers/usb_msc.h
261     drivers/vtx_common.c
262     drivers/vtx_common.h
264     fc/cli.c
265     fc/cli.h
266     fc/config.c
267     fc/config.h
268     fc/controlrate_profile.c
269     fc/controlrate_profile.h
270     fc/controlrate_profile_config_struct.h
271     fc/fc_core.c
272     fc/fc_core.h
273     fc/fc_init.c
274     fc/fc_init.h
275     fc/fc_tasks.c
276     fc/fc_tasks.h
277     fc/fc_hardfaults.c
278     fc/fc_msp.c
279     fc/fc_msp.h
280     fc/fc_msp_box.c
281     fc/fc_msp_box.h
282     fc/firmware_update.c
283     fc/firmware_update.h
284     fc/firmware_update_common.c
285     fc/firmware_update_common.h
286     fc/rc_smoothing.c
287     fc/rc_smoothing.h
288     fc/rc_adjustments.c
289     fc/rc_adjustments.h
290     fc/rc_controls.c
291     fc/rc_controls.h
292     fc/rc_curves.c
293     fc/rc_curves.h
294     fc/rc_modes.c
295     fc/rc_modes.h
296     fc/runtime_config.c
297     fc/runtime_config.h
298     fc/settings.c
299     fc/settings.h
300     fc/stats.c
301     fc/stats.h
303     flight/failsafe.c
304     flight/failsafe.h
305     flight/hil.c
306     flight/hil.h
307     flight/imu.c
308     flight/imu.h
309     flight/kalman.c
310     flight/kalman.h
311     flight/smith_predictor.c
312     flight/smith_predictor.h
313     flight/rate_dynamics.c
314     flight/rate_dynamics.h
315     flight/mixer.c
316     flight/mixer.h
317     flight/pid.c
318     flight/pid.h
319     flight/pid_autotune.c
320     flight/power_limits.c
321     flight/power_limits.h
322     flight/rth_estimator.c
323     flight/rth_estimator.h
324     flight/servos.c
325     flight/servos.h
326     flight/wind_estimator.c
327     flight/wind_estimator.h
328     flight/gyroanalyse.c
329     flight/gyroanalyse.h
330     flight/rpm_filter.c
331     flight/rpm_filter.h
332     flight/dynamic_gyro_notch.c
333     flight/dynamic_gyro_notch.h
334     flight/secondary_dynamic_gyro_notch.c
335     flight/secondary_dynamic_gyro_notch.h
336     flight/dynamic_lpf.c
337     flight/dynamic_lpf.h
338     flight/secondary_imu.c
339     flight/secondary_imu.h
341     io/beeper.c
342     io/beeper.h
343     io/servo_sbus.c
344     io/servo_sbus.h
345     io/frsky_osd.c
346     io/frsky_osd.h
347     io/osd_dji_hd.c
348     io/osd_dji_hd.h
349     io/lights.c
350     io/lights.h
351     io/piniobox.c
352     io/piniobox.h
353     io/serial.c
354     io/serial.h
355     io/serial_4way.c
356     io/serial_4way.h
357     io/serial_4way_avrootloader.c
358     io/serial_4way_avrootloader.h
359     io/serial_4way_stk500v2.c
360     io/serial_4way_stk500v2.h
361     io/statusindicator.c
362     io/statusindicator.h
363     io/rcdevice.c
364     io/rcdevice.h
365     io/rcdevice_cam.c
366     io/rcdevice_cam.h
368     msp/msp_serial.c
369     msp/msp_serial.h
371     programming/logic_condition.c
372     programming/logic_condition.h
373     programming/global_variables.c
374     programming/global_variables.h
375     programming/programming_task.c
376     programming/programming_task.h
377     programming/pid.c
378     programming/pid.h
380     rx/crsf.c
381     rx/crsf.h
382     rx/fport.c
383     rx/fport.h
384     rx/fport2.c
385     rx/fport2.h
386     rx/ghst_protocol.h
387     rx/ghst.c
388     rx/ghst.h
389     rx/ibus.c
390     rx/ibus.h
391     rx/jetiexbus.c
392     rx/jetiexbus.h
393     rx/mavlink.c
394     rx/mavlink.h
395     rx/msp.c
396     rx/msp.h
397     rx/msp_override.c
398     rx/msp_override.h
399     rx/frsky_crc.c
400     rx/frsky_crc.h
401     rx/rx.c
402     rx/rx.h
403     rx/sbus.c
404     rx/sbus.h
405     rx/sbus_channels.c
406     rx/sbus_channels.h
407     rx/spektrum.c
408     rx/spektrum.h
409     rx/srxl2.c
410     rx/srxl2.h
411     rx/sumd.c
412     rx/sumd.h
414     scheduler/scheduler.c
415     scheduler/scheduler.h
417     sensors/acceleration.c
418     sensors/acceleration.h
419     sensors/battery.c
420     sensors/battery.h
421     sensors/battery_config_structs.h
422     sensors/boardalignment.c
423     sensors/boardalignment.h
424     sensors/compass.c
425     sensors/compass.h
426     sensors/diagnostics.c
427     sensors/diagnostics.h
428     sensors/gyro.c
429     sensors/gyro.h
430     sensors/initialisation.c
431     sensors/initialisation.h
432     sensors/esc_sensor.c
433     sensors/esc_sensor.h
434     sensors/irlock.c
435     sensors/irlock.h
436     sensors/temperature.c
437     sensors/temperature.h
439     blackbox/blackbox.c
440     blackbox/blackbox.h
441     blackbox/blackbox_encoding.c
442     blackbox/blackbox_encoding.h
443     blackbox/blackbox_io.c
444     blackbox/blackbox_io.h
446     cms/cms.c
447     cms/cms.h
448     cms/cms_menu_battery.c
449     cms/cms_menu_battery.h
450     cms/cms_menu_blackbox.c
451     cms/cms_menu_blackbox.h
452     cms/cms_menu_builtin.c
453     cms/cms_menu_builtin.h
454     cms/cms_menu_imu.c
455     cms/cms_menu_imu.h
456     cms/cms_menu_ledstrip.c
457     cms/cms_menu_ledstrip.h
458     cms/cms_menu_misc.c
459     cms/cms_menu_misc.h
460     cms/cms_menu_mixer_servo.c
461     cms/cms_menu_mixer_servo.h
462     cms/cms_menu_navigation.c
463     cms/cms_menu_navigation.h
464     cms/cms_menu_osd.c
465     cms/cms_menu_osd.h
466     cms/cms_menu_saveexit.c
467     cms/cms_menu_saveexit.h
468     cms/cms_menu_vtx.c
469     cms/cms_menu_vtx.h
471     io/rangefinder.h
472     io/rangefinder_msp.c
473     io/rangefinder_benewake.c
474     io/opflow.h
475     io/opflow_cxof.c
476     io/opflow_msp.c
477     io/dashboard.c
478     io/dashboard.h
479     io/displayport_frsky_osd.c
480     io/displayport_frsky_osd.h
481     io/displayport_max7456.c
482     io/displayport_max7456.h
483     io/displayport_msp.c
484     io/displayport_msp.h
485     io/displayport_oled.c
486     io/displayport_oled.h
487     io/displayport_hdzero_osd.c
488     io/displayport_hdzero_osd.h
489     io/displayport_srxl.c
490     io/displayport_srxl.h
491     io/displayport_hott.c
492     io/displayport_hott.h
493     io/flashfs.c
494     io/flashfs.h
495     io/gps.c
496     io/gps.h
497     io/gps_ublox.c
498     io/gps_nmea.c
499     io/gps_msp.c
500     io/gps_private.h
501     io/ledstrip.c
502     io/ledstrip.h
503     io/osd.c
504     io/osd.h
505     io/osd_canvas.c
506     io/osd_canvas.h
507     io/osd_common.c
508     io/osd_common.h
509     io/osd_grid.c
510     io/osd_grid.h
511     io/osd_hud.c
512     io/osd_hud.h
513     io/smartport_master.c
514     io/smartport_master.h
515     io/vtx.c
516     io/vtx.h
517     io/vtx_string.c
518     io/vtx_string.h
519     io/vtx_smartaudio.c
520     io/vtx_smartaudio.h
521     io/vtx_tramp.c
522     io/vtx_tramp.h
523     io/vtx_ffpv24g.c
524     io/vtx_ffpv24g.h
525     io/vtx_control.c
526     io/vtx_control.h
528     navigation/navigation.c
529     navigation/navigation.h
530     navigation/navigation_fixedwing.c
531     navigation/navigation_fw_launch.c
532     navigation/navigation_geo.c
533     navigation/navigation_multicopter.c
534     navigation/navigation_pos_estimator.c
535     navigation/navigation_pos_estimator_private.h
536     navigation/navigation_pos_estimator_agl.c
537     navigation/navigation_pos_estimator_flow.c
538     navigation/navigation_private.h
539     navigation/navigation_rover_boat.c
540     navigation/sqrt_controller.c
541     navigation/sqrt_controller.h
543     sensors/barometer.c
544     sensors/barometer.h
545     sensors/pitotmeter.c
546     sensors/pitotmeter.h
547     sensors/rangefinder.c
548     sensors/rangefinder.h
549     sensors/opflow.c
550     sensors/opflow.h
552     telemetry/crsf.c
553     telemetry/crsf.h
554     telemetry/srxl.c
555     telemetry/srxl.h
556     telemetry/frsky.c
557     telemetry/frsky.h
558     telemetry/frsky_d.c
559     telemetry/frsky_d.h
560     telemetry/ghst.c
561     telemetry/ghst.h
562     telemetry/hott.c
563     telemetry/hott.h
564     telemetry/jetiexbus.c
565     telemetry/jetiexbus.h
566     telemetry/ibus_shared.c
567     telemetry/ibus_shared.h
568     telemetry/ibus.c
569     telemetry/ibus.h
570     telemetry/ltm.c
571     telemetry/ltm.h
572     telemetry/mavlink.c
573     telemetry/mavlink.h
574     telemetry/msp_shared.c
575     telemetry/msp_shared.h
576     telemetry/smartport.c
577     telemetry/smartport.h
578     telemetry/sim.c
579     telemetry/sim.h
580     telemetry/telemetry.c
581     telemetry/telemetry.h
584 add_subdirectory(target)