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
17
/*
18
* This program is free software; you can redistribute it and/or modify
19
* it under the terms of the GNU General Public License as published by
20
* the Free Software Foundation; either version 3 of the License, or
21
* (at your option) any later version.
22
*
23
* This program is distributed in the hope that it will be useful, but
24
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
25
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
26
* for more details.
27
*
28
* You should have received a copy of the GNU General Public License along
29
* with this program; if not, see <http://www.gnu.org/licenses/>
30
*
31
* Additional note on redistribution: The copyright and license notices above
32
* must be maintained in each individual source file that is a derivative work
33
* of this source file; otherwise redistribution is prohibited.
34
*/
35
36
37
#ifndef PIOS_CONFIG_H
38
#define PIOS_CONFIG_H
39
40
#include <
pios_flight_config.h
>
41
42
/* Major features */
43
#define STABILIZATION_LQG
44
45
/* Enable/Disable PiOS Modules */
46
#define PIOS_INCLUDE_FLASH_JEDEC
47
#define PIOS_INCLUDE_I2C
48
#define PIOS_INCLUDE_SPI
49
#define PIOS_INCLUDE_FASTHEAP
50
#define PIOS_INCLUDE_WS2811
51
52
/* Variables related to the RFM22B functionality */
53
#define PIOS_INCLUDE_OPENLRS
54
#define PIOS_INCLUDE_OPENLRS_RCVR
55
56
/* Or the OSD on clones */
57
#define PIOS_INCLUDE_MAX7456
58
59
/* Select the sensors to include */
60
#define PIOS_INCLUDE_BMP280
61
#define PIOS_INCLUDE_BMP280_SPI
62
#define PIOS_INCLUDE_HMC5883
63
#define PIOS_INCLUDE_HMC5983_I2C
64
#define PIOS_INCLUDE_MPU
65
#define PIOS_INCLUDE_MS5611
66
//#define PIOS_INCLUDE_ETASV3
67
#define PIOS_INCLUDE_MPXV5004
68
#define PIOS_INCLUDE_MPXV7002
69
//#define PIOS_INCLUDE_HCSR04
70
#define PIOS_TOLERATE_MISSING_SENSORS
71
72
/* Com systems to include */
73
#define PIOS_INCLUDE_MAVLINK
74
#define PIOS_INCLUDE_LIGHTTELEMETRY
75
76
/* Supported receiver interfaces */
77
#define PIOS_INCLUDE_PWM
78
79
//#define PIOS_INCLUDE_DEBUG_CONSOLE
80
81
/* Flags that alter behaviors */
82
83
#define SYSTEMMOD_RGBLED_SUPPORT
84
85
#define CAMERASTAB_POI_MODE
86
87
/* Alarm Thresholds */
88
89
/*
90
* This has been calibrated 2015/12/06 using next @ f7f5c5ffe0a2b2fb9da819e32719f6b3bddacf86.
91
* Calibration has been done by disabling the init task, breaking into debugger after
92
* approximately after 60 seconds, then doing the following math:
93
*
94
* IDLE_COUNTS_PER_SEC_AT_NO_LOAD = (uint32_t)((double)idleCounter / vtlist.vt_systime * 1000 + 0.5)
95
*
96
* This has to be redone every time the toolchain, toolchain flags or RTOS
97
* configuration like number of task priorities or similar changes.
98
* A change in the cpu load calculation or the idle task handler will invalidate this as well.
99
*/
100
#define IDLE_COUNTS_PER_SEC_AT_NO_LOAD (9870518)
101
102
#define PIOS_INCLUDE_LOG_TO_FLASH
103
#define PIOS_LOGFLASH_SECT_SIZE 0x10000
/* 64kb */
104
105
#endif
/* PIOS_CONFIG_H */
106
pios_flight_config.h
flight
targets
revolution
fw
pios_config.h
Generated by
1.8.6