Commit Graph

16 Commits

Author SHA1 Message Date
Pat Hickey f060df9747 AP_HAL_AVR: now that we can detect the APM revision, use wdt reboot on apm2 2012-12-20 14:52:28 +11:00
Andrew Tridgell 1342a82ba7 HAL_AVR: catch atomic nesting errors 2012-12-20 14:51:40 +11:00
Andrew Tridgell e57834d763 DataFlash: added SITL header 2012-12-20 14:51:40 +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
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 88f09d100a AP_HAL_AVR: fix implementation of delay in scheduler 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 d47f77f8dd AP_HAL_AVR Scheduler: support nested atomic sections 2012-12-20 14:51:31 +11:00
Pat Hickey 17b951c45b AP_HAL_AVR Scheduler: rename Arduino to be AVR 2012-12-20 14:51:30 +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 bae7e4b88e AP_HAL Scheduler: simplify register_timer_process, min time for delay cb 2012-12-20 14:51:27 +11:00
Pat Hickey d422ab7806 AP_HAL: Extend Scheduler to support defered timer procs
* based on queue_proc from AP_PeriodicProcess
2012-12-20 14:51:26 +11:00
Pat Hickey ba7a596ec3 AP_HAL_AVR: Scheduler extensions implemented 2012-12-20 14:51:22 +11:00
Pat Hickey 187571cca9 AP_HAL Scheduler fixes & AP_HAL_AVR Scheduler changed to match 2012-12-20 14:51:22 +11:00
Pat Hickey ea8242ace1 AP_HAL: Add scheduler interface, move Arduino init code to implementation 2012-12-20 14:51:19 +11:00