/** ****************************************************************************** * * @file pios.h * @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010. * @brief Main PiOS header. * - Central header for the project. * @see The GNU Public License (GPL) Version 3 * *****************************************************************************/ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef PIOS_H #define PIOS_H /* PIOS Feature Selection */ #include "pios_config.h" #if defined(PIOS_INCLUDE_FREERTOS) /* FreeRTOS Includes */ #include "FreeRTOS.h" #include "task.h" #include "queue.h" #include "semphr.h" #endif /* C Lib Includes */ #include #include #include #include #include #include "pios_config.h" /* STM32 Std Perf Lib */ #if defined(STM32F2XX) #include #else #include #endif #if defined(PIOS_INCLUDE_SDCARD) /* Dosfs Includes */ #include /* Mass Storage Device Includes */ #include #endif /* Generic initcall infrastructure */ #include "pios_initcall.h" /* PIOS Board Specific Device Configuration */ #include "pios_board.h" /* PIOS Hardware Includes (STM32F10x) */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #if defined(PIOS_INCLUDE_EXTI) #include #endif #include /* PIOS Hardware Includes (Common) */ #include #include #if defined(PIOS_INCLUDE_BMP085) #include #endif #if defined(PIOS_INCLUDE_HCSR04) #include #endif #if defined(PIOS_INCLUDE_HMC5843) #include #endif #if defined(PIOS_INCLUDE_HMC5883) #include #endif #if defined(PIOS_INCLUDE_I2C_ESC) #include #endif #if defined(PIOS_INCLUDE_IMU3000) #include #endif #include #if defined(PIOS_INCLUDE_ADXL345) #include #endif #if defined(PIOS_INCLUDE_BMA180) #include #endif #if defined(PIOS_INCLUDE_FLASH) #include #include #endif #if defined(PIOS_INCLUDE_BL_HELPER) #include #endif #if defined(PIOS_INCLUDE_USB) /* USB Libs */ #include #endif #include #define NELEMENTS(x) (sizeof(x) / sizeof(*(x))) #endif /* PIOS_H */