UoS³ Flight Computer Firmware
 All Data Structures Files Functions Groups Pages
firmware.h
1 /* This file contains all header files */
2 
3 #ifndef __FIRMWARE_H__
4 #define __FIRMWARE_H__
5 
6 #include <string.h>
7 #include <stdint.h>
8 #include <stdbool.h>
9 #include <stddef.h>
10 #include <inttypes.h>
11 #include <limits.h>
12 
13 /* Round up N to the next multiple of S */
14 #define ROUND_UP(N, S) ((((N) + (S) - 1) / (S)) * (S))
15 
16 /* Mark binary constants as known GCC extension to suppress warning */
17 #define GCC_BINARY(x) (__extension__ x)
18 
19 /* Board-specific header file, completed by macro: 'board/<board>/board.h' */
20 #include BOARD_INCLUDE
21 
22 /* Generic Board Module header files */
23 #include "board/board.h"
24 #include "board/led.h"
25 #include "board/uart.h"
26 #include "board/delay.h"
27 #include "board/wdt.h"
28 #include "board/spi.h"
29 #include "board/rtc.h"
30 #include "board/eeprom.h"
31 #include "board/gpio.h"
32 #include "board/debug.h"
33 #include "board/random.h"
34 #include "board/ldpc.h"
35 /* Hardware Drivers */
36 #include "board/fram.h"
37 #include "board/temperature_sensors.h"
38 #include "board/watchdog_int.h"
39 #include "board/imu.h"
40 #include "board/camera.h"
41 #include "board/eps.h"
42 
43 /* radio stuff */
44 #include "cc1125/cc112x_spi.h"
45 #include "cc1125/cc1125.h"
46 
47 /* Packet */
48 #include "packet/packet.h"
49 #include "packet/interleave.h"
50 #include "packet/telemetry.h"
51 #include "packet/cw.h"
52 
53 /* Buffer */
54 #include "buffer/buffer.h"
55 
56 /* Configuration */
57 #include "configuration/configuration.h"
58 
59 /* Mission */
60 #include "mission/mission.h"
61 
62 /* Util */
63 #include "util/crc.h"
64 #include "util/pn9.h"
65 #include "util/shake.h"
66 
67 /* ... */
68 
69 #endif /* __FIRMWARE_H__ */