Andrew Tridgell
38031edc9d
AP_InertialSensor: removed spurious init() method
2012-12-20 14:51:36 +11:00
Andrew Tridgell
c9a81d7de6
AP_InertialSensor: fixed sign of 16 bit SPI transfer
...
this gets accels and gyros working again
2012-12-20 14:51:36 +11:00
Pat Hickey
dbcc4fc6a5
AP_InertialSensor: variable wibble
2012-12-20 14:51:36 +11:00
Pat Hickey
9aca19415a
AP_InertialSensor: robust semaphores
2012-12-20 14:51:36 +11:00
Pat Hickey
1019fb45e7
AP_InertialSensor: remove sei in data interrupt handler
2012-12-20 14:51:36 +11:00
Pat Hickey
af852aa6a9
AP_HAL_AVR: init dataflash from HAL init
2012-12-20 14:51:35 +11:00
Pat Hickey
7f02993994
AP_HAL_AVR: less chatty Dataflash
2012-12-20 14:51:35 +11:00
Pat Hickey
09c14f3807
AP_ADC: more robust semaphores
2012-12-20 14:51:35 +11:00
Pat Hickey
bfd03ab40c
AP_Baro: robust spi device
2012-12-20 14:51:35 +11:00
Pat Hickey
60f7788be4
AP_Baro: robust calibration
2012-12-20 14:51:35 +11:00
Pat Hickey
eaa0a990a4
AP_Baro: MS5611 robust semaphores
2012-12-20 14:51:35 +11:00
Pat Hickey
52925b655f
AP_Baro: MS5611 uses delay in busy wait
2012-12-20 14:51:35 +11:00
Pat Hickey
6943d32d76
SITL: fixed to build under AP_HAL
...
* won't work or naything like that
2012-12-20 14:51:35 +11:00
Pat Hickey
4d0b1e6571
AP_Relay: add init method
2012-12-20 14:51:35 +11:00
Pat Hickey
70a3ee738a
gcs console: uartb fixup
2012-12-20 14:51:35 +11:00
Pat Hickey
7017a35fc3
AP_Airspeed: fix for AnalogIn read_average
2012-12-20 14:51:35 +11:00
Pat Hickey
8f99a12374
AP_ADC_AnalogSource: fix for new AnalogIn interface
2012-12-20 14:51:35 +11:00
Pat Hickey
a6d80af9ed
AP_ADC_AnalogSource: obey changes to AnalogSource interface
2012-12-20 14:51:35 +11:00
Pat Hickey
2be552ea22
AP_GPS: less chatty autodetect
2012-12-20 14:51:35 +11:00
Pat Hickey
d72c5cf828
AP_GPS: uartB fixup
2012-12-20 14:51:35 +11:00
Andrew Tridgell
5840ded767
AHRS: removed constrain() defines
2012-12-20 14:51:34 +11:00
Andrew Tridgell
09e7b0b592
AHRS: removed unused variable
2012-12-20 14:51:34 +11:00
Pat Hickey
70f34656bc
AP_AHRS: uart1 -> uartB fixup
2012-12-20 14:51:34 +11:00
Andrew Tridgell
eb81a3934e
HAL_AVR: removed extra min() define
2012-12-20 14:51:34 +11:00
Pat Hickey
f9c8f93b37
AP_HAL_AVR: Dataflash APM2 does a better job detecting no df card
2012-12-20 14:51:34 +11:00
Andrew Tridgell
aff1e56e82
AP_HAL: fixed AnalogIn example sketch
2012-12-20 14:51:34 +11:00
Pat Hickey
13f7bd1723
AP_HAL_AVR: AnalogIn supports read_average & read_latest
2012-12-20 14:51:34 +11:00
Pat Hickey
f9e9b8a7ef
AP_HAL_AVR: move scheduler's timer-hw dependent methods to a separate cpp
2012-12-20 14:51:34 +11:00
Andrew Tridgell
d9f69923f2
HAL_AVR: fixed int types -> uint8_t
2012-12-20 14:51:34 +11:00
Andrew Tridgell
b1856bc17e
HAL_AVR: fixed warnings on all PSTR() usage
2012-12-20 14:51:34 +11:00
Andrew Tridgell
857c0b69e5
AP_HAL_AVR: fixed interrupt attach for MPU6000
2012-12-20 14:51:34 +11:00
Andrew Tridgell
31bb300f81
AP_HAL_AVR: fixed bounds check for rc input
2012-12-20 14:51:34 +11:00
Pat Hickey
a79adcb7f4
AP_HAL_AVR: comment wibbles
2012-12-20 14:51:34 +11:00
Pat Hickey
8d97596ea0
AP_HAL_AVR: RCInput has overrides
2012-12-20 14:51:34 +11:00
Pat Hickey
cb38651df5
AP_HAL: RCInput has overrides
2012-12-20 14:51:34 +11:00
Pat Hickey
dfdc14f583
AP_HAL_AVR: Console uses only sized int types
2012-12-20 14:51:34 +11:00
Pat Hickey
8879cbbc69
AP_HAL: Console uses only sized int types
2012-12-20 14:51:33 +11:00
Pat Hickey
2ee214ee36
AP_HAL_AVR: AnalogIn uses only sized int types
2012-12-20 14:51:33 +11:00
Pat Hickey
de4adefe4e
AP_HAL: AnalogIn uses only sized int types
2012-12-20 14:51:33 +11:00
Pat Hickey
9455d4c297
AP_HAL_AVR: UARTDriver impl uses only sized int types
2012-12-20 14:51:33 +11:00
Pat Hickey
243590bb73
AP_HAL: UARTDriver & Stream uses only sized int types
...
Signed-off-by: Pat Hickey <pat@galois.com>
2012-12-20 14:51:33 +11:00
Pat Hickey
ba07ae283f
AP_HAL_AVR: sized ints in GPIO
2012-12-20 14:51:33 +11:00
Pat Hickey
709869f8ce
AP_HAL: use sized ints in GPIO
2012-12-20 14:51:33 +11:00
Pat Hickey
765e2da8a7
AP_HAL_AVR: analog input fixed when ANALOG_INPUT_NONE
...
* need to provide new sample so we dont spin forever
2012-12-20 14:51:33 +11:00
Pat Hickey
2826a605ba
AP_HAL_AVR: Dataflash debugging
2012-12-20 14:51:33 +11:00
Pat Hickey
ff09314ab8
AP_HAL_AVR: SPI debugging
2012-12-20 14:51:33 +11:00
Pat Hickey
d504db195e
AP_HAL_AVR: add sei in defer timer process
2012-12-20 14:51:33 +11:00
Andrew Tridgell
0f3e30a0c3
HAL_AVR: fixed race condition in delay()
2012-12-20 14:51:33 +11:00
Pat Hickey
ca4bc8d760
AP_HAL: AnalogIn read changed to read_latest and read_average
2012-12-20 14:51:33 +11:00
Pat Hickey
6218d7779f
AP_HAL: expose DF_LOGGING_FORMAT to user
2012-12-20 14:51:33 +11:00
Pat Hickey
3bca50f422
AP_HAL: BetterStream removes printf attribute from _printf_P
2012-12-20 14:51:33 +11:00
Pat Hickey
88f09d100a
AP_HAL_AVR: fix implementation of delay in scheduler
2012-12-20 14:51:32 +11:00
Pat Hickey
0b7a55b9f6
AP_HAL_AVR: AnalogIn hack to make vcc read work
...
* needs improvment
2012-12-20 14:51:32 +11:00
Pat Hickey
6e45ce12b2
AP_HAL_AVR: implement reboot in scheduler
...
* still need to fix system io register inits to do it like bootloader would
2012-12-20 14:51:32 +11:00
Pat Hickey
592d32ba47
AP_HAL: add reboot to scheduler
2012-12-20 14:51:32 +11:00
Pat Hickey
04d7b5ffe4
AP_HAL_AVR: implement changes to AnalogIn
2012-12-20 14:51:32 +11:00
Pat Hickey
7049934a69
AP_HAL: AnalogIn channel gets scale, source gets set_pin
2012-12-20 14:51:32 +11:00
Pat Hickey
50b765616b
AP_HAL_AVR: change uart0,1,2,3 to uartA,B,C
2012-12-20 14:51:32 +11:00
Pat Hickey
dbb6a2a0e5
AP_HAL: change uart0,1,2,3 to uartA,B,C
2012-12-20 14:51:32 +11:00
Pat Hickey
d4e350f574
remove APM_RC, deprecated by AP_HAL
2012-12-20 14:51:32 +11:00
Pat Hickey
3b4e2296e9
remove nobuild.txt from deprecated AP_Var directory
2012-12-20 14:51:32 +11:00
Pat Hickey
d53572e163
remove DigitalWriteFast library, deprecated under AP_HAL (&goodriddance)
2012-12-20 14:51:32 +11:00
Pat Hickey
2b904703d8
remove AP_PeriodicProcess library, deprecated under AP_HAL
2012-12-20 14:51:32 +11:00
Pat Hickey
5b9738bba1
remove Arduino_Mega_ISR_Registry library, deprecated under AP_HAL
2012-12-20 14:51:32 +11:00
Pat Hickey
1d21cea032
remove AP_AnalogSource library, deprecated under AP_HAL
2012-12-20 14:51:32 +11:00
Pat Hickey
3987e81e2a
remove APO library, deprecated under AP_HAL
2012-12-20 14:51:31 +11:00
Pat Hickey
97e190a641
remove SPI3 library, deprecated under AP_HAL
2012-12-20 14:51:31 +11:00
Pat Hickey
bc4b196f6f
remove I2C library, deprecated under AP_HAL
2012-12-20 14:51:31 +11:00
Pat Hickey
db31608aa2
remove AP_Semaphore library, deprecated under AP_HAL
2012-12-20 14:51:31 +11:00
Pat Hickey
ec8b56db7d
remove FastSerial library, deprecated under AP_HAL
2012-12-20 14:51:31 +11:00
Pat Hickey
39d14c8a93
PID: ported to AP_HAL
2012-12-20 14:51:31 +11:00
Pat Hickey
40f254af51
memcheck: ported to AP_HAL
2012-12-20 14:51:31 +11:00
Pat Hickey
f4f3062df1
AP_Relay: rewritten for AP_HAL
2012-12-20 14:51:31 +11:00
Pat Hickey
71a360b3e3
APM_PI: ported to AP_HAL
...
* formatted to 80w, way of the future, way of the future
2012-12-20 14:51:31 +11:00
Pat Hickey
2244ac295c
AP_HAL_AVR: improve RCInput documentation
...
copied directlyf rom AP_HAL header
2012-12-20 14:51:31 +11:00
Pat Hickey
b89c45735b
AP_HAL_AVR: provide 'int main (void)' impl as a macro
...
* avoid extra typing
* makes it HAL implementation specific
2012-12-20 14:51:31 +11:00
Pat Hickey
a639f7c34f
AP_HAL_AVR: rename FastSerial example to UARTDriver
2012-12-20 14:51:31 +11:00
Pat Hickey
52f6d67238
AP_HAL_AVR: add ArduPlaneLibs test sketch
2012-12-20 14:51:31 +11:00
Pat Hickey
d47f77f8dd
AP_HAL_AVR Scheduler: support nested atomic sections
2012-12-20 14:51:31 +11:00
Pat Hickey
f543cede01
AP_HAL & AP_HAL_AVR: new SPI driver model
2012-12-20 14:51:31 +11:00
Pat Hickey
2a12392b9e
AP_HAL: export semaphore header
2012-12-20 14:51:30 +11:00
Pat Hickey
03eb5a1beb
AP_HAL_AVR: gpio and scheduler renamed arduino to avr
2012-12-20 14:51:30 +11:00
Pat Hickey
2e32ec3013
AP_HAL_AVR GPIO: rename Arduino to be AVR
2012-12-20 14:51:30 +11:00
Pat Hickey
17b951c45b
AP_HAL_AVR Scheduler: rename Arduino to be AVR
2012-12-20 14:51:30 +11:00
Pat Hickey
b2c44d8a81
AP_HAL: move AP_Semaphore to be part of the HAL
2012-12-20 14:51:30 +11:00
Pat Hickey
5f48193ea0
AP_HAL_AVR analog in example: use new constant for board vcc, and vcc not vdd
2012-12-20 14:51:30 +11:00
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.
2012-12-20 14:51:30 +11:00
Pat Hickey
f4b5ef9fad
AP_HAL AnalogIn: gets constants for BOARD_VCC and NONE
2012-12-20 14:51:30 +11:00
Pat Hickey
b7c4cc20ac
GPIO: optimized read, write, and mode for DigitalSource objects
2012-12-20 14:51:30 +11:00
Pat Hickey
054f35e33d
AP_Camera: ported to AP_HAL
2012-12-20 14:51:30 +11:00
Pat Hickey
f935f1ae31
AP_InertialNav: did my best at a meaningful test sketch
...
* the existing test sketch was just the InertialSensor test
2012-12-20 14:51:30 +11:00
Pat Hickey
af4806666f
AP_InertialNav: ported to AP_HAL
2012-12-20 14:51:30 +11:00
Pat Hickey
c393374d4c
AP_OpticalFlow: ported to AP_HAL
...
* 78 wide
* remove SPI.h, SPI3.h, and FastSerial.h dependencies (though not objects)
* gotta totally refactor HAL SPI driver to fix the rest
2012-12-20 14:51:30 +11:00
Pat Hickey
a38ce8962e
AP_Rangefinder: ported to AP_HAL. Only officially supports MaxsonarXL.
2012-12-20 14:51:30 +11:00
Pat Hickey
47f555feac
AP_HAL_AVR: I2CDriver increments lockup count on any error
...
tridge made these changes to the "I2c" lib in a3589f2956
2012-12-20 14:51:30 +11:00
Pat Hickey
93f6267334
AP_HAL_AVR: create ArduCopterLibs test sketch
...
* used to make sure all ArduCopter deps build
2012-12-20 14:51:30 +11:00
Pat Hickey
c1114168e4
AP_Baro tests rebase fixups
2012-12-20 14:51:29 +11:00
Pat Hickey
e787b5ccd9
AP_Buffer: ported to AP_HAL
2012-12-20 14:51:29 +11:00
Pat Hickey
c9541d3b00
AP_HAL: added begin_atomic and end_atomic to scheduler
2012-12-20 14:51:29 +11:00
Pat Hickey
197a685923
AP_Semaphore: ported to AP_HAL
...
* improved readability of test output
2012-12-20 14:51:29 +11:00