Commit Graph

6541 Commits

Author SHA1 Message Date
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 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