Use px4_config.h instead of nuttx/config.h

Modified code to use OS independent header file for config settings.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-04-20 10:55:41 -07:00
parent 82a7fd5115
commit 9758112e31
185 changed files with 185 additions and 185 deletions
@@ -41,7 +41,7 @@
* @author Thomas Gubler <thomasgubler@gmail.com>
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
@@ -50,7 +50,7 @@
* [2] Euston, M.; Coote, P.; Mahony, R.; Jonghyuk Kim; Hamel, T., "A complementary filter for attitude estimation of a fixed-wing UAV," Intelligent Robots and Systems, 2008. IROS 2008. IEEE/RSJ International Conference on , vol., no., pp.340,345, 22-26 Sept. 2008
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
+1 -1
View File
@@ -40,7 +40,7 @@
* @author Julian Oes <joes@student.ethz.ch>
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+1 -1
View File
@@ -38,7 +38,7 @@
* @author Dominik Juchli <juchlid@ethz.ch>
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <systemlib/param/param.h>
/**
+1 -1
View File
@@ -42,7 +42,7 @@
* @author Anton Babushkin <anton.babushkin@me.com>
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
+1 -1
View File
@@ -42,7 +42,7 @@
* @author Julian Oes <julian@oes.ch>
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <systemlib/param/param.h>
PARAM_DEFINE_FLOAT(TRIM_ROLL, 0.0f);
+1 -1
View File
@@ -40,7 +40,7 @@
* @author Thomas Gubler
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
@@ -43,7 +43,7 @@
#include "AttitudePositionEstimatorEKF.h"
#include "estimator_22states.h"
#include <nuttx/config.h>
#include <px4_config.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -39,7 +39,7 @@
* @author Lorenz Meier <lm@inf.ethz.ch>
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <systemlib/param/param.h>
@@ -39,7 +39,7 @@
* Fixedwing backside controller using control library
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
@@ -41,7 +41,7 @@
*
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -41,7 +41,7 @@ f * Copyright (c) 2013 PX4 Development Team. All rights reserved.
* @author Thomas Gubler <thomasgubler@gmail.com>
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <systemlib/param/param.h>
@@ -51,7 +51,7 @@
* @author Thomas Gubler <thomasgubler@gmail.com>
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -39,7 +39,7 @@
* @author Lorenz Meier <lm@inf.ethz.ch>
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <systemlib/param/param.h>
/*
@@ -39,7 +39,7 @@
#include "landingslope.h"
#include <nuttx/config.h>
#include <px4_config.h>
#include <stdlib.h>
#include <errno.h>
#include <math.h>
@@ -39,7 +39,7 @@
* @author Thomas Gubler <thomasgubler@gmail.com>
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <systemlib/param/param.h>
/*
+1 -1
View File
@@ -38,7 +38,7 @@
* @author Lorenz Meier <lm@inf.ethz.ch>
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <unistd.h>
#include <stdio.h>
#include <stdbool.h>
+1 -1
View File
@@ -39,7 +39,7 @@
* @author Anton Babushkin <anton.babushkin@me.com>
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+1 -1
View File
@@ -41,7 +41,7 @@
*/
/* XXX trim includes */
#include <nuttx/config.h>
#include <px4_config.h>
#include <unistd.h>
#include <pthread.h>
#include <stdio.h>
@@ -53,7 +53,7 @@
* If rotation matrix setpoint is invalid it will be generated from Euler angles for compatibility with old position controllers.
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+1 -1
View File
@@ -39,7 +39,7 @@
* @author Thomas Gubler <thomasgubler@gmail.com>
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <systemlib/param/param.h>
+1 -1
View File
@@ -47,7 +47,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <nuttx/config.h>
#include <px4_config.h>
#include <unistd.h>
#include <mavlink/mavlink_log.h>
#include <geo/geo.h>
+1 -1
View File
@@ -39,7 +39,7 @@
* @author Thomas Gubler <thomasgubler@gmail.com>
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <systemlib/param/param.h>
+1 -1
View File
@@ -39,7 +39,7 @@
* @author Thomas Gubler <thomasgubler@gmail.com>
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <systemlib/param/param.h>
+1 -1
View File
@@ -39,7 +39,7 @@
* @author Julian Oes <joes@student.ethz.ch>
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <systemlib/param/param.h>
+1 -1
View File
@@ -43,7 +43,7 @@
* @author Thomas Gubler <thomasgubler@gmail.com>
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <stdio.h>
#include <stdlib.h>
+1 -1
View File
@@ -40,7 +40,7 @@
* @author Thomas Gubler <thomasgubler@gmail.com>
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <systemlib/param/param.h>
+1 -1
View File
@@ -39,7 +39,7 @@
* @author Thomas Gubler <thomasgubler@gmail.com>
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <systemlib/param/param.h>
+1 -1
View File
@@ -39,7 +39,7 @@
* @author Julian Oes <julian@oes.ch>
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <systemlib/param/param.h>
@@ -44,7 +44,7 @@
#include <stdbool.h>
#include <fcntl.h>
#include <string.h>
#include <nuttx/config.h>
#include <px4_config.h>
#include <nuttx/sched.h>
#include <sys/prctl.h>
#include <termios.h>
+1 -1
View File
@@ -36,7 +36,7 @@
*
* Simple ADC support for PX4IO on STM32.
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <stdint.h>
#include <nuttx/arch.h>
+1 -1
View File
@@ -37,7 +37,7 @@
* R/C inputs and servo outputs.
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <stdbool.h>
#include <drivers/drv_hrt.h>
+1 -1
View File
@@ -39,7 +39,7 @@
* Decodes into the global PPM buffer and updates accordingly.
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <nuttx/arch.h>
#include <fcntl.h>
+1 -1
View File
@@ -37,7 +37,7 @@
* Control channel input/output mixer and failsafe.
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <syslog.h>
#include <sys/types.h>
+1 -1
View File
@@ -36,7 +36,7 @@
* Top-level logic for the PX4IO module.
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <nuttx/arch.h>
#include <stdio.h> // required for task_create
+1 -1
View File
@@ -37,7 +37,7 @@
* General defines and structures for the PX4IO module firmware.
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <stdbool.h>
#include <stdint.h>
+1 -1
View File
@@ -37,7 +37,7 @@
* Implementation of the PX4IO register space.
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <stdbool.h>
#include <stdlib.h>
+1 -1
View File
@@ -36,7 +36,7 @@
* Safety button logic.
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <stdbool.h>
+1 -1
View File
@@ -37,7 +37,7 @@
* Serial protocol decoder for the Futaba S.bus protocol.
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <fcntl.h>
#include <unistd.h>
+1 -1
View File
@@ -42,7 +42,7 @@
* @author Ban Siesta <bansiesta@gmail.com>
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/prctl.h>
+1 -1
View File
@@ -39,7 +39,7 @@
* Segway controller using control library
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
+1 -1
View File
@@ -41,7 +41,7 @@
* @author Thomas Gubler <thomas@px4.io>
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <systemlib/param/param.h>
/**
+1 -1
View File
@@ -46,7 +46,7 @@
* @author Anton Babushkin <anton@px4.io>
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <fcntl.h>
#include <poll.h>
+1 -1
View File
@@ -37,7 +37,7 @@
* Implementation of commonly used conversions.
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <float.h>
#include "conversions.h"
+1 -1
View File
@@ -41,7 +41,7 @@
* @author Lorenz Meier <lm@inf.ethz.ch>
* @author Petri Tanskanen <petri.tanskanen@inf.ethz.ch>
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <nuttx/sched.h>
#include <sys/types.h>
+1 -1
View File
@@ -38,7 +38,7 @@
* the same names.
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <stdlib.h>
#include <errno.h>
+1 -1
View File
@@ -42,7 +42,7 @@
#include "mcu_version.h"
#include <nuttx/config.h>
#include <px4_config.h>
#ifdef CONFIG_ARCH_CHIP_STM32
#include <up_arch.h>
+1 -1
View File
@@ -37,7 +37,7 @@
* Programmable multi-channel mixer library.
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <sys/types.h>
#include <stdint.h>
+1 -1
View File
@@ -128,7 +128,7 @@
#ifndef _SYSTEMLIB_MIXER_MIXER_H
#define _SYSTEMLIB_MIXER_MIXER_H value
#include <nuttx/config.h>
#include <px4_config.h>
#include "drivers/drv_mixer.h"
#include <uORB/topics/multirotor_motor_limits.h>
+1 -1
View File
@@ -37,7 +37,7 @@
* Mixer collection.
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <sys/types.h>
#include <stdint.h>
+1 -1
View File
@@ -37,7 +37,7 @@
* Programmable multi-channel mixer library.
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <string.h>
#include <stdio.h>
#include <ctype.h>
+1 -1
View File
@@ -40,7 +40,7 @@
#ifndef _SYSTEMLIB_MIXER_LOAD_H
#define _SYSTEMLIB_MIXER_LOAD_H value
#include <nuttx/config.h>
#include <px4_config.h>
__BEGIN_DECLS
@@ -36,7 +36,7 @@
*
* Multi-rotor mixers.
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <sys/types.h>
#include <stdint.h>
#include <stdbool.h>
+1 -1
View File
@@ -37,7 +37,7 @@
* Simple summing mixer.
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <sys/types.h>
#include <stdint.h>
+1 -1
View File
@@ -43,7 +43,7 @@
*
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <board_config.h>
#include <stdio.h>
#include <math.h>
+1 -1
View File
@@ -37,7 +37,7 @@
* PPM input decoder.
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <stdint.h>
#include <string.h>
+1 -1
View File
@@ -37,7 +37,7 @@
* RC calibration check
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <stdio.h>
#include <fcntl.h>
+1 -1
View File
@@ -37,7 +37,7 @@
* System wide parameters
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <systemlib/param/param.h>
/**
+1 -1
View File
@@ -37,7 +37,7 @@
* Implementation of commonly used low-level system-call like functions.
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <unistd.h>
#include <stdio.h>
#include <fcntl.h>
+1 -1
View File
@@ -38,7 +38,7 @@
* Included Files
************************************************************************************/
#include <nuttx/config.h>
#include <px4_config.h>
#include <debug.h>
+1 -1
View File
@@ -41,7 +41,7 @@
* @defgroup topics List of all uORB topics.
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <drivers/drv_orb_dev.h>
+1 -1
View File
@@ -36,7 +36,7 @@
* A lightweight object broker.
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <drivers/device/device.h>
+1 -1
View File
@@ -31,7 +31,7 @@
*
****************************************************************************/
#include <nuttx/config.h>
#include <px4_config.h>
#include <cstdlib>
#include <cstring>
+1 -1
View File
@@ -33,7 +33,7 @@
#pragma once
#include <nuttx/config.h>
#include <px4_config.h>
#include <uavcan_stm32/uavcan_stm32.hpp>
#include <drivers/device/device.h>
#include <systemlib/perf_counter.h>
+1 -1
View File
@@ -35,7 +35,7 @@
* @author Pavel Kirienko <pavel.kirienko@gmail.com>
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <systemlib/param/param.h>
/**
@@ -44,7 +44,7 @@
*
*/
#include <nuttx/config.h>
#include <px4_config.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>