Commit Graph

7 Commits

Author SHA1 Message Date
Andrew Tridgell
f8e5ef38e8 HAL_ChibiOS: added save/restore of attitude in backup registers 2019-04-21 13:08:46 +10:00
Andrew Tridgell
723a7bb647 HAL_ChibiOS: save/restore home position in backup registers 2019-04-20 19:49:46 +10:00
Andrew Tridgell
f5e170c76b HAL_ChibiOS: implement was_watchdog_armed() 2019-04-20 14:16:22 +10:00
Andrew Tridgell
0a263cf202 HAL_ChibiOS: added ability to restore safety state on watchdog reset
# Conflicts:
#	libraries/AP_HAL_ChibiOS/hwdef/common/stm32_util.c
2019-04-20 13:59:39 +10:00
Andrew Tridgell
cec6f0e3d4 HAL_ChibiOS: implement scheduler->expect_delay_ms()
# Conflicts:
#	libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp
#	libraries/AP_HAL_ChibiOS/Scheduler.h
2019-04-20 13:57:23 +10:00
Andrew Tridgell
ac5294c974 HAL_ChibiOS: record reason for reset
allows us to tell if reset was due to watchdog
2019-04-20 13:54:18 +10:00
Andrew Tridgell
78ac3e1e2f HAL_ChibiOS: added IWDG watchdog support
this resets the MCU if the main loop stops for 1 second

# Conflicts:
#	libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp
2019-04-20 13:52:31 +10:00