bugobliterator
57e1fb1a81
HAL_ChibiOS: disable building CrashCatcher for non 2M boards
3 years ago
bugobliterator
7d199f3e51
HAL_ChibiOS: record info into watchdog as well
3 years ago
bugobliterator
bd08d2d257
HAL_ChibiOS: move crashcatcher methods out from system.cpp into hwdef common
3 years ago
bugobliterator
7c96f295b3
HAL_ChibiOS: use CrashCatcher's hardfault method to log and dump crashes
3 years ago
Andrew Tridgell
f1ea4f5d01
HAL_ChibiOS: use a 16 bit sysinterval_t on 16 bit timers
...
prevent mixed size subtraction errors
3 years ago
Andrew Tridgell
5714ee113f
HAL_ChibiOS: added micros16() method
3 years ago
Andrew Tridgell
2aef3364bc
HAL_ChibiOS: optimisation for AP_HAL::micros() on systems with 32 bit timers
...
most ChibiOS boards have a 32 bit timer. This optimisation reduces the
cost of micros() from 0.3us to 0.06us, which is significant in
interrupt handlers and for accurate timing. It takes advantage of the
timer being 32 bit with 1MHz clock
3 years ago
Peter Barker
dbf5357592
AP_HAL_ChibiOS: base use of InternalError on build type not HAL_LOGGING_ENABLED
...
Really not sure why we were using HAL_LOGGING_ENABLED here
4 years ago
Peter Barker
7d8c5757d6
AP_HAL_ChibiOS: move from HAL_NO_LOGGING to HAL_LOGGING_ENABLED
4 years ago
Andy Piper
e1d71486e4
AP_HAL_ChibiOS: build fixes for ChibiOS 20.3.x
4 years ago
Andrew Tridgell
c23f61b79a
HAL_ChibiOS: set internal error on panic
4 years ago
Andy Piper
d41c92d317
AP_HAL_ChibiOS: don't overwrite fault handler data, register forced faults
4 years ago
Peter Barker
ca6c133042
AP_HAL_ChibiOS: do not reuse va_list after it has been ended
4 years ago
Siddharth Purohit
36ffcdae30
HAL_ChibiOS: modify hal can drivers for use by AP_Periph
4 years ago
Andrew Tridgell
90cd2a38b6
HAL_ChibiOS: fixed gcc9 warnings
4 years ago
Siddharth Purohit
265e9b8cc6
HAL_ChibiOS: add native time info methods
5 years ago
Andrew Tridgell
61d036acf3
HAL_ChibiOS: added build time check for right system clock
...
this helps prevent cases where we underclock a chip due to mistake in
headers or hwdef.dat
5 years ago
Andrew Tridgell
18e88e0ea3
HAL_ChibiOS: implement stack overflow hook
...
this needs C bindings to allow call from low level RTOS thread
switching code
5 years ago
Peter Barker
a59c3670c8
AP_HAL_ChibiOS: stash lr_thd in watchdog hardfault handler
5 years ago
Andrew Tridgell
58e915155d
HAL_ChibiOS: fixed panic to output error every 500ms
5 years ago
Andrew Tridgell
d4d44990e1
HAL_ChibiOS: added assert for systime_t size
5 years ago
Andrew Tridgell
0c4a4ccb74
HAL_ChibiOS: optionally print information on a HardFault
5 years ago
Mirko Denecke
b84dcd483d
AP_HAL_ChibiOS: remove unnecessary tabs and whitespaces
5 years ago
Andrew Tridgell
fa76d1fbe6
HAL_ChibiOS: disable watchdog save in bootloader
6 years ago
Andrew Tridgell
12dd33ac2b
HAL_ChibiOS: added logging of hardware fault information in watchdog
...
this may help trackdown software bugs that trigger hard faults
6 years ago
Peter Barker
8cfedd8b46
AP_HAL_ChibiOS: implement 'uint16_t millis16'
6 years ago
Andrew Tridgell
385f735799
HAL_ChibiOS: avoid 64 bit maths in AP_HAL::micros()
...
this saves a few cycles
7 years ago
Andrew Tridgell
4886ffbf8a
HAL_ChibiOS: fixed build warnings
7 years ago
Andrew Tridgell
8b6bab7b17
HAL_Chibios: added ChibiOS HAL
...
this is based on initial work by Sid, reset here for easier merging
7 years ago