2 ******************************************************************************
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
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
31 /* PIOS Feature Selection */
32 #include "pios_config_sim.h"
33 #include <pios_posix.h>
35 #if defined(PIOS_INCLUDE_FREERTOS)
36 /* FreeRTOS Includes */
42 #define vPortInitialiseBlocks() ;
53 /* Generic initcall infrastructure */
54 #include "pios_initcall.h"
56 /* PIOS Board Specific Device Configuration */
57 #include "pios_board_sim.h"
59 /* PIOS Hardware Includes (posix) */
61 #include <pios_delay.h>
63 #include <pios_sdcard.h>
67 #include <pios_servo.h>
69 #include <pios_debug.h>
71 #include <pios_rcvr.h>
75 #if defined(PIOS_INCLUDE_IAP)
78 #if defined(PIOS_INCLUDE_BL_HELPER)
79 #include <pios_bl_helper.h>
82 #define NELEMENTS(x) (sizeof(x) / sizeof(*(x)))