Debian Codegraph @

src/telemetrum-v4.0/ao_telemetrum.c

raw symbols SCIP
1 /*
2 * Copyright © 2016 Keith Packard <[email protected]>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License along
15 * with this program; if not, write to the Free Software Foundation, Inc.,
16 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
17 */
18
19 #include <ao.h>cxx . . $ `<file>/src/kernel/ao.h`/
20 #include <ao_ms5607.h>cxx . . $ `<file>/src/drivers/ao_ms5607.h`/
21 #include <ao_adxl375.h>cxx . . $ `<file>/src/drivers/ao_adxl375.h`/
22 #include <ao_log.h>cxx . . $ `<file>/src/kernel/ao_log.h`/
23 #include <ao_exti.h>cxx . . $ `<file>/src/samd21/ao_exti.h`/
24 #include <ao_packet.h>cxx . . $ `<file>/src/kernel/ao_packet.h`/
25 #include <ao_companion.h>cxx . . $ `<file>/src/kernel/ao_companion.h`/
26 #include <ao_eeprom.h>cxx . . $ `<file>/src/kernel/ao_eeprom.h`/
27 #if HAS_SAMPLE_PROFILEcxx . . $ `src/samd21/ao_arch_funcs.h:389:9`!
28 #include <ao_profile.h>
29 #include <ao_sample_profile.h>
30 #endif
31 #if HAS_STACK_GUARD
32 #include <ao_mpu.h>
33 #endif
34 #include <ao_dma_samd21.h>cxx . . $ `<file>/src/samd21/ao_dma_samd21.h`/
35
36 int
37 maincxx . . $ main(b126dc7c1de90089).(void)
38 {
39 ao_clock_initcxx . . $ ao_clock_init(49f6e7a06ebc5aa8).();
40
41 #if HAS_STACK_GUARD
42 ao_mpu_init();
43 #endif
44
45 ao_task_initcxx . . $ ao_task_init(49f6e7a06ebc5aa8).();
46 ao_serial_initcxx . . $ ao_serial_init(49f6e7a06ebc5aa8).();
47 ao_led_initcxx . . $ ao_led_init(49f6e7a06ebc5aa8).();
48 ao_led_oncxx . . $ ao_led_on(cb2f890c2fdad230).(LEDS_AVAILABLEcxx . . $ `src/kernel/ao_led.h:251:9`!);
49 ao_timer_initcxx . . $ ao_timer_init(49f6e7a06ebc5aa8).();
50
51 ao_spi_initcxx . . $ ao_spi_init(49f6e7a06ebc5aa8).();
52 ao_dma_initcxx . . $ ao_dma_init(49f6e7a06ebc5aa8).();
53 ao_exti_initcxx . . $ ao_exti_init(49f6e7a06ebc5aa8).();
54
55 ao_adc_initcxx . . $ ao_adc_init(49f6e7a06ebc5aa8).();
56 ao_beep_initcxx . . $ ao_beep_init(49f6e7a06ebc5aa8).();
57 ao_cmd_initcxx . . $ ao_cmd_init(49f6e7a06ebc5aa8).();
58
59 ao_ms5607_initcxx . . $ ao_ms5607_init(49f6e7a06ebc5aa8).();
60 ao_adxl375_initcxx . . $ ao_adxl375_init(49f6e7a06ebc5aa8).();
61
62 ao_storage_initcxx . . $ ao_storage_init(49f6e7a06ebc5aa8).();
63
64 ao_flight_initcxx . . $ ao_flight_init(49f6e7a06ebc5aa8).();
65 ao_log_initcxx . . $ ao_log_init(49f6e7a06ebc5aa8).();
66 ao_report_initcxx . . $ ao_report_init(49f6e7a06ebc5aa8).();
67
68 ao_usb_initcxx . . $ ao_usb_init(49f6e7a06ebc5aa8).();
69 ao_gps_initcxx . . $ ao_gps_init(49f6e7a06ebc5aa8).();
70 ao_gps_report_metrum_initcxx . . $ ao_gps_report_metrum_init(49f6e7a06ebc5aa8).();
71 ao_telemetry_initcxx . . $ ao_telemetry_init(49f6e7a06ebc5aa8).();
72 ao_radio_initcxx . . $ ao_radio_init(49f6e7a06ebc5aa8).();
73 ao_packet_slave_initcxx . . $ ao_packet_slave_init(ac50b47256ae7414).(falsecxx . . $ `<external>/10195003848125334781/stdbool.h:38:9`!);
74 ao_igniter_initcxx . . $ ao_igniter_init(49f6e7a06ebc5aa8).();
75 ao_companion_initcxx . . $ ao_companion_init(49f6e7a06ebc5aa8).();
76
77 ao_config_initcxx . . $ ao_config_init(49f6e7a06ebc5aa8).();
78 #if AO_PROFILEcxx . . $ `src/telemetrum-v4.0/ao_pins.h:278:9`!
79 ao_profile_init();
80 #endif
81 #if HAS_SAMPLE_PROFILEcxx . . $ `src/samd21/ao_arch_funcs.h:389:9`!
82 ao_sample_profile_init();
83 #endif
84 ao_led_offcxx . . $ ao_led_off(cb2f890c2fdad230).(LEDS_AVAILABLEcxx . . $ `src/kernel/ao_led.h:251:9`!);
85
86 ao_start_schedulercxx . . $ ao_start_scheduler(8df32a62017fbbf6).();
87 return 0;
88 }