Andrew Tridgell
7072c52b57
HAL_AVR: removed Console driver
2013-10-05 18:32:12 +10:00
Pat Hickey
b3abe89989
AP_HAL_AVR: add Util stubs
2012-12-20 14:52:37 +11:00
Pat Hickey
cb70590227
AP_HAL_AVR: remove Dataflash driver
2012-12-20 14:51:37 +11:00
Pat Hickey
f9e9b8a7ef
AP_HAL_AVR: move scheduler's timer-hw dependent methods to a separate cpp
2012-12-20 14:51:34 +11:00
Pat Hickey
f543cede01
AP_HAL & AP_HAL_AVR: new SPI driver model
2012-12-20 14:51:31 +11:00
Pat Hickey
0c3e59a307
AP_HAL_AVR: AnalogIn channels respect pins, obey NONE input, all common
...
* there's no need for separate APM1/APM2 classes, so that was eliminated
* single class only has special member for vcc. all others created by
channel interface.
2012-12-20 14:51:30 +11:00
Pat Hickey
73ccfaf2d7
AP_HAL: implement DigitalSource abstraction
...
* GPIO's complement to AnalogSource
2012-12-20 14:51:25 +11:00
Pat Hickey
f889d5ac13
AP_HAL_AVR: trivial ConsoleDriver implementation
...
* user backend unimplemented. will do that next.
2012-12-20 14:51:24 +11:00
Pat Hickey
72f8667d9c
AP_HAL_AVR: AnalogIn implemented
2012-12-20 14:51:23 +11:00
Pat Hickey
9beba972c8
AP_HAL_AVR: Dataflash instances stubbed out based on /libraries/DataFlash
2012-12-20 14:51:21 +11:00
Pat Hickey
3b697fe299
AP_HAL: rename Log to Dataflash
...
* I'd love to build a proper abstraction for logging, but I don't have the
time to do so right now.
* The dataflash libs need to be pushed into the AP_HAL_AVR anyway, so I'll
do that now and replace the interface with a better logging driver later.
2012-12-20 14:51:21 +11:00
Pat Hickey
5d2327f52f
AP_HAL: Don't need a separate Console class, BetterStream will do.
2012-12-20 14:51:21 +11:00
Pat Hickey
2c14a77693
AP_HAL_AVR: add ISRRegistry class, member of HAL_AVR
...
* derived from Arduino_Mega_ISR_Registry class
2012-12-20 14:51:20 +11:00
Pat Hickey
db76562cd5
AP_HAL: global rename PPMInput -> RCInput, PWMOutput -> RCOutput
...
* for clarity. nobody cares that PPM/PWM is the implementation, and with
sbus etc it might not be
2012-12-20 14:51:20 +11:00
Pat Hickey
ea8242ace1
AP_HAL: Add scheduler interface, move Arduino init code to implementation
2012-12-20 14:51:19 +11:00
Pat Hickey
59a94d5aac
AP_HAL_AVR: implement ::init method in derived HAL_AVR class.
...
* Implementation of ::init taken from Arduino core. Not tested yet
2012-12-20 14:51:19 +11:00
Pat Hickey
8eb9b39a44
AP_HAL_AVR move library classes to their own AP_HAL_AVR namespace
2012-12-20 14:51:19 +11:00