Merged in f5soh/librepilot/laurent/LP-92_Feed_forward_remove (pull request #33)
[librepilot.git] / flight / pios / win32 / pios.h
blobd8e116344e275feb5c14473fdd98db63d00376f8
1 /**
2 ******************************************************************************
4 * @file pios.h
5 * @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
6 * @brief Main PiOS header.
7 * - Central header for the project.
8 * @see The GNU Public License (GPL) Version 3
10 *****************************************************************************/
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 3 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful, but
18 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
19 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
20 * for more details.
22 * You should have received a copy of the GNU General Public License along
23 * with this program; if not, write to the Free Software Foundation, Inc.,
24 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28 #ifndef PIOS_H
29 #define PIOS_H
31 /* PIOS Feature Selection */
32 #include "pios_config_posix.h"
33 #include <pios_posix.h>
35 #if defined(PIOS_INCLUDE_FREERTOS)
36 /* FreeRTOS Includes */
37 #include "FreeRTOS.h"
38 #include "task.h"
39 #include "queue.h"
40 #include "semphr.h"
41 #endif
43 /* C Lib Includes */
44 #include <stdio.h>
45 #include <stdlib.h>
46 #include <stdarg.h>
47 #include <string.h>
48 #include <math.h>
49 #include <unistd.h>
51 /* Generic initcall infrastructure */
52 #include "pios_initcall.h"
54 /* PIOS Board Specific Device Configuration */
55 #include "pios_board_posix.h"
57 /* PIOS Hardware Includes (win32) */
58 #include <pios_sys.h>
59 #include <pios_delay.h>
60 #include <pios_led.h>
61 #include <pios_sdcard.h>
62 #include <pios_udp.h>
63 #include <pios_com.h>
64 #include <pios_servo.h>
65 #include <pios_wdg.h>
66 #include <pios_crc.h>
68 #define NELEMENTS(x) (sizeof(x) / sizeof(*(x)))
70 #endif /* PIOS_H */