2009-11-28 10:28:11 +01:00
|
|
|
/**
|
2009-11-29 11:03:08 +01:00
|
|
|
******************************************************************************
|
2009-11-28 12:25:16 +01:00
|
|
|
*
|
2009-11-29 11:03:08 +01:00
|
|
|
* @file pios.h
|
|
|
|
* @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2009.
|
|
|
|
* @brief Main PiOS header.
|
|
|
|
* - Central header for the project.
|
|
|
|
* @see The GNU Public License (GPL) Version 3
|
|
|
|
*
|
|
|
|
*****************************************************************************/
|
2009-11-28 10:28:11 +01:00
|
|
|
/*
|
|
|
|
* 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
|
|
|
|
|
2009-12-02 06:33:29 +01:00
|
|
|
|
|
|
|
/* PIOS Compile Time Configuration */
|
|
|
|
#include "pios_config.h"
|
|
|
|
|
2009-11-29 08:15:59 +01:00
|
|
|
/* C Lib Includes */
|
2009-11-28 10:28:11 +01:00
|
|
|
#include <stdio.h>
|
2009-11-30 18:01:21 +01:00
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <string.h>
|
2009-12-10 05:28:21 +01:00
|
|
|
#include <math.h>
|
2009-11-28 10:28:11 +01:00
|
|
|
|
|
|
|
/* STM32 Std Perf Lib */
|
|
|
|
#include <stm32f10x.h>
|
2009-12-01 15:29:55 +01:00
|
|
|
#include <stm32f10x_conf.h>
|
2009-11-28 10:28:11 +01:00
|
|
|
|
2009-11-29 08:15:59 +01:00
|
|
|
/* FatFS Includes */
|
2009-11-28 10:28:11 +01:00
|
|
|
#include <ff.h>
|
|
|
|
#include <diskio.h>
|
|
|
|
|
2009-11-29 08:15:59 +01:00
|
|
|
/* minIni Includes */
|
2009-11-28 15:16:50 +01:00
|
|
|
#include <minIni.h>
|
|
|
|
|
2009-12-01 15:04:30 +01:00
|
|
|
/* PIOS Hardware Includes (STM32F10x) */
|
2009-12-11 19:48:48 +01:00
|
|
|
#include <pios_board.h>
|
|
|
|
#include <pios_sys.h>
|
2009-12-24 03:51:20 +01:00
|
|
|
#include <pios_delay.h>
|
2009-12-11 19:48:48 +01:00
|
|
|
#include <pios_led.h>
|
2009-12-22 20:32:47 +01:00
|
|
|
#include <pios_sdcard.h>
|
2009-12-11 19:48:48 +01:00
|
|
|
#include <pios_usart.h>
|
|
|
|
#include <pios_irq.h>
|
|
|
|
#include <pios_adc.h>
|
|
|
|
#include <pios_servo.h>
|
|
|
|
#include <pios_i2c.h>
|
2009-12-01 15:04:30 +01:00
|
|
|
|
|
|
|
/* PIOS Hardware Includes (Common) */
|
2009-12-11 19:48:48 +01:00
|
|
|
#include <pios_settings.h>
|
|
|
|
#include <pios_com.h>
|
|
|
|
#include <pios_bmp085.h>
|
2009-11-28 10:28:11 +01:00
|
|
|
|
|
|
|
/* More added here as they get written */
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* PIOS_H */
|