dRonin
adbada4
dRonin firmware
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
pios_config.h
Go to the documentation of this file.
1
16
/*
17
* This program is free software; you can redistribute it and/or modify
18
* it under the terms of the GNU General Public License as published by
19
* the Free Software Foundation; either version 3 of the License, or
20
* (at your option) any later version.
21
*
22
* This program is distributed in the hope that it will be useful, but
23
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
24
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
25
* for more details.
26
*
27
* You should have received a copy of the GNU General Public License along
28
* with this program; if not, see <http://www.gnu.org/licenses/>
29
*/
30
31
#ifndef PIOS_CONFIG_H
32
#define PIOS_CONFIG_H
33
34
/* Enable/Disable PiOS Modules */
35
#define PIOS_INCLUDE_ANNUNC
36
#define PIOS_INCLUDE_IAP
37
#define PIOS_INCLUDE_RCVR
38
#define PIOS_INCLUDE_TIM
39
#define PIOS_INCLUDE_OPENLRS
40
#define PIOS_INCLUDE_OPENLRS_RCVR
41
42
/* Supported receiver interfaces */
43
#define PIOS_INCLUDE_UAVTALKRCVR
44
#define PIOS_INCLUDE_PPM
45
#define PIOS_INCLUDE_SBUS
46
47
/* Supported USART-based PIOS modules */
48
#define PIOS_INCLUDE_SPI
49
#define PIOS_INCLUDE_SYS
50
#define PIOS_INCLUDE_USART
51
#define PIOS_INCLUDE_USB
52
#define PIOS_INCLUDE_USB_HID
53
#define PIOS_INCLUDE_USB_CDC
54
#define PIOS_INCLUDE_COM
55
#define PIOS_INCLUDE_CHIBIOS
56
#define PIOS_INCLUDE_EXTI
57
#define PIOS_INCLUDE_RTC
58
#define PIOS_INCLUDE_WDG
59
#define PIOS_INCLUDE_BL_HELPER
60
61
#define PIOS_INCLUDE_TARANIS_SPORT
62
#define PIOS_INCLUDE_FRSKY_SPORT_TELEMETRY
63
64
#define PIOS_INCLUDE_FLASH
65
#define PIOS_INCLUDE_FLASH_INTERNAL
66
#define PIOS_INCLUDE_LOGFS_SETTINGS
67
68
/* Defaults for Logging */
69
#define LOG_FILENAME "PIOS.LOG"
70
#define STARTUP_LOG_ENABLED 1
71
72
/* COM Module */
73
#define GPS_BAUDRATE 19200
74
#define TELEM_BAUDRATE 19200
75
#define AUXUART_ENABLED 0
76
#define AUXUART_BAUDRATE 19200
77
78
/* Alarm Thresholds */
79
#define HEAP_LIMIT_WARNING 220
80
#define HEAP_LIMIT_CRITICAL 40
81
#define IRQSTACK_LIMIT_WARNING 100
82
#define IRQSTACK_LIMIT_CRITICAL 60
83
#define CPULOAD_LIMIT_WARNING 85
84
#define CPULOAD_LIMIT_CRITICAL 95
85
86
#define IDLE_COUNTS_PER_SEC_AT_NO_LOAD 2158000
87
88
/* PIOS Initcall infrastructure */
89
#define PIOS_INCLUDE_INITCALL
90
91
#define PIOS_INCLUDE_DEBUG_CONSOLE
92
93
#define PIOS_NO_TELEM_ON_RF
94
#define PIOS_NO_ALARMS
95
96
/* Turn on debugging signals on the telemetry port */
97
//#define PIOS_RFM22B_DEBUG_ON_TELEM
98
99
#define NO_SENSORS
100
101
#define PIPXTREME
102
103
#endif
/* PIOS_CONFIG_H */
104
flight
targets
pipxtreme
fw
pios_config.h
Generated by
1.8.6