Gustavo Jose de Sousa
a80ae0cde3
AP_HAL_AVR: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
2015-08-19 20:42:35 +09:00
Andrew Tridgell
c44ab01be8
AP_HAL: use noreturn attribute on panic
...
should reduce coverity warnings
2015-06-08 21:09:08 +10:00
Andrew Tridgell
df21c6c68d
AP_HAL: support micros64() and millis64() on all platforms
...
this will allow for 64 bit timestamps in DF logs (Peter is working on
that)
2015-04-30 12:17:34 +10:00
Andrew Tridgell
a5788dde8f
HAL_AVR: added Scheduler.set_timer_speed() support
2013-10-13 11:03:37 +09:00
Andrew Tridgell
6d58f5e188
HAL_AVR: updates for AP_HAL::MemberProc
2013-09-30 20:51:20 +10:00
Andrew Tridgell
0ade02a624
HAL_AVR: updates for new scheduler API
2013-09-28 21:24:02 +10:00
Andrew Tridgell
7082e0f8aa
AP_HAL: added hold_in_bootloader parameter to scheduler->reboot()
2013-09-04 11:58:13 +10:00
Andrew Tridgell
af7381e9e0
AP_HAL: added register_io_process()
...
this is used to register a low priority IO task. Used for file IO in
DataFlash_File.cpp
2013-04-17 21:33:50 +10:00
Pat Hickey
930a789b25
AP_HAL_AVR: Implement new scheduler methods
2013-01-10 14:07:43 -08:00
Pat Hickey
688ec864dc
AP_HAL_AVR: deprecate begin/end atomic, timer procs run on resume
2013-01-03 17:33:14 -08:00
Pat Hickey
74e2ba2168
AP_HAL_AVR Scheduler: _in_timer_proc is volatile protected
...
* and AVRSemaphore is a friend, so it can read _in_timer_proc
to know the current context.
2013-01-03 13:48:07 -08:00
Andrew Tridgell
93040e5725
AP_HAL: removed the defer_timer_process() function
...
this is now unused
2012-12-21 20:01:42 +11:00
Andrew Tridgell
60d3df50ae
AP_HAL: changed delay() to take a uint16_t
...
this allows for up to 32 second delays, and saves a bit of flash space
2012-12-20 14:53:23 +11:00
Pat Hickey
9656b0ad0e
AP_HAL_AVR: add panic method to scheduler
2012-12-20 14:52:31 +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
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