Pat Hickey
a639f7c34f
AP_HAL_AVR: rename FastSerial example to UARTDriver
12 years ago
Pat Hickey
52f6d67238
AP_HAL_AVR: add ArduPlaneLibs test sketch
12 years ago
Pat Hickey
d47f77f8dd
AP_HAL_AVR Scheduler: support nested atomic sections
12 years ago
Pat Hickey
f543cede01
AP_HAL & AP_HAL_AVR: new SPI driver model
12 years ago
Pat Hickey
03eb5a1beb
AP_HAL_AVR: gpio and scheduler renamed arduino to avr
12 years ago
Pat Hickey
2e32ec3013
AP_HAL_AVR GPIO: rename Arduino to be AVR
12 years ago
Pat Hickey
17b951c45b
AP_HAL_AVR Scheduler: rename Arduino to be AVR
12 years ago
Pat Hickey
b2c44d8a81
AP_HAL: move AP_Semaphore to be part of the HAL
12 years ago
Pat Hickey
5f48193ea0
AP_HAL_AVR analog in example: use new constant for board vcc, and vcc not vdd
12 years ago
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.
12 years ago
Pat Hickey
b7c4cc20ac
GPIO: optimized read, write, and mode for DigitalSource objects
12 years ago
Pat Hickey
47f555feac
AP_HAL_AVR: I2CDriver increments lockup count on any error
...
tridge made these changes to the "I2c" lib in a3589f2956
12 years ago
Pat Hickey
93f6267334
AP_HAL_AVR: create ArduCopterLibs test sketch
...
* used to make sure all ArduCopter deps build
12 years ago
Pat Hickey
c9541d3b00
AP_HAL: added begin_atomic and end_atomic to scheduler
12 years ago
Pat Hickey
87c55f68c2
AP_HAL_AVR Storage: conform to new API
12 years ago
Andrew Tridgell
c5221c34a5
HAL_AVR: don't auto build PX4 stuff yet
12 years ago
Andrew Tridgell
e9d41312ca
HAL_AVR: automatically find tests to build
12 years ago
Pat Hickey
a4f1f6a5db
AP_Progmem: fix dependencies for all sketches touched by AP_HAL_AVR
12 years ago
Pat Hickey
bae7e4b88e
AP_HAL Scheduler: simplify register_timer_process, min time for delay cb
12 years ago
Andrew Tridgell
53105efbcd
HAL_AVR: more uart0 -> console changes
12 years ago
Andrew Tridgell
d133f15f57
HAL_AVR: use hal.console instead of hal.uart0
12 years ago
Andrew Tridgell
ecd67ad79b
HAL_AVR: added more build examples
12 years ago
Andrew Tridgell
e663f5feab
HAL_AVR: use ccache if available
12 years ago
Andrew Tridgell
f269172d96
HAL_AVR: fixed build of remaining HAL_AVR examples
12 years ago
Andrew Tridgell
978c7ae329
HAL_AVR: added build_all.sh script
12 years ago
Andrew Tridgell
49e1f452e1
HAL_AVR: fixed I2C example build
12 years ago
Pat Hickey
1cd09be2fd
AP_HAL_AVR: proper empty uart for APM1 vs APM2
...
* APM1 uses uart2 as a spi port (dataflash)
* APM2 uses uart3 as a spi port (dataflash)
12 years ago
Pat Hickey
de81267bd5
AP_HAL_AVR: utility/vprintf.cpp fixed for avr-gcc 4.6
12 years ago
Pat Hickey
11bf533c57
AP_HAL_AVR: implement GPIO::attach_interrupt just for interrupt 6
12 years ago
Pat Hickey
d422ab7806
AP_HAL: Extend Scheduler to support defered timer procs
...
* based on queue_proc from AP_PeriodicProcess
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
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.
12 years ago
Pat Hickey
73ccfaf2d7
AP_HAL: implement DigitalSource abstraction
...
* GPIO's complement to AnalogSource
12 years ago
Pat Hickey
e83504f80d
AP_HAL_AVR LCDTest: fix build
12 years ago
Pat Hickey
40734bc2f2
AP_HAL_AVR Console: bugfix on buffer bytes free vs used
...
* had them reversed. doh
12 years ago
Pat Hickey
52adb462a9
AP_HAL_AVR: Finished implementation of AVRConsoleDriver
12 years ago
Pat Hickey
98f86d0288
AP_HAL_AVR: Console more complete, but still not 100%
12 years ago
Pat Hickey
6f4d208ffc
AP_HAL_AVR: fixup in vprintf header
12 years ago
Pat Hickey
f889d5ac13
AP_HAL_AVR: trivial ConsoleDriver implementation
...
* user backend unimplemented. will do that next.
12 years ago
Pat Hickey
017f592eef
AP_HAL: add ConsoleDriver interface
12 years ago
Pat Hickey
a3a6482fd3
AP_HAL_AVR: vprintf implementation exists outside of class hierchary.
...
* Makes it easier to mix into other classes.
12 years ago
Pat Hickey
36154559fc
AP_HAL: change txspace from a BetterStream method to a Stream method.
12 years ago
Pat Hickey
72f8667d9c
AP_HAL_AVR: AnalogIn implemented
12 years ago
Pat Hickey
01e34825f3
AP_HAL_AVR: Scheduler unit tests
12 years ago
Pat Hickey
ba7a596ec3
AP_HAL_AVR: Scheduler extensions implemented
12 years ago
Pat Hickey
a1863ec1f5
AP_HAL_AVR ISRRegistry: use AP_HAL::Proc types instead of private typedef
12 years ago
Pat Hickey
229f58412b
AP_HAL_AVR Storage: commit test
12 years ago
Pat Hickey
187571cca9
AP_HAL Scheduler fixes & AP_HAL_AVR Scheduler changed to match
12 years ago
Pat Hickey
a9dff1ad25
AP_HAL_AVR: bugfix to SPIDriver.cpp
...
* Had freq set to 10 mhz, not 1mhz... stupid mistake.
12 years ago
Pat Hickey
177da8ea5b
AP_HAL_AVR: Bugfix to SPIDriver_MPU6000 (works now)
12 years ago