mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
AP_HAL_AVR: gpio and scheduler renamed arduino to avr
This commit is contained in:
parent
2e32ec3013
commit
03eb5a1beb
@ -32,17 +32,18 @@ static EmptyUARTDriver emptyUartDriver;
|
|||||||
|
|
||||||
static AVRI2CDriver avrI2CDriver;
|
static AVRI2CDriver avrI2CDriver;
|
||||||
static ArduinoSPIDriver arduinoSPIDriver;
|
static ArduinoSPIDriver arduinoSPIDriver;
|
||||||
static AVRAnalogIn analogIn;
|
static APM1SPIDriver apm1SPIDriver;
|
||||||
|
static AVRAnalogIn avrAnalogIn;
|
||||||
static AVREEPROMStorage avrEEPROMStorage;
|
static AVREEPROMStorage avrEEPROMStorage;
|
||||||
static APM1Dataflash apm1Dataflash;
|
static APM1Dataflash apm1Dataflash;
|
||||||
static APM2Dataflash apm2Dataflash;
|
static APM2Dataflash apm2Dataflash;
|
||||||
static AVRConsoleDriver consoleDriver;
|
static AVRConsoleDriver consoleDriver;
|
||||||
static ArduinoGPIO arduinoGPIO;
|
static AVRGPIO avrGPIO;
|
||||||
static APM1RCInput apm1RCInput;
|
static APM1RCInput apm1RCInput;
|
||||||
static APM2RCInput apm2RCInput;
|
static APM2RCInput apm2RCInput;
|
||||||
static APM1RCOutput apm1RCOutput;
|
static APM1RCOutput apm1RCOutput;
|
||||||
static APM2RCOutput apm2RCOutput;
|
static APM2RCOutput apm2RCOutput;
|
||||||
static ArduinoScheduler arduinoScheduler;
|
static AVRScheduler avrScheduler;
|
||||||
|
|
||||||
const HAL_AVR AP_HAL_AVR_APM1(
|
const HAL_AVR AP_HAL_AVR_APM1(
|
||||||
(UARTDriver*) &avrUart0Driver,
|
(UARTDriver*) &avrUart0Driver,
|
||||||
@ -51,14 +52,13 @@ const HAL_AVR AP_HAL_AVR_APM1(
|
|||||||
(UARTDriver*) &avrUart3Driver,
|
(UARTDriver*) &avrUart3Driver,
|
||||||
&avrI2CDriver,
|
&avrI2CDriver,
|
||||||
&arduinoSPIDriver,
|
&arduinoSPIDriver,
|
||||||
&analogIn,
|
|
||||||
&avrEEPROMStorage,
|
&avrEEPROMStorage,
|
||||||
&apm1Dataflash,
|
&apm1Dataflash,
|
||||||
&consoleDriver,
|
&consoleDriver,
|
||||||
&arduinoGPIO,
|
&avrGPIO,
|
||||||
&apm1RCInput,
|
&apm1RCInput,
|
||||||
&apm1RCOutput,
|
&apm1RCOutput,
|
||||||
&arduinoScheduler );
|
&avrScheduler );
|
||||||
|
|
||||||
const HAL_AVR AP_HAL_AVR_APM2(
|
const HAL_AVR AP_HAL_AVR_APM2(
|
||||||
(UARTDriver*) &avrUart0Driver,
|
(UARTDriver*) &avrUart0Driver,
|
||||||
@ -67,12 +67,11 @@ const HAL_AVR AP_HAL_AVR_APM2(
|
|||||||
(UARTDriver*) &emptyUartDriver,
|
(UARTDriver*) &emptyUartDriver,
|
||||||
&avrI2CDriver,
|
&avrI2CDriver,
|
||||||
&arduinoSPIDriver,
|
&arduinoSPIDriver,
|
||||||
&analogIn,
|
|
||||||
&avrEEPROMStorage,
|
&avrEEPROMStorage,
|
||||||
&apm2Dataflash,
|
&apm2Dataflash,
|
||||||
&consoleDriver,
|
&consoleDriver,
|
||||||
&arduinoGPIO,
|
&avrGPIO,
|
||||||
&apm2RCInput,
|
&apm2RCInput,
|
||||||
&apm2RCOutput,
|
&apm2RCOutput,
|
||||||
&arduinoScheduler );
|
&avrScheduler );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user