mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
HAL_ChibiOS: implement flash driver
This commit is contained in:
parent
608fd54f62
commit
e4aae50e44
@ -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"
|
||||
|
@ -84,6 +84,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
|
||||
@ -112,6 +113,7 @@ HAL_ChibiOS::HAL_ChibiOS() :
|
||||
&schedulerInstance,
|
||||
&utilInstance,
|
||||
&opticalFlowDriver,
|
||||
&flashDriver,
|
||||
nullptr
|
||||
)
|
||||
{}
|
||||
|
Loading…
Reference in New Issue
Block a user