mirror of https://github.com/ArduPilot/ardupilot
HAL_ChibiOS: implement flash driver
This commit is contained in:
parent
65d051cbc9
commit
36f7116054
|
@ -26,4 +26,5 @@ namespace ChibiOS {
|
|||
class SoftSigReader;
|
||||
class SoftSigReaderInt;
|
||||
class CANManager;
|
||||
class Flash;
|
||||
}
|
||||
|
|
|
@ -14,3 +14,4 @@
|
|||
#include "RCInput.h"
|
||||
#include "RCOutput.h"
|
||||
#include "I2CDevice.h"
|
||||
#include "Flash.h"
|
||||
|
|
|
@ -82,6 +82,7 @@ static Empty::RCOutput rcoutDriver;
|
|||
static ChibiOS::Scheduler schedulerInstance;
|
||||
static ChibiOS::Util utilInstance;
|
||||
static Empty::OpticalFlow opticalFlowDriver;
|
||||
static ChibiOS::Flash flashDriver;
|
||||
|
||||
|
||||
#if HAL_WITH_IO_MCU
|
||||
|
@ -110,6 +111,7 @@ HAL_ChibiOS::HAL_ChibiOS() :
|
|||
&schedulerInstance,
|
||||
&utilInstance,
|
||||
&opticalFlowDriver,
|
||||
&flashDriver,
|
||||
nullptr
|
||||
)
|
||||
{}
|
||||
|
|
Loading…
Reference in New Issue