Andrew Tridgell
928024854e
HAL_AVR: fixed example build
11 years ago
Andrew Tridgell
3015356671
HAL_AVR: fixes for HAL_GPIO_ define change
11 years ago
Andrew Tridgell
6eee2421cc
AP_HAL: removed RCInput valid_channels() and added new_input() and num_channels()
...
the valid_channels() method was inconsistently implemented between
boards, and served two quite different purposes. It is clearer as two
functions
11 years ago
Randy Mackay
e7122b85ed
AP_HAL: example compile error fix
12 years ago
Pat Hickey
475da4eca4
CONFIG_HAL_BOARD - test sketches fixed up, build all passes
12 years ago
Pat Hickey
b89c45735b
AP_HAL_AVR: provide 'int main (void)' impl as a macro
...
* avoid extra typing
* makes it HAL implementation specific
12 years ago
Pat Hickey
a4f1f6a5db
AP_Progmem: fix dependencies for all sketches touched by AP_HAL_AVR
12 years ago
Andrew Tridgell
f269172d96
HAL_AVR: fixed build of remaining HAL_AVR examples
12 years ago
Pat Hickey
c56c4ae240
Various example sketches: hal.uart0->begin(115200) is redundant. use console.
...
just assume uart0 is initialized by the HAL, because it is. DRY.
also, don't ever use uart0 explicitly in example sketches, use console
and let the hal figure it out.
12 years ago
Pat Hickey
71ea0fc755
AP_HAL_AVR example RCInputTest created
...
* input works for APM2, but valid() isnt quite working yet
12 years ago