Commit Graph

6284 Commits

Author SHA1 Message Date
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 4370f1d4e4 remove ArduBoat sketch, deprecated since removal of APO 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 ada10f6eb2 ArduCopter: change comment references to AP_Var to AP_Param
* jsut to clean up the grep for "AP_Var"
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