Added new config entry for DF driver entries

DF drivers can now be added in each config file by adding

set(config_df_driver_list
	bmp280
	...
	)

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2016-02-19 16:59:46 +01:00
committed by Julian Oes
parent 7ed6506406
commit 419f4c49ce
6 changed files with 31 additions and 15 deletions
@@ -30,6 +30,9 @@
# POSSIBILITY OF SUCH DAMAGE.
#
############################################################################
include_directories(../../../../lib/DriverFramework/drivers)
px4_add_module(
MODULE platforms__posix__drivers__df_imu
MAIN df_imu
@@ -38,5 +41,6 @@ px4_add_module(
DEPENDS
platforms__common
df_driver_framework
df_mpu9250
)
# vim: set noet ft=cmake fenc=utf-8 ff=unix :
@@ -60,8 +60,7 @@
//#include <mathlib/math/filter/LowPassFilter2p.hpp>
//#include <lib/conversion/rotation.h>
//
//#include "DriverFramework.hpp"
#include "lib/DriverFramework/drivers/imu/mpu9250/MPU9250.hpp"
#include "mpu9250/MPU9250.hpp"
#include "DevMgr.hpp"
+5 -11
View File
@@ -30,16 +30,15 @@
* POSSIBILITY OF SUCH DAMAGE.
*
****************************************************************************/
#ifndef QURT_LOG_H
#define QURT_LOG_H
#pragma once
#include <sys/cdefs.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
__BEGIN_DECLS
__EXPORT extern uint64_t hrt_absolute_time(void);
@@ -59,9 +58,4 @@ static __inline void qurt_log(int level, const char *file, int line,
HAP_debug(buf, level, file, line);
}
#ifdef __cplusplus
}
#endif
#endif // QURT_LOG_H
__END_DECLS