Fix WS2812 led definition
[inav.git] / src / main / CMakeLists.txt
blob317da760b6ed7f17cdf0ae7b571b4f82af7d16da
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
96     drivers/adc.c
97     drivers/adc.h
99     drivers/barometer/barometer.h
100     drivers/barometer/barometer_bmp085.c
101     drivers/barometer/barometer_bmp085.h
102     drivers/barometer/barometer_bmp280.c
103     drivers/barometer/barometer_bmp280.h
104     drivers/barometer/barometer_bmp388.c
105     drivers/barometer/barometer_bmp388.h
106     drivers/barometer/barometer_dps310.c
107     drivers/barometer/barometer_dps310.h
108     drivers/barometer/barometer_fake.c
109     drivers/barometer/barometer_fake.h
110     drivers/barometer/barometer_lps25h.c
111     drivers/barometer/barometer_lps25h.h
112     drivers/barometer/barometer_ms56xx.c
113     drivers/barometer/barometer_ms56xx.h
114     drivers/barometer/barometer_spl06.c
115     drivers/barometer/barometer_spl06.h
116     drivers/barometer/barometer_msp.c
117     drivers/barometer/barometer_msp.h
118     drivers/barometer/barometer_2smpb_02b.c
119     drivers/barometer/barometer_2smpb_02b.h
121     drivers/buf_writer.c
122     drivers/buf_writer.h
123     drivers/bus.c
124     drivers/bus.h
125     drivers/bus_busdev_i2c.c
126     drivers/bus_busdev_spi.c
127     drivers/bus_i2c_soft.c
129     drivers/compass/compass.h
130     drivers/compass/compass_ak8963.c
131     drivers/compass/compass_ak8963.h
132     drivers/compass/compass_ak8975.c
133     drivers/compass/compass_ak8975.h
134     drivers/compass/compass_fake.c
135     drivers/compass/compass_fake.h
136     drivers/compass/compass_hmc5883l.c
137     drivers/compass/compass_hmc5883l.h
138     drivers/compass/compass_ist8308.c
139     drivers/compass/compass_ist8308.h
140     drivers/compass/compass_ist8310.c
141     drivers/compass/compass_ist8310.h
142     drivers/compass/compass_lis3mdl.c
143     drivers/compass/compass_lis3mdl.h
144     drivers/compass/compass_mag3110.c
145     drivers/compass/compass_mag3110.h
146     drivers/compass/compass_mpu9250.c
147     drivers/compass/compass_mpu9250.h
148     drivers/compass/compass_qmc5883l.c
149     drivers/compass/compass_qmc5883l.h
150     drivers/compass/compass_rm3100.c
151     drivers/compass/compass_rm3100.h
152     drivers/compass/compass_vcm5883.c
153     drivers/compass/compass_vcm5883.h
154     drivers/compass/compass_mlx90393.c
155     drivers/compass/compass_mlx90393.h
156     drivers/compass/compass_msp.c
157     drivers/compass/compass_msp.h
159     drivers/display.c
160     drivers/display.h
161     drivers/display_canvas.c
162     drivers/display_canvas.h
163     drivers/display_font_metadata.c
164     drivers/display_font_metadata.h
165     drivers/display_widgets.c
166     drivers/display_widgets.h
167     drivers/display_ug2864hsweg01.c
168     drivers/display_ug2864hsweg01.h
169     drivers/exti.c
170     drivers/exti.h
171     drivers/flash.c
172     drivers/flash.h
173     drivers/flash_m25p16.c
174     drivers/flash_m25p16.h
175     drivers/flash_w25n01g.c
176     drivers/flash_w25n01g.h
177     drivers/io.c
178     drivers/io.h
179     drivers/io_pcf8574.c
180     drivers/io_pcf8574.h
181     drivers/io_port_expander.c
182     drivers/io_port_expander.h
183     drivers/irlock.c
184     drivers/irlock.h
185     drivers/light_led.c
186     drivers/light_led.h
187     drivers/light_ws2811strip.c
188     drivers/light_ws2811strip.h
189     drivers/lights_io.c
190     drivers/lights_io.h
191     drivers/max7456.c
192     drivers/max7456.h
193     drivers/serial_softserial.c
194     drivers/serial_softserial.h
196     drivers/opflow/opflow_fake.c
197     drivers/opflow/opflow_fake.h
198     drivers/opflow/opflow_virtual.c
199     drivers/opflow/opflow_virtual.h
201     drivers/osd.c
202     drivers/osd.h
203     drivers/persistent.c
204     drivers/persistent.h
205     drivers/pitotmeter/pitotmeter_adc.c
206     drivers/pitotmeter/pitotmeter_adc.h
207     drivers/pitotmeter/pitotmeter_ms4525.c
208     drivers/pitotmeter/pitotmeter_ms4525.h
209     drivers/pitotmeter/pitotmeter_msp.c
210     drivers/pitotmeter/pitotmeter_msp.h
211     drivers/pitotmeter/pitotmeter_virtual.c
212     drivers/pitotmeter/pitotmeter_virtual.h
213     drivers/pwm_esc_detect.c
214     drivers/pwm_esc_detect.h
215     drivers/pwm_mapping.c
216     drivers/pwm_mapping.h
217     drivers/pwm_output.c
218     drivers/pwm_output.h
219     drivers/pinio.c
220     drivers/pinio.h
222     drivers/rangefinder/rangefinder_srf10.c
223     drivers/rangefinder/rangefinder_srf10.h
224     drivers/rangefinder/rangefinder_vl53l0x.c
225     drivers/rangefinder/rangefinder_vl53l0x.h
226     drivers/rangefinder/rangefinder_vl53l1x.c
227     drivers/rangefinder/rangefinder_vl53l1x.h
228     drivers/rangefinder/rangefinder_virtual.c
229     drivers/rangefinder/rangefinder_virtual.h
230     drivers/rangefinder/rangefinder_us42.c
231     drivers/rangefinder/rangefinder_us42.h
232     drivers/rangefinder/rangefinder_tof10120_i2c.c
233     drivers/rangefinder/rangefinder_tof10120_i2c.h
235     drivers/resource.c
236     drivers/resource.h
237     drivers/rcc.c
238     drivers/rcc.h
239     drivers/serial.c
240     drivers/serial.h
241     drivers/sound_beeper.c
242     drivers/sound_beeper.h
243     drivers/stack_check.c
244     drivers/stack_check.h
245     drivers/system.c
246     drivers/system.h
248     drivers/temperature/ds18b20.c
249     drivers/temperature/ds18b20.h
250     drivers/temperature/lm75.c
251     drivers/temperature/lm75.h
253     drivers/time.c
254     drivers/time.h
255     drivers/timer.c
256     drivers/timer.h
257     drivers/usb_msc.c
258     drivers/usb_msc.h
259     drivers/vtx_common.c
260     drivers/vtx_common.h
262     fc/cli.c
263     fc/cli.h
264     fc/config.c
265     fc/config.h
266     fc/controlrate_profile.c
267     fc/controlrate_profile.h
268     fc/controlrate_profile_config_struct.h
269     fc/fc_core.c
270     fc/fc_core.h
271     fc/fc_init.c
272     fc/fc_init.h
273     fc/fc_tasks.c
274     fc/fc_tasks.h
275     fc/fc_hardfaults.c
276     fc/fc_msp.c
277     fc/fc_msp.h
278     fc/fc_msp_box.c
279     fc/fc_msp_box.h
280     fc/firmware_update.c
281     fc/firmware_update.h
282     fc/firmware_update_common.c
283     fc/firmware_update_common.h
284     fc/rc_smoothing.c
285     fc/rc_smoothing.h
286     fc/rc_adjustments.c
287     fc/rc_adjustments.h
288     fc/rc_controls.c
289     fc/rc_controls.h
290     fc/rc_curves.c
291     fc/rc_curves.h
292     fc/rc_modes.c
293     fc/rc_modes.h
294     fc/runtime_config.c
295     fc/runtime_config.h
296     fc/settings.c
297     fc/settings.h
298     fc/stats.c
299     fc/stats.h
301     flight/failsafe.c
302     flight/failsafe.h
303     flight/imu.c
304     flight/imu.h
305     flight/kalman.c
306     flight/kalman.h
307     flight/smith_predictor.c
308     flight/smith_predictor.h
309     flight/rate_dynamics.c
310     flight/rate_dynamics.h
311     flight/mixer.c
312     flight/mixer.h
313     flight/pid.c
314     flight/pid.h
315     flight/pid_autotune.c
316     flight/power_limits.c
317     flight/power_limits.h
318     flight/rth_estimator.c
319     flight/rth_estimator.h
320     flight/servos.c
321     flight/servos.h
322     flight/wind_estimator.c
323     flight/wind_estimator.h
324     flight/gyroanalyse.c
325     flight/gyroanalyse.h
326     flight/rpm_filter.c
327     flight/rpm_filter.h
328     flight/dynamic_gyro_notch.c
329     flight/dynamic_gyro_notch.h
330     flight/secondary_dynamic_gyro_notch.c
331     flight/secondary_dynamic_gyro_notch.h
332     flight/dynamic_lpf.c
333     flight/dynamic_lpf.h
335     io/beeper.c
336     io/beeper.h
337     io/servo_sbus.c
338     io/servo_sbus.h
339     io/frsky_osd.c
340     io/frsky_osd.h
341     io/osd_dji_hd.c
342     io/osd_dji_hd.h
343     io/lights.c
344     io/lights.h
345     io/piniobox.c
346     io/piniobox.h
347     io/serial.c
348     io/serial.h
349     io/serial_4way.c
350     io/serial_4way.h
351     io/serial_4way_avrootloader.c
352     io/serial_4way_avrootloader.h
353     io/serial_4way_stk500v2.c
354     io/serial_4way_stk500v2.h
355     io/statusindicator.c
356     io/statusindicator.h
357     io/rcdevice.c
358     io/rcdevice.h
359     io/rcdevice_cam.c
360     io/rcdevice_cam.h
362     msp/msp_serial.c
363     msp/msp_serial.h
365     programming/logic_condition.c
366     programming/logic_condition.h
367     programming/global_variables.c
368     programming/global_variables.h
369     programming/programming_task.c
370     programming/programming_task.h
371     programming/pid.c
372     programming/pid.h
374     rx/crsf.c
375     rx/crsf.h
376     rx/fport.c
377     rx/fport.h
378     rx/fport2.c
379     rx/fport2.h
380     rx/ghst_protocol.h
381     rx/ghst.c
382     rx/ghst.h
383     rx/ibus.c
384     rx/ibus.h
385     rx/jetiexbus.c
386     rx/jetiexbus.h
387     rx/mavlink.c
388     rx/mavlink.h
389     rx/msp.c
390     rx/msp.h
391     rx/msp_override.c
392     rx/msp_override.h
393     rx/frsky_crc.c
394     rx/frsky_crc.h
395     rx/rx.c
396     rx/rx.h
397     rx/sbus.c
398     rx/sbus.h
399     rx/sbus_channels.c
400     rx/sbus_channels.h
401     rx/spektrum.c
402     rx/spektrum.h
403     rx/srxl2.c
404     rx/srxl2.h
405     rx/sumd.c
406     rx/sumd.h
408     scheduler/scheduler.c
409     scheduler/scheduler.h
411     sensors/acceleration.c
412     sensors/acceleration.h
413     sensors/battery.c
414     sensors/battery.h
415     sensors/battery_config_structs.h
416     sensors/boardalignment.c
417     sensors/boardalignment.h
418     sensors/compass.c
419     sensors/compass.h
420     sensors/diagnostics.c
421     sensors/diagnostics.h
422     sensors/gyro.c
423     sensors/gyro.h
424     sensors/initialisation.c
425     sensors/initialisation.h
426     sensors/esc_sensor.c
427     sensors/esc_sensor.h
428     sensors/irlock.c
429     sensors/irlock.h
430     sensors/temperature.c
431     sensors/temperature.h
433     blackbox/blackbox.c
434     blackbox/blackbox.h
435     blackbox/blackbox_encoding.c
436     blackbox/blackbox_encoding.h
437     blackbox/blackbox_io.c
438     blackbox/blackbox_io.h
440     cms/cms.c
441     cms/cms.h
442     cms/cms_menu_battery.c
443     cms/cms_menu_battery.h
444     cms/cms_menu_blackbox.c
445     cms/cms_menu_blackbox.h
446     cms/cms_menu_builtin.c
447     cms/cms_menu_builtin.h
448     cms/cms_menu_imu.c
449     cms/cms_menu_imu.h
450     cms/cms_menu_ledstrip.c
451     cms/cms_menu_ledstrip.h
452     cms/cms_menu_misc.c
453     cms/cms_menu_misc.h
454     cms/cms_menu_mixer_servo.c
455     cms/cms_menu_mixer_servo.h
456     cms/cms_menu_navigation.c
457     cms/cms_menu_navigation.h
458     cms/cms_menu_osd.c
459     cms/cms_menu_osd.h
460     cms/cms_menu_saveexit.c
461     cms/cms_menu_saveexit.h
462     cms/cms_menu_vtx.c
463     cms/cms_menu_vtx.h
465     io/rangefinder.h
466     io/rangefinder_msp.c
467     io/rangefinder_benewake.c
468     io/opflow.h
469     io/opflow_cxof.c
470     io/opflow_msp.c
471     io/dashboard.c
472     io/dashboard.h
473     io/displayport_frsky_osd.c
474     io/displayport_frsky_osd.h
475     io/displayport_max7456.c
476     io/displayport_max7456.h
477     io/displayport_msp.c
478     io/displayport_msp.h
479     io/displayport_msp_bf_compat.c
480     io/displayport_msp_bf_compat.h
481     io/displayport_oled.c
482     io/displayport_oled.h
483     io/displayport_msp_osd.c
484     io/displayport_msp_osd.h
485     io/displayport_srxl.c
486     io/displayport_srxl.h
487     io/displayport_hott.c
488     io/displayport_hott.h
489     io/flashfs.c
490     io/flashfs.h
491     io/gps.c
492     io/gps.h
493     io/gps_ublox.c
494     io/gps_nmea.c
495     io/gps_msp.c
496     io/gps_private.h
497     io/ledstrip.c
498     io/ledstrip.h
499     io/osd.c
500     io/osd.h
501     io/osd_canvas.c
502     io/osd_canvas.h
503     io/osd_common.c
504     io/osd_common.h
505     io/osd_grid.c
506     io/osd_grid.h
507     io/osd_hud.c
508     io/osd_hud.h
509     io/smartport_master.c
510     io/smartport_master.h
511     io/vtx.c
512     io/vtx.h
513     io/vtx_string.c
514     io/vtx_string.h
515     io/vtx_smartaudio.c
516     io/vtx_smartaudio.h
517     io/vtx_tramp.c
518     io/vtx_tramp.h
519     io/vtx_ffpv24g.c
520     io/vtx_ffpv24g.h
521     io/vtx_control.c
522     io/vtx_control.h
524     navigation/navigation.c
525     navigation/navigation.h
526     navigation/navigation_fixedwing.c
527     navigation/navigation_fw_launch.c
528     navigation/navigation_geo.c
529     navigation/navigation_multicopter.c
530     navigation/navigation_pos_estimator.c
531     navigation/navigation_pos_estimator_private.h
532     navigation/navigation_pos_estimator_agl.c
533     navigation/navigation_pos_estimator_flow.c
534     navigation/navigation_private.h
535     navigation/navigation_rover_boat.c
536     navigation/sqrt_controller.c
537     navigation/sqrt_controller.h
539     sensors/barometer.c
540     sensors/barometer.h
541     sensors/pitotmeter.c
542     sensors/pitotmeter.h
543     sensors/rangefinder.c
544     sensors/rangefinder.h
545     sensors/opflow.c
546     sensors/opflow.h
548     telemetry/crsf.c
549     telemetry/crsf.h
550     telemetry/srxl.c
551     telemetry/srxl.h
552     telemetry/frsky.c
553     telemetry/frsky.h
554     telemetry/frsky_d.c
555     telemetry/frsky_d.h
556     telemetry/ghst.c
557     telemetry/ghst.h
558     telemetry/hott.c
559     telemetry/hott.h
560     telemetry/jetiexbus.c
561     telemetry/jetiexbus.h
562     telemetry/ibus_shared.c
563     telemetry/ibus_shared.h
564     telemetry/ibus.c
565     telemetry/ibus.h
566     telemetry/ltm.c
567     telemetry/ltm.h
568     telemetry/mavlink.c
569     telemetry/mavlink.h
570     telemetry/msp_shared.c
571     telemetry/msp_shared.h
572     telemetry/smartport.c
573     telemetry/smartport.h
574     telemetry/sim.c
575     telemetry/sim.h
576     telemetry/telemetry.c
577     telemetry/telemetry.h
580 add_subdirectory(target)