Pat Hickey
776a1074c9
AP_HAL_AVR: check in utility/ISRRegistry
2012-12-20 14:51:20 +11:00
Pat Hickey
064faafdd3
AP_HAL_AVR: stub RCOutput implementations for APM1 and APM2
2012-12-20 14:51:20 +11:00
Pat Hickey
fc2e1455a9
AP_HAL_AVR: proper RCInput implementations for APM1 and APM2
2012-12-20 14:51:20 +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
46f31aa69c
AP_HAL_AVR: Implement I2CDriver based on libraries/I2C
...
* Removed a ton of code we don't need from that driver, which should make
writing new drivers easier.
2012-12-20 14:51:20 +11:00
Pat Hickey
e14729e7d9
AP_HAL_AVR: FastSerial port passes FastSerial example sketch tests
2012-12-20 14:51:20 +11:00
Pat Hickey
cae931a93a
AP_HAL_AVR UARTDriver does basic hello world printing
...
* will import more complex tests next
2012-12-20 14:51:20 +11:00
Pat Hickey
83887cfc87
AP_HAL_APM: basic LiquidCrystal based sketch to test hal gpio & scheduler
2012-12-20 14:51:20 +11:00
Pat Hickey
e9c5f07db2
AP_HAL: Working GPIO interface & implementation
...
* actually, tested the output only... gotta do input next
2012-12-20 14:51:20 +11:00
Pat Hickey
474f57a90a
AP_HAL_AVR: Blink sketch - first working code on coreless
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
3b2719dd8c
AP_HAL_AVR: build APM1 example sketch with no Arduio core via nocore.inoflag
2012-12-20 14:51:19 +11:00
Pat Hickey
75279dfa43
AP_HAL_AVR: header include fixups
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
Pat Hickey
afd1f36400
AP_HAL: add BetterStream, Stream, and Print interfaces
...
* BetterStream Means AP_HAL depends on AP_Common, for now, in order to have
the AVR specific pgm_char_t defined.
I'll need to factor that out in the future but for now it can stay
2012-12-20 14:51:19 +11:00
Pat Hickey
00920b0483
AP_HAL_AVR: Stub implementations of AP_HAL_AVR concrete classes
2012-12-20 14:51:18 +11:00