Pat Hickey
dfdc14f583
AP_HAL_AVR: Console uses only sized int types
12 years ago
Pat Hickey
2ee214ee36
AP_HAL_AVR: AnalogIn uses only sized int types
12 years ago
Pat Hickey
9455d4c297
AP_HAL_AVR: UARTDriver impl uses only sized int types
12 years ago
Pat Hickey
ba07ae283f
AP_HAL_AVR: sized ints in GPIO
12 years ago
Pat Hickey
765e2da8a7
AP_HAL_AVR: analog input fixed when ANALOG_INPUT_NONE
...
* need to provide new sample so we dont spin forever
12 years ago
Pat Hickey
2826a605ba
AP_HAL_AVR: Dataflash debugging
12 years ago
Pat Hickey
ff09314ab8
AP_HAL_AVR: SPI debugging
12 years ago
Pat Hickey
d504db195e
AP_HAL_AVR: add sei in defer timer process
12 years ago
Andrew Tridgell
0f3e30a0c3
HAL_AVR: fixed race condition in delay()
12 years ago
Pat Hickey
6218d7779f
AP_HAL: expose DF_LOGGING_FORMAT to user
12 years ago
Pat Hickey
88f09d100a
AP_HAL_AVR: fix implementation of delay in scheduler
12 years ago
Pat Hickey
0b7a55b9f6
AP_HAL_AVR: AnalogIn hack to make vcc read work
...
* needs improvment
12 years ago
Pat Hickey
6e45ce12b2
AP_HAL_AVR: implement reboot in scheduler
...
* still need to fix system io register inits to do it like bootloader would
12 years ago
Pat Hickey
04d7b5ffe4
AP_HAL_AVR: implement changes to AnalogIn
12 years ago
Pat Hickey
50b765616b
AP_HAL_AVR: change uart0,1,2,3 to uartA,B,C
12 years ago
Pat Hickey
2244ac295c
AP_HAL_AVR: improve RCInput documentation
...
copied directlyf rom AP_HAL header
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
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