More updates
[inav.git] / src / main / CMakeLists.txt
blob2a311443544cb9442abcfa0902c82e5d091269b8
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_msp.c
212     drivers/pitotmeter/pitotmeter_msp.h
213     drivers/pitotmeter/pitotmeter_virtual.c
214     drivers/pitotmeter/pitotmeter_virtual.h
215     drivers/pitotmeter/pitotmeter_fake.h
216     drivers/pitotmeter/pitotmeter_fake.c
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/serial.c
244     drivers/serial.h
245     drivers/sound_beeper.c
246     drivers/sound_beeper.h
247     drivers/stack_check.c
248     drivers/stack_check.h
249     drivers/system.c
250     drivers/system.h
252     drivers/temperature/ds18b20.c
253     drivers/temperature/ds18b20.h
254     drivers/temperature/lm75.c
255     drivers/temperature/lm75.h
257     drivers/time.c
258     drivers/time.h
259     drivers/timer.c
260     drivers/timer.h
261     drivers/usb_msc.c
262     drivers/usb_msc.h
263     drivers/vtx_common.c
264     drivers/vtx_common.h
266     fc/cli.c
267     fc/cli.h
268     fc/config.c
269     fc/config.h
270     fc/controlrate_profile.c
271     fc/controlrate_profile.h
272     fc/controlrate_profile_config_struct.h
273     fc/fc_core.c
274     fc/fc_core.h
275     fc/fc_init.c
276     fc/fc_init.h
277     fc/fc_tasks.c
278     fc/fc_tasks.h
279     fc/fc_hardfaults.c
280     fc/fc_msp.c
281     fc/fc_msp.h
282     fc/fc_msp_box.c
283     fc/fc_msp_box.h
284     fc/firmware_update.c
285     fc/firmware_update.h
286     fc/firmware_update_common.c
287     fc/firmware_update_common.h
288     fc/rc_smoothing.c
289     fc/rc_smoothing.h
290     fc/rc_adjustments.c
291     fc/rc_adjustments.h
292     fc/rc_controls.c
293     fc/rc_controls.h
294     fc/rc_curves.c
295     fc/rc_curves.h
296     fc/rc_modes.c
297     fc/rc_modes.h
298     fc/runtime_config.c
299     fc/runtime_config.h
300     fc/settings.c
301     fc/settings.h
302     fc/stats.c
303     fc/stats.h
305     flight/failsafe.c
306     flight/failsafe.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
339     io/beeper.c
340     io/beeper.h
341     io/servo_sbus.c
342     io/servo_sbus.h
343     io/frsky_osd.c
344     io/frsky_osd.h
345     io/osd_dji_hd.c
346     io/osd_dji_hd.h
347     io/lights.c
348     io/lights.h
349     io/piniobox.c
350     io/piniobox.h
351     io/serial.c
352     io/serial.h
353     io/serial_4way.c
354     io/serial_4way.h
355     io/serial_4way_avrootloader.c
356     io/serial_4way_avrootloader.h
357     io/serial_4way_stk500v2.c
358     io/serial_4way_stk500v2.h
359     io/statusindicator.c
360     io/statusindicator.h
361     io/rcdevice.c
362     io/rcdevice.h
363     io/rcdevice_cam.c
364     io/rcdevice_cam.h
366     msp/msp_serial.c
367     msp/msp_serial.h
369     programming/logic_condition.c
370     programming/logic_condition.h
371     programming/global_variables.c
372     programming/global_variables.h
373     programming/programming_task.c
374     programming/programming_task.h
375     programming/pid.c
376     programming/pid.h
378     rx/crsf.c
379     rx/crsf.h
380     rx/fport.c
381     rx/fport.h
382     rx/fport2.c
383     rx/fport2.h
384     rx/ghst_protocol.h
385     rx/ghst.c
386     rx/ghst.h
387     rx/ibus.c
388     rx/ibus.h
389     rx/jetiexbus.c
390     rx/jetiexbus.h
391     rx/mavlink.c
392     rx/mavlink.h
393     rx/msp.c
394     rx/msp.h
395     rx/msp_override.c
396     rx/msp_override.h
397     rx/frsky_crc.c
398     rx/frsky_crc.h
399     rx/rx.c
400     rx/rx.h
401     rx/sbus.c
402     rx/sbus.h
403     rx/sbus_channels.c
404     rx/sbus_channels.h
405     rx/spektrum.c
406     rx/spektrum.h
407     rx/srxl2.c
408     rx/srxl2.h
409     rx/sumd.c
410     rx/sumd.h
411     rx/sim.c
412     rx/sim.h
415     scheduler/scheduler.c
416     scheduler/scheduler.h
418     sensors/acceleration.c
419     sensors/acceleration.h
420     sensors/battery.c
421     sensors/battery.h
422     sensors/battery_config_structs.h
423     sensors/boardalignment.c
424     sensors/boardalignment.h
425     sensors/compass.c
426     sensors/compass.h
427     sensors/diagnostics.c
428     sensors/diagnostics.h
429     sensors/gyro.c
430     sensors/gyro.h
431     sensors/initialisation.c
432     sensors/initialisation.h
433     sensors/esc_sensor.c
434     sensors/esc_sensor.h
435     sensors/irlock.c
436     sensors/irlock.h
437     sensors/temperature.c
438     sensors/temperature.h
440     blackbox/blackbox.c
441     blackbox/blackbox.h
442     blackbox/blackbox_encoding.c
443     blackbox/blackbox_encoding.h
444     blackbox/blackbox_io.c
445     blackbox/blackbox_io.h
447     cms/cms.c
448     cms/cms.h
449     cms/cms_menu_battery.c
450     cms/cms_menu_battery.h
451     cms/cms_menu_blackbox.c
452     cms/cms_menu_blackbox.h
453     cms/cms_menu_builtin.c
454     cms/cms_menu_builtin.h
455     cms/cms_menu_imu.c
456     cms/cms_menu_imu.h
457     cms/cms_menu_ledstrip.c
458     cms/cms_menu_ledstrip.h
459     cms/cms_menu_misc.c
460     cms/cms_menu_misc.h
461     cms/cms_menu_mixer_servo.c
462     cms/cms_menu_mixer_servo.h
463     cms/cms_menu_navigation.c
464     cms/cms_menu_navigation.h
465     cms/cms_menu_osd.c
466     cms/cms_menu_osd.h
467     cms/cms_menu_saveexit.c
468     cms/cms_menu_saveexit.h
469     cms/cms_menu_vtx.c
470     cms/cms_menu_vtx.h
472     io/rangefinder.h
473     io/rangefinder_msp.c
474     io/rangefinder_benewake.c
475     io/rangefinder_fake.c
476     io/opflow.h
477     io/opflow_cxof.c
478     io/opflow_msp.c
479     io/dashboard.c
480     io/dashboard.h
481     io/displayport_frsky_osd.c
482     io/displayport_frsky_osd.h
483     io/displayport_max7456.c
484     io/displayport_max7456.h
485     io/displayport_msp.c
486     io/displayport_msp.h
487     io/displayport_msp_bf_compat.c
488     io/displayport_msp_bf_compat.h
489     io/displayport_oled.c
490     io/displayport_oled.h
491     io/displayport_msp_osd.c
492     io/displayport_msp_osd.h
493     io/displayport_srxl.c
494     io/displayport_srxl.h
495     io/displayport_hott.c
496     io/displayport_hott.h
497     io/flashfs.c
498     io/flashfs.h
499     io/gps.c
500     io/gps.h
501     io/gps_ublox.c
502     io/gps_nmea.c
503     io/gps_msp.c
504     io/gps_fake.c
505     io/gps_private.h
506     io/ledstrip.c
507     io/ledstrip.h
508     io/osd.c
509     io/osd.h
510     io/osd_utils.c
511     io/osd_utils.h
512     io/osd_canvas.c
513     io/osd_canvas.h
514     io/osd_common.c
515     io/osd_common.h
516     io/osd_grid.c
517     io/osd_grid.h
518     io/osd_hud.c
519     io/osd_hud.h
520     io/smartport_master.c
521     io/smartport_master.h
522     io/vtx.c
523     io/vtx.h
524     io/vtx_string.c
525     io/vtx_string.h
526     io/vtx_smartaudio.c
527     io/vtx_smartaudio.h
528     io/vtx_tramp.c
529     io/vtx_tramp.h
530     io/vtx_ffpv24g.c
531     io/vtx_ffpv24g.h
532     io/vtx_control.c
533     io/vtx_control.h
535     navigation/navigation.c
536     navigation/navigation.h
537     navigation/navigation_fixedwing.c
538     navigation/navigation_fw_launch.c
539     navigation/navigation_geo.c
540     navigation/navigation_multicopter.c
541     navigation/navigation_pos_estimator.c
542     navigation/navigation_pos_estimator_private.h
543     navigation/navigation_pos_estimator_agl.c
544     navigation/navigation_pos_estimator_flow.c
545     navigation/navigation_private.h
546     navigation/navigation_rover_boat.c
547     navigation/sqrt_controller.c
548     navigation/sqrt_controller.h
550     sensors/barometer.c
551     sensors/barometer.h
552     sensors/pitotmeter.c
553     sensors/pitotmeter.h
554     sensors/rangefinder.c
555     sensors/rangefinder.h
556     sensors/opflow.c
557     sensors/opflow.h
558     sensors/battery_sensor_fake.c
559     sensors/battery_sensor_fake.h
561     telemetry/crsf.c
562     telemetry/crsf.h
563     telemetry/srxl.c
564     telemetry/srxl.h
565     telemetry/ghst.c
566     telemetry/ghst.h
567     telemetry/hott.c
568     telemetry/hott.h
569     telemetry/jetiexbus.c
570     telemetry/jetiexbus.h
571     telemetry/ibus_shared.c
572     telemetry/ibus_shared.h
573     telemetry/ibus.c
574     telemetry/ibus.h
575     telemetry/ltm.c
576     telemetry/ltm.h
577     telemetry/mavlink.c
578     telemetry/mavlink.h
579     telemetry/msp_shared.c
580     telemetry/msp_shared.h
581     telemetry/smartport.c
582     telemetry/smartport.h
583     telemetry/sim.c
584     telemetry/sim.h
585     telemetry/telemetry.c
586     telemetry/telemetry.h
589 add_subdirectory(target)