2010-06-27 16:14:07 +02:00
|
|
|
/**
|
|
|
|
******************************************************************************
|
|
|
|
*
|
2013-05-19 16:37:30 +02:00
|
|
|
* @file posix.h
|
2010-06-27 16:14:07 +02:00
|
|
|
* @author Corvus Corax Copyright (C) 2010.
|
2010-07-03 23:50:13 +02:00
|
|
|
* @brief Definitions to run PiOS on posix
|
2010-06-27 16:14:07 +02:00
|
|
|
* @see The GNU Public License (GPL) Version 2
|
|
|
|
*
|
|
|
|
*****************************************************************************/
|
2013-05-19 16:37:30 +02: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 2 of the License, or
|
2010-06-27 16:14:07 +02:00
|
|
|
* (at your option) any later version.
|
2013-05-19 16:37:30 +02:00
|
|
|
*
|
|
|
|
* 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
|
2010-06-27 16:14:07 +02:00
|
|
|
* for more details.
|
2013-05-19 16:37:30 +02:00
|
|
|
*
|
|
|
|
* 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.,
|
2010-06-27 16:14:07 +02:00
|
|
|
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*/
|
|
|
|
|
2010-07-03 23:50:13 +02:00
|
|
|
#ifndef PIOS_POSIX_H
|
|
|
|
#define PIOS_POSIX_H
|
2010-06-27 16:14:07 +02:00
|
|
|
|
2010-07-04 23:44:09 +02:00
|
|
|
#include <stdint.h>
|
2010-06-27 16:14:07 +02:00
|
|
|
|
2015-03-20 11:42:20 +01:00
|
|
|
#ifndef __cplusplus
|
2016-05-20 22:26:39 +02:00
|
|
|
|
2013-05-19 16:37:30 +02:00
|
|
|
typedef enum { FALSE = 0, TRUE = !FALSE } bool;
|
2011-01-16 16:17:57 +01:00
|
|
|
|
|
|
|
#ifndef false
|
2013-05-19 16:37:30 +02:00
|
|
|
#define false FALSE
|
|
|
|
#define true TRUE
|
2011-01-16 16:17:57 +01:00
|
|
|
#endif
|
|
|
|
|
2016-05-20 22:26:39 +02:00
|
|
|
#endif
|
|
|
|
|
2013-05-19 16:37:30 +02:00
|
|
|
// #define FILEINFO FILE*
|
2010-06-27 16:14:07 +02:00
|
|
|
|
2013-05-19 16:37:30 +02:00
|
|
|
// #define PIOS_SERVO_NUM_OUTPUTS 8
|
|
|
|
// #define PIOS_SERVO_NUM_TIMERS PIOS_SERVO_NUM_OUTPUTS
|
2010-12-20 17:38:17 +01:00
|
|
|
|
2013-03-15 12:09:19 +01:00
|
|
|
#endif /* PIOS_POSIX_H */
|