mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_HAL_FLYMAPLE: standardize inclusion of libaries headers
This commit changes the way libraries headers are included in source files: - If the header is in the same directory the source belongs to, so the notation '#include ""' is used with the path relative to the directory containing the source. - If the header is outside the directory containing the source, then we use the notation '#include <>' with the path relative to libraries folder. Some of the advantages of such approach: - Only one search path for libraries headers. - OSs like Windows may have a better lookup time.
This commit is contained in:
parent
ca5afbfdc9
commit
9f357ca812
@ -20,7 +20,7 @@
|
|||||||
#define __AP_HAL_FLYMAPLE_H__
|
#define __AP_HAL_FLYMAPLE_H__
|
||||||
|
|
||||||
/* Your layer exports should depend on AP_HAL.h ONLY. */
|
/* Your layer exports should depend on AP_HAL.h ONLY. */
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Umbrella header for AP_HAL_FLYMAPLE module.
|
* Umbrella header for AP_HAL_FLYMAPLE module.
|
||||||
|
@ -17,12 +17,12 @@
|
|||||||
Flymaple port by Mike McCauley
|
Flymaple port by Mike McCauley
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
|
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
||||||
|
|
||||||
#include "FlymapleWirish.h"
|
#include "FlymapleWirish.h"
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
#include "AnalogIn.h"
|
#include "AnalogIn.h"
|
||||||
using namespace AP_HAL_FLYMAPLE_NS;
|
using namespace AP_HAL_FLYMAPLE_NS;
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#ifndef __AP_HAL_FLYMAPLE_ANALOGIN_H__
|
#ifndef __AP_HAL_FLYMAPLE_ANALOGIN_H__
|
||||||
#define __AP_HAL_FLYMAPLE_ANALOGIN_H__
|
#define __AP_HAL_FLYMAPLE_ANALOGIN_H__
|
||||||
|
|
||||||
#include <AP_HAL_FLYMAPLE.h>
|
#include "AP_HAL_FLYMAPLE.h"
|
||||||
|
|
||||||
#define FLYMAPLE_INPUT_MAX_CHANNELS 12
|
#define FLYMAPLE_INPUT_MAX_CHANNELS 12
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
Flymaple port by Mike McCauley
|
Flymaple port by Mike McCauley
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
|
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
/*
|
/*
|
||||||
Flymaple port by Mike McCauley
|
Flymaple port by Mike McCauley
|
||||||
*/
|
*/
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
|
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#ifndef __AP_HAL_FLYMAPLE_GPIO_H__
|
#ifndef __AP_HAL_FLYMAPLE_GPIO_H__
|
||||||
#define __AP_HAL_FLYMAPLE_GPIO_H__
|
#define __AP_HAL_FLYMAPLE_GPIO_H__
|
||||||
|
|
||||||
#include <AP_HAL_FLYMAPLE.h>
|
#include "AP_HAL_FLYMAPLE.h"
|
||||||
|
|
||||||
class AP_HAL_FLYMAPLE_NS::FLYMAPLEGPIO : public AP_HAL::GPIO {
|
class AP_HAL_FLYMAPLE_NS::FLYMAPLEGPIO : public AP_HAL::GPIO {
|
||||||
public:
|
public:
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
Flymaple port by Mike McCauley
|
Flymaple port by Mike McCauley
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
||||||
|
|
||||||
#include "HAL_FLYMAPLE_Class.h"
|
#include "HAL_FLYMAPLE_Class.h"
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#ifndef __AP_HAL_FLYMAPLE_CLASS_H__
|
#ifndef __AP_HAL_FLYMAPLE_CLASS_H__
|
||||||
#define __AP_HAL_FLYMAPLE_CLASS_H__
|
#define __AP_HAL_FLYMAPLE_CLASS_H__
|
||||||
|
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
|
|
||||||
#include "AP_HAL_FLYMAPLE_Namespace.h"
|
#include "AP_HAL_FLYMAPLE_Namespace.h"
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
Uses the low level libmaple i2c library.
|
Uses the low level libmaple i2c library.
|
||||||
Caution: requires fixes against the libmaple git master as of 2013-10-10
|
Caution: requires fixes against the libmaple git master as of 2013-10-10
|
||||||
*/
|
*/
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
|
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#ifndef __AP_HAL_FLYMAPLE_I2CDRIVER_H__
|
#ifndef __AP_HAL_FLYMAPLE_I2CDRIVER_H__
|
||||||
#define __AP_HAL_FLYMAPLE_I2CDRIVER_H__
|
#define __AP_HAL_FLYMAPLE_I2CDRIVER_H__
|
||||||
|
|
||||||
#include <AP_HAL_FLYMAPLE.h>
|
#include "AP_HAL_FLYMAPLE.h"
|
||||||
|
|
||||||
#include <i2c.h>
|
#include <i2c.h>
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
Monitor a PPM-SUM input pin, and decode the channels based on pulse widths
|
Monitor a PPM-SUM input pin, and decode the channels based on pulse widths
|
||||||
Uses a timer to capture the time between negative transitions of the PPM-SUM pin
|
Uses a timer to capture the time between negative transitions of the PPM-SUM pin
|
||||||
*/
|
*/
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
|
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#ifndef __AP_HAL_FLYMAPLE_RCINPUT_H__
|
#ifndef __AP_HAL_FLYMAPLE_RCINPUT_H__
|
||||||
#define __AP_HAL_FLYMAPLE_RCINPUT_H__
|
#define __AP_HAL_FLYMAPLE_RCINPUT_H__
|
||||||
|
|
||||||
#include <AP_HAL_FLYMAPLE.h>
|
#include "AP_HAL_FLYMAPLE.h"
|
||||||
|
|
||||||
#define FLYMAPLE_RC_INPUT_NUM_CHANNELS 8
|
#define FLYMAPLE_RC_INPUT_NUM_CHANNELS 8
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
/*
|
/*
|
||||||
Flymaple port by Mike McCauley
|
Flymaple port by Mike McCauley
|
||||||
*/
|
*/
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
|
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#ifndef __AP_HAL_FLYMAPLE_RCOUTPUT_H__
|
#ifndef __AP_HAL_FLYMAPLE_RCOUTPUT_H__
|
||||||
#define __AP_HAL_FLYMAPLE_RCOUTPUT_H__
|
#define __AP_HAL_FLYMAPLE_RCOUTPUT_H__
|
||||||
|
|
||||||
#include <AP_HAL_FLYMAPLE.h>
|
#include "AP_HAL_FLYMAPLE.h"
|
||||||
|
|
||||||
#define FLYMAPLE_RC_OUTPUT_NUM_CHANNELS 6
|
#define FLYMAPLE_RC_OUTPUT_NUM_CHANNELS 6
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
/*
|
/*
|
||||||
Flymaple port by Mike McCauley
|
Flymaple port by Mike McCauley
|
||||||
*/
|
*/
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
|
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#ifndef __AP_HAL_FLYMAPLE_SPIDRIVER_H__
|
#ifndef __AP_HAL_FLYMAPLE_SPIDRIVER_H__
|
||||||
#define __AP_HAL_FLYMAPLE_SPIDRIVER_H__
|
#define __AP_HAL_FLYMAPLE_SPIDRIVER_H__
|
||||||
|
|
||||||
#include <AP_HAL_FLYMAPLE.h>
|
#include "AP_HAL_FLYMAPLE.h"
|
||||||
#include "Semaphores.h"
|
#include "Semaphores.h"
|
||||||
|
|
||||||
class HardwareSPI; // in libmaple
|
class HardwareSPI; // in libmaple
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
// Please see the notes in FlymaplePortingNotes.txt in this directory for
|
// Please see the notes in FlymaplePortingNotes.txt in this directory for
|
||||||
// information about disabling interrupts on Flymaple
|
// information about disabling interrupts on Flymaple
|
||||||
|
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
|
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#ifndef __AP_HAL_FLYMAPLE_SCHEDULER_H__
|
#ifndef __AP_HAL_FLYMAPLE_SCHEDULER_H__
|
||||||
#define __AP_HAL_FLYMAPLE_SCHEDULER_H__
|
#define __AP_HAL_FLYMAPLE_SCHEDULER_H__
|
||||||
|
|
||||||
#include <AP_HAL_FLYMAPLE.h>
|
#include "AP_HAL_FLYMAPLE.h"
|
||||||
|
|
||||||
#define FLYMAPLE_SCHEDULER_MAX_TIMER_PROCS 4
|
#define FLYMAPLE_SCHEDULER_MAX_TIMER_PROCS 4
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
/*
|
/*
|
||||||
Flymaple port by Mike McCauley
|
Flymaple port by Mike McCauley
|
||||||
*/
|
*/
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
|
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
||||||
|
|
||||||
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
using namespace AP_HAL_FLYMAPLE_NS;
|
using namespace AP_HAL_FLYMAPLE_NS;
|
||||||
|
|
||||||
#include <AP_HAL_FLYMAPLE.h>
|
#include "AP_HAL_FLYMAPLE.h"
|
||||||
#include "Semaphores.h"
|
#include "Semaphores.h"
|
||||||
#include "Scheduler.h"
|
#include "Scheduler.h"
|
||||||
#include "FlymapleWirish.h"
|
#include "FlymapleWirish.h"
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#ifndef __AP_HAL_FLYMAPLE_SEMAPHORE_H__
|
#ifndef __AP_HAL_FLYMAPLE_SEMAPHORE_H__
|
||||||
#define __AP_HAL_FLYMAPLE_SEMAPHORE_H__
|
#define __AP_HAL_FLYMAPLE_SEMAPHORE_H__
|
||||||
|
|
||||||
#include <AP_HAL_FLYMAPLE.h>
|
#include "AP_HAL_FLYMAPLE.h"
|
||||||
|
|
||||||
class AP_HAL_FLYMAPLE_NS::FLYMAPLESemaphore : public AP_HAL::Semaphore {
|
class AP_HAL_FLYMAPLE_NS::FLYMAPLESemaphore : public AP_HAL::Semaphore {
|
||||||
public:
|
public:
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
This storage is retained after power down, and survives reloading of firmware
|
This storage is retained after power down, and survives reloading of firmware
|
||||||
All multi-byte accesses are reduced to single byte access so that can span EEPROM block boundaries
|
All multi-byte accesses are reduced to single byte access so that can span EEPROM block boundaries
|
||||||
*/
|
*/
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
|
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#ifndef __AP_HAL_FLYMAPLE_STORAGE_H__
|
#ifndef __AP_HAL_FLYMAPLE_STORAGE_H__
|
||||||
#define __AP_HAL_FLYMAPLE_STORAGE_H__
|
#define __AP_HAL_FLYMAPLE_STORAGE_H__
|
||||||
|
|
||||||
#include <AP_HAL_FLYMAPLE.h>
|
#include "AP_HAL_FLYMAPLE.h"
|
||||||
|
|
||||||
class AP_HAL_FLYMAPLE_NS::FLYMAPLEStorage : public AP_HAL::Storage {
|
class AP_HAL_FLYMAPLE_NS::FLYMAPLEStorage : public AP_HAL::Storage {
|
||||||
public:
|
public:
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
using the fork of libmaple from https://github.com/mikemccauley/libmaple.git
|
using the fork of libmaple from https://github.com/mikemccauley/libmaple.git
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
|
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#ifndef __AP_HAL_FLYMAPLE_UARTDRIVER_H__
|
#ifndef __AP_HAL_FLYMAPLE_UARTDRIVER_H__
|
||||||
#define __AP_HAL_FLYMAPLE_UARTDRIVER_H__
|
#define __AP_HAL_FLYMAPLE_UARTDRIVER_H__
|
||||||
|
|
||||||
#include <AP_HAL_FLYMAPLE.h>
|
#include "AP_HAL_FLYMAPLE.h"
|
||||||
|
|
||||||
class HardwareSerial; // A libmaple classs
|
class HardwareSerial; // A libmaple classs
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#ifndef __AP_HAL_FLYMAPLE_UTIL_H__
|
#ifndef __AP_HAL_FLYMAPLE_UTIL_H__
|
||||||
#define __AP_HAL_FLYMAPLE_UTIL_H__
|
#define __AP_HAL_FLYMAPLE_UTIL_H__
|
||||||
|
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
#include "AP_HAL_FLYMAPLE_Namespace.h"
|
#include "AP_HAL_FLYMAPLE_Namespace.h"
|
||||||
|
|
||||||
class AP_HAL_FLYMAPLE_NS::FLYMAPLEUtil : public AP_HAL::Util {
|
class AP_HAL_FLYMAPLE_NS::FLYMAPLEUtil : public AP_HAL::Util {
|
||||||
|
@ -4,25 +4,25 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <AP_Common.h>
|
#include <AP_Common/AP_Common.h>
|
||||||
#include <AP_ADC.h>
|
#include <AP_ADC/AP_ADC.h>
|
||||||
#include <AP_InertialSensor.h>
|
#include <AP_InertialSensor/AP_InertialSensor.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <AP_Progmem.h>
|
#include <AP_Progmem/AP_Progmem.h>
|
||||||
#include <AP_Param.h>
|
#include <AP_Param/AP_Param.h>
|
||||||
#include <AP_Math.h>
|
#include <AP_Math/AP_Math.h>
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
#include <AP_Buffer.h>
|
#include <AP_Buffer/AP_Buffer.h>
|
||||||
#include <AP_Notify.h>
|
#include <AP_Notify/AP_Notify.h>
|
||||||
#include <Filter.h>
|
#include <Filter/Filter.h>
|
||||||
#include <AP_Baro.h>
|
#include <AP_Baro/AP_Baro.h>
|
||||||
#include <DataFlash.h>
|
#include <DataFlash/DataFlash.h>
|
||||||
#include <GCS_MAVLink.h>
|
#include <GCS_MAVLink/GCS_MAVLink.h>
|
||||||
#include <AP_Mission.h>
|
#include <AP_Mission/AP_Mission.h>
|
||||||
#include <StorageManager.h>
|
#include <StorageManager/StorageManager.h>
|
||||||
#include <AP_Terrain.h>
|
#include <AP_Terrain/AP_Terrain.h>
|
||||||
|
|
||||||
#include <AP_HAL_FLYMAPLE.h>
|
#include <AP_HAL_FLYMAPLE/AP_HAL_FLYMAPLE.h>
|
||||||
|
|
||||||
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
||||||
|
|
||||||
|
@ -6,13 +6,13 @@
|
|||||||
// This code is placed into the public domain.
|
// This code is placed into the public domain.
|
||||||
//
|
//
|
||||||
|
|
||||||
#include <AP_Common.h>
|
#include <AP_Common/AP_Common.h>
|
||||||
#include <AP_Math.h>
|
#include <AP_Math/AP_Math.h>
|
||||||
#include <AP_Param.h>
|
#include <AP_Param/AP_Param.h>
|
||||||
#include <AP_Progmem.h>
|
#include <AP_Progmem/AP_Progmem.h>
|
||||||
|
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
#include <AP_HAL_FLYMAPLE.h>
|
#include <AP_HAL_FLYMAPLE/AP_HAL_FLYMAPLE.h>
|
||||||
|
|
||||||
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
|
|
||||||
#include <AP_Common.h>
|
#include <AP_Common/AP_Common.h>
|
||||||
#include <AP_Math.h>
|
#include <AP_Math/AP_Math.h>
|
||||||
#include <AP_Param.h>
|
#include <AP_Param/AP_Param.h>
|
||||||
#include <AP_Progmem.h>
|
#include <AP_Progmem/AP_Progmem.h>
|
||||||
|
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
#include <AP_HAL_FLYMAPLE.h>
|
#include <AP_HAL_FLYMAPLE/AP_HAL_FLYMAPLE.h>
|
||||||
|
|
||||||
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
||||||
|
|
||||||
|
@ -6,13 +6,13 @@
|
|||||||
// This code is placed into the public domain.
|
// This code is placed into the public domain.
|
||||||
//
|
//
|
||||||
|
|
||||||
#include <AP_Common.h>
|
#include <AP_Common/AP_Common.h>
|
||||||
#include <AP_Math.h>
|
#include <AP_Math/AP_Math.h>
|
||||||
#include <AP_Param.h>
|
#include <AP_Param/AP_Param.h>
|
||||||
#include <AP_Progmem.h>
|
#include <AP_Progmem/AP_Progmem.h>
|
||||||
|
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
#include <AP_HAL_FLYMAPLE.h>
|
#include <AP_HAL_FLYMAPLE/AP_HAL_FLYMAPLE.h>
|
||||||
|
|
||||||
|
|
||||||
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
||||||
|
@ -4,13 +4,13 @@
|
|||||||
* the three axis of data.
|
* the three axis of data.
|
||||||
*******************************************/
|
*******************************************/
|
||||||
|
|
||||||
#include <AP_Common.h>
|
#include <AP_Common/AP_Common.h>
|
||||||
#include <AP_Math.h>
|
#include <AP_Math/AP_Math.h>
|
||||||
#include <AP_Param.h>
|
#include <AP_Param/AP_Param.h>
|
||||||
#include <AP_Progmem.h>
|
#include <AP_Progmem/AP_Progmem.h>
|
||||||
|
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
#include <AP_HAL_FLYMAPLE.h>
|
#include <AP_HAL_FLYMAPLE/AP_HAL_FLYMAPLE.h>
|
||||||
|
|
||||||
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
|
|
||||||
#include <AP_Common.h>
|
#include <AP_Common/AP_Common.h>
|
||||||
#include <AP_Math.h>
|
#include <AP_Math/AP_Math.h>
|
||||||
#include <AP_Param.h>
|
#include <AP_Param/AP_Param.h>
|
||||||
#include <AP_Progmem.h>
|
#include <AP_Progmem/AP_Progmem.h>
|
||||||
|
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
#include <AP_HAL_FLYMAPLE.h>
|
#include <AP_HAL_FLYMAPLE/AP_HAL_FLYMAPLE.h>
|
||||||
|
|
||||||
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
|
|
||||||
#include <AP_Common.h>
|
#include <AP_Common/AP_Common.h>
|
||||||
#include <AP_Math.h>
|
#include <AP_Math/AP_Math.h>
|
||||||
#include <AP_Param.h>
|
#include <AP_Param/AP_Param.h>
|
||||||
#include <AP_Progmem.h>
|
#include <AP_Progmem/AP_Progmem.h>
|
||||||
|
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
#include <AP_HAL_FLYMAPLE.h>
|
#include <AP_HAL_FLYMAPLE/AP_HAL_FLYMAPLE.h>
|
||||||
|
|
||||||
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
||||||
|
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
|
|
||||||
#include <AP_Common.h>
|
#include <AP_Common/AP_Common.h>
|
||||||
#include <AP_Math.h>
|
#include <AP_Math/AP_Math.h>
|
||||||
// Loopback test for SPI driver
|
// Loopback test for SPI driver
|
||||||
// Connect MISO and MOSI pins together (12 and 13 on Flymaple)
|
// Connect MISO and MOSI pins together (12 and 13 on Flymaple)
|
||||||
|
|
||||||
#include <AP_Param.h>
|
#include <AP_Param/AP_Param.h>
|
||||||
#include <AP_Progmem.h>
|
#include <AP_Progmem/AP_Progmem.h>
|
||||||
|
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
#include <AP_HAL_FLYMAPLE.h>
|
#include <AP_HAL_FLYMAPLE/AP_HAL_FLYMAPLE.h>
|
||||||
|
|
||||||
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
|
|
||||||
#include <AP_Common.h>
|
#include <AP_Common/AP_Common.h>
|
||||||
#include <AP_Math.h>
|
#include <AP_Math/AP_Math.h>
|
||||||
#include <AP_Param.h>
|
#include <AP_Param/AP_Param.h>
|
||||||
#include <AP_Progmem.h>
|
#include <AP_Progmem/AP_Progmem.h>
|
||||||
|
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
#include <AP_HAL_FLYMAPLE.h>
|
#include <AP_HAL_FLYMAPLE/AP_HAL_FLYMAPLE.h>
|
||||||
|
|
||||||
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
#include <AP_Common.h>
|
#include <AP_Common/AP_Common.h>
|
||||||
#include <AP_Math.h>
|
#include <AP_Math/AP_Math.h>
|
||||||
#include <AP_Param.h>
|
#include <AP_Param/AP_Param.h>
|
||||||
#include <AP_Progmem.h>
|
#include <AP_Progmem/AP_Progmem.h>
|
||||||
|
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
#include <AP_HAL_FLYMAPLE.h>
|
#include <AP_HAL_FLYMAPLE/AP_HAL_FLYMAPLE.h>
|
||||||
|
|
||||||
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
|
|
||||||
#include <AP_Common.h>
|
#include <AP_Common/AP_Common.h>
|
||||||
#include <AP_Math.h>
|
#include <AP_Math/AP_Math.h>
|
||||||
#include <AP_Param.h>
|
#include <AP_Param/AP_Param.h>
|
||||||
#include <AP_Progmem.h>
|
#include <AP_Progmem/AP_Progmem.h>
|
||||||
|
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
#include <AP_HAL_FLYMAPLE.h>
|
#include <AP_HAL_FLYMAPLE/AP_HAL_FLYMAPLE.h>
|
||||||
|
|
||||||
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
||||||
|
|
||||||
|
@ -6,13 +6,13 @@
|
|||||||
// This code is placed into the public domain.
|
// This code is placed into the public domain.
|
||||||
//
|
//
|
||||||
|
|
||||||
#include <AP_Common.h>
|
#include <AP_Common/AP_Common.h>
|
||||||
#include <AP_Math.h>
|
#include <AP_Math/AP_Math.h>
|
||||||
#include <AP_Param.h>
|
#include <AP_Param/AP_Param.h>
|
||||||
#include <AP_Progmem.h>
|
#include <AP_Progmem/AP_Progmem.h>
|
||||||
|
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
#include <AP_HAL_FLYMAPLE.h>
|
#include <AP_HAL_FLYMAPLE/AP_HAL_FLYMAPLE.h>
|
||||||
|
|
||||||
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
||||||
|
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <AP_Common.h>
|
#include <AP_Common/AP_Common.h>
|
||||||
#include <AP_Math.h>
|
#include <AP_Math/AP_Math.h>
|
||||||
#include <AP_Param.h>
|
#include <AP_Param/AP_Param.h>
|
||||||
#include <AP_Progmem.h>
|
#include <AP_Progmem/AP_Progmem.h>
|
||||||
|
|
||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
#include <AP_HAL_FLYMAPLE.h>
|
#include <AP_HAL_FLYMAPLE/AP_HAL_FLYMAPLE.h>
|
||||||
|
|
||||||
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
#include <AP_Common.h>
|
#include <AP_Common/AP_Common.h>
|
||||||
#include <AP_Progmem.h>
|
#include <AP_Progmem/AP_Progmem.h>
|
||||||
#include <AP_Param.h>
|
#include <AP_Param/AP_Param.h>
|
||||||
#include <AP_Math.h>
|
#include <AP_Math/AP_Math.h>
|
||||||
|
|
||||||
#include <AP_HAL_FLYMAPLE.h>
|
#include <AP_HAL_FLYMAPLE/AP_HAL_FLYMAPLE.h>
|
||||||
|
|
||||||
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
|
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <AP_HAL_Boards.h>
|
#include <AP_HAL/AP_HAL_Boards.h>
|
||||||
|
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
#if CONFIG_HAL_BOARD == HAL_BOARD_FLYMAPLE
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user