Commit Graph

9 Commits

Author SHA1 Message Date
Pat Hickey
11cfde1e46 AP_HAL_AVR: I2CDriver initialize in HAL init
* Makes more sense to have everything set to go by the time we're in setup.
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
ba7a596ec3 AP_HAL_AVR: Scheduler extensions implemented 2012-12-20 14:51:22 +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
b0d8f43111 AP_HAL_AVR: Implemented SPIDriver based on Arduino, but it doesn't work yet
* I don't have an APM2.5 board I can easily connect a logic analyzer to see
  the traffic on the bus...
2012-12-20 14:51:21 +11:00
Pat Hickey
ec0fddd49a AP_HAL_AVR: HAL_AVR initializes rcin and rcout 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