update credits
[librepilot.git] / flight / targets / boards / gpsplatinum / firmware / inc / pios_config.h
blob1f1ac785aa35ef67f965e04102792d08502e6802
1 /**
2 ******************************************************************************
3 * @addtogroup OpenPilotSystem OpenPilot System
4 * @{
5 * @addtogroup OpenPilotCore OpenPilot Core
6 * @{
7 * @file pios_config.h
8 * @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010-2013.
9 * @brief PiOS configuration header, the compile time config file for the PIOS.
10 * Defines which PiOS libraries and features are included in the firmware.
11 * @see The GNU Public License (GPL) Version 3
12 *****************************************************************************/
14 * This program is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation; either version 3 of the License, or
17 * (at your option) any later version.
19 * This program is distributed in the hope that it will be useful, but
20 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
21 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22 * for more details.
24 * You should have received a copy of the GNU General Public License along
25 * with this program; if not, write to the Free Software Foundation, Inc.,
26 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29 #ifndef PIOS_CONFIG_H
30 #define PIOS_CONFIG_H
33 * Below is a complete list of PIOS configurable options.
34 * Please do not remove or rearrange them. Only comment out
35 * unused options in the list. See main pios.h header for more
36 * details.
39 /* #define PIOS_INCLUDE_DEBUG_CONSOLE */
40 /* #define DEBUG_LEVEL 0 */
41 /* #define PIOS_ENABLE_DEBUG_PINS */
43 /* PIOS FreeRTOS support */
44 #define PIOS_INCLUDE_FREERTOS
47 /* PIOS CallbackScheduler support */
48 // #define PIOS_INCLUDE_CALLBACKSCHEDULER
50 /* PIOS bootloader helper */
51 #define PIOS_INCLUDE_BL_HELPER
52 /* #define PIOS_INCLUDE_BL_HELPER_WRITE_SUPPORT */
54 /* PIOS system functions */
55 #define PIOS_INCLUDE_DELAY
56 #define PIOS_INCLUDE_INITCALL
57 #define PIOS_INCLUDE_SYS
58 // #define PIOS_INCLUDE_TASK_MONITOR
60 /* PIOS hardware peripherals */
61 #define PIOS_INCLUDE_IRQ
62 #define PIOS_INCLUDE_RTC
63 // #define PIOS_INCLUDE_TIM
64 #define PIOS_INCLUDE_USART
65 // #define PIOS_INCLUDE_ADC
66 #define PIOS_INCLUDE_I2C
67 #define PIOS_INCLUDE_SPI
68 #define PIOS_INCLUDE_GPIO
69 #define PIOS_INCLUDE_EXTI
70 #define PIOS_INCLUDE_WDG
72 /* PIOS USB functions */
73 // #define PIOS_INCLUDE_USB
74 // #define PIOS_INCLUDE_USB_HID
75 // #define PIOS_INCLUDE_USB_CDC
76 // #define PIOS_INCLUDE_USB_RCTX
78 /* PIOS sensor interfaces */
79 // #define PIOS_INCLUDE_ADXL345
80 /* #define PIOS_INCLUDE_BMA180 */
81 /* #define PIOS_INCLUDE_L3GD20 */
82 // #define PIOS_INCLUDE_MPU6000
83 // #define PIOS_MPU6000_ACCEL
84 /* #define PIOS_INCLUDE_HMC5843 */
85 #define PIOS_INCLUDE_HMC5X83
86 #define PIOS_INCLUDE_HMC5X83_INTERNAL
87 // #define PIOS_HMC5X83_HAS_GPIOS
88 /* #define PIOS_INCLUDE_BMP085 */
89 /* #define PIOS_INCLUDE_MS56XX */
90 /* #define PIOS_INCLUDE_MPXV */
91 /* #define PIOS_INCLUDE_ETASV3 */
92 /* #define PIOS_INCLUDE_HCSR04 */
94 /* PIOS receiver drivers */
95 // #define PIOS_INCLUDE_PWM
96 // #define PIOS_INCLUDE_PPM
97 // #define PIOS_INCLUDE_PPM_FLEXI
98 // #define PIOS_INCLUDE_DSM
99 // #define PIOS_INCLUDE_SBUS
100 // #define PIOS_INCLUDE_GCSRCVR
101 // #define PIOS_INCLUDE_OPLINKRCVR
103 /* PIOS abstract receiver interface */
104 // #define PIOS_INCLUDE_RCVR
106 /* PIOS common peripherals */
107 #define PIOS_INCLUDE_LED
108 #define PIOS_INCLUDE_IAP
109 // #define PIOS_INCLUDE_SERVO
110 /* #define PIOS_INCLUDE_I2C_ESC */
111 /* #define PIOS_INCLUDE_OVERO */
112 /* #define PIOS_OVERO_SPI */
113 /* #define PIOS_INCLUDE_SDCARD */
114 /* #define LOG_FILENAME "startup.log" */
115 #define PIOS_INCLUDE_FLASH
116 // #define PIOS_INCLUDE_FLASH_LOGFS_SETTINGS
117 /* #define FLASH_FREERTOS */
118 /* #define PIOS_INCLUDE_FLASH_EEPROM */
119 /* #define PIOS_INCLUDE_FLASH_INTERNAL */
121 /* PIOS radio modules */
122 /* #define PIOS_INCLUDE_RFM22B */
123 /* #define PIOS_INCLUDE_RFM22B_COM */
124 /* #define PIOS_INCLUDE_PPM_OUT */
125 /* #define PIOS_RFM22B_DEBUG_ON_TELEM */
127 /* PIOS misc peripherals */
128 /* #define PIOS_INCLUDE_VIDEO */
129 /* #define PIOS_INCLUDE_WAVE */
130 /* #define PIOS_INCLUDE_UDP */
132 /* PIOS abstract comms interface with options */
133 #define PIOS_INCLUDE_COM
134 #define PIOS_INCLUDE_DEBUG_CONSOLE
135 /* #define PIOS_INCLUDE_COM_MSG */
136 // #define PIOS_INCLUDE_TELEMETRY_RF
137 /* #define PIOS_INCLUDE_COM_TELEM */
138 /* #define PIOS_INCLUDE_COM_FLEXI */
139 /* #define PIOS_INCLUDE_COM_AUX */
140 /* #define PIOS_TELEM_PRIORITY_QUEUE */
141 // #define PIOS_INCLUDE_GPS
142 // #define PIOS_GPS_MINIMAL
143 // #define PIOS_INCLUDE_GPS_NMEA_PARSER
144 // #define PIOS_INCLUDE_GPS_UBX_PARSER
145 /* #define PIOS_GPS_SETS_HOMELOCATION */
147 /* Stabilization options */
148 /* #define PIOS_QUATERNION_STABILIZATION */
150 /* Alarm Thresholds */
151 #define HEAP_LIMIT_WARNING 220
152 #define HEAP_LIMIT_CRITICAL 40
153 #define IRQSTACK_LIMIT_WARNING 100
154 #define IRQSTACK_LIMIT_CRITICAL 60
155 #define CPULOAD_LIMIT_WARNING 70
156 #define CPULOAD_LIMIT_CRITICAL 75
158 /* Task stack sizes */
159 // #define PIOS_ACTUATOR_STACK_SIZE 1020
160 // #define PIOS_MANUAL_STACK_SIZE 850
161 // #ifdef DIAG_TASKS
162 // #define PIOS_SYSTEM_STACK_SIZE 720
163 // #else
164 // #define PIOS_SYSTEM_STACK_SIZE 660
165 // #endif
166 // #define PIOS_TELEM_STACK_SIZE 540
167 // #define PIOS_EVENTDISPATCHER_STACK_SIZE 160
169 /* This can't be too high to stop eventdispatcher thread overflowing */
170 // #define PIOS_EVENTDISAPTCHER_QUEUE 10
172 /* Revolution series */
173 /* #define REVOLUTION */
175 #endif /* PIOS_CONFIG_H */
177 * @}
178 * @}