Andrew Tridgell
|
5d0e785e73
|
AP_Arming: make arm_checks() virtual
|
2019-04-22 11:11:45 +10:00 |
|
Andrew Tridgell
|
6d3160b473
|
HAL_ChibiOS: fixed merge errors with hal.flash usage
|
2019-04-22 09:43:25 +10:00 |
|
Andrew Tridgell
|
33908f06a5
|
HAL_ChibiOS: use hal.flash API
# Conflicts:
# libraries/AP_HAL_ChibiOS/Storage.cpp
# libraries/AP_HAL_ChibiOS/Util.cpp
|
2019-04-22 09:16:26 +10:00 |
|
Andrew Tridgell
|
c77e4e6ec1
|
HAL_ChibiOS: fixed iomcu build with flash driver
|
2019-04-22 09:05:17 +10:00 |
|
Andrew Tridgell
|
ac1136d633
|
HAL_SITL: added empty flash driver
|
2019-04-22 09:05:01 +10:00 |
|
Andrew Tridgell
|
ca3f26f33a
|
HAL_Linux: added empty flash driver
|
2019-04-22 09:04:58 +10:00 |
|
Andrew Tridgell
|
b7286ee03b
|
HAL_Empty: added empty flash driver
|
2019-04-22 09:04:45 +10:00 |
|
Andrew Tridgell
|
35d711093b
|
HAL_ChibiOS: implement flash driver
|
2019-04-22 09:03:05 +10:00 |
|
Andrew Tridgell
|
463bb6609e
|
AP_HAL: added hal.flash driver
needed for semaphore
|
2019-04-22 09:02:49 +10:00 |
|
Andrew Tridgell
|
cd3881823b
|
AP_HAL: added save/restore of attitude in backup registers
|
2019-04-21 13:08:46 +10:00 |
|
Andrew Tridgell
|
f8e5ef38e8
|
HAL_ChibiOS: added save/restore of attitude in backup registers
|
2019-04-21 13:08:46 +10:00 |
|
Andrew Tridgell
|
49d82efdc5
|
AP_AHRS: added save/restore of attitude in backup registers
|
2019-04-21 13:08:29 +10:00 |
|
Andrew Tridgell
|
2a7f0e4c47
|
HAL_ChibiOS: fixed build with older gcc
|
2019-04-20 20:29:51 +10:00 |
|
Andrew Tridgell
|
9f0312d744
|
AP_AHRS: save/restore home to backup registers
restore on watchdog reset
|
2019-04-20 19:50:25 +10:00 |
|
Andrew Tridgell
|
723a7bb647
|
HAL_ChibiOS: save/restore home position in backup registers
|
2019-04-20 19:49:46 +10:00 |
|
Andrew Tridgell
|
186f36a5bd
|
AP_HAL: added save/restore of home to backup registers
|
2019-04-20 19:49:11 +10:00 |
|
Andrew Tridgell
|
4139450db8
|
AP_InertialSensor: prevent watchdog in accelcal
|
2019-04-20 17:35:49 +10:00 |
|
Andrew Tridgell
|
6e80174147
|
HAL_ChibiOS: allow for delay in bootloader flash
|
2019-04-20 16:33:27 +10:00 |
|
Andrew Tridgell
|
f89aadd2ba
|
HAL_ChibiOS: fixed watchdog timeout setting
|
2019-04-20 16:31:28 +10:00 |
|
Andrew Tridgell
|
337cc16880
|
GCS_MAVLink: added method to lockup autopilot
used for watchdog testing
|
2019-04-20 15:17:55 +10:00 |
|
Andrew Tridgell
|
f5c45bf184
|
Plane: read RC inputs in plane failsafe code
# Conflicts:
# ArduPlane/failsafe.cpp
|
2019-04-20 14:16:22 +10:00 |
|
Andrew Tridgell
|
6252f97df4
|
AP_Logger: prevent log erase from triggering watchdog
# Conflicts:
# libraries/DataFlash/DataFlash_File.cpp
|
2019-04-20 14:16:22 +10:00 |
|
Andrew Tridgell
|
b6285547c3
|
AP_Logger: force logging on an armed watchdog reset
and don't clear sdcard space
|
2019-04-20 14:16:22 +10:00 |
|
Andrew Tridgell
|
f5e170c76b
|
HAL_ChibiOS: implement was_watchdog_armed()
|
2019-04-20 14:16:22 +10:00 |
|
Andrew Tridgell
|
63e636fd5a
|
AP_HAL: added was_watchdog_armed()
allow decisions to be based on whether this is a watchdog reset and we
were armed
|
2019-04-20 14:16:22 +10:00 |
|
Andrew Tridgell
|
ff3527eef5
|
AP_BoardConfig: auto-restore safety state on watchdog reset
|
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
|
187ced5115
|
AP_HAL: added was_watchdog_safety_off()
used to restore safety state on watchdog reset
|
2019-04-20 13:59:01 +10:00 |
|
Andrew Tridgell
|
ddda455973
|
HAL_ChibiOS: change to 2s timeout on watchdog
a bit more of a safety net against false positives for stable release
|
2019-04-20 13:58:58 +10:00 |
|
Andrew Tridgell
|
1c6e0e6e62
|
Tools: rebuild bootloaders
|
2019-04-20 13:58:50 +10:00 |
|
Andrew Tridgell
|
3597e77f49
|
HAL_ChibiOS: fixed watchdog on H7
|
2019-04-20 13:57:43 +10:00 |
|
Andrew Tridgell
|
6f8a873b14
|
AP_Bootloader: use fast boot after watchdog reset
|
2019-04-20 13:57:38 +10:00 |
|
Andrew Tridgell
|
098b37b69f
|
Plane: removed an unnecessary delay on init
|
2019-04-20 13:57:32 +10:00 |
|
Andrew Tridgell
|
025496f65e
|
AP_Compass: flag compass cal as long expected delay
|
2019-04-20 13:57:28 +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
|
4e66449b52
|
AP_Logger: handle long delays in opening log files
|
2019-04-20 13:55:37 +10:00 |
|
Andrew Tridgell
|
3d386f333f
|
AP_HAL: added expect_delay_ms() to Scheduler
used to notify scheduler of long expected delay in main thread
|
2019-04-20 13:55:33 +10:00 |
|
Andrew Tridgell
|
fed89a0b16
|
HAL_ChibiOS: added commented out test code for watchdog
|
2019-04-20 13:55:27 +10:00 |
|
Andrew Tridgell
|
3cb134b67c
|
AP_Baro: skip cal on watchdog reset
|
2019-04-20 13:55:21 +10:00 |
|
Andrew Tridgell
|
7e675805fa
|
AP_Airspeed: skip cal on watchdog reset
|
2019-04-20 13:55:17 +10:00 |
|
Andrew Tridgell
|
9d34494bfd
|
Plane: show message for skipping gyro cal
|
2019-04-20 13:55:13 +10:00 |
|
Andrew Tridgell
|
3f0af2ce29
|
AP_InertialSensor: skip gyro cal on watchdog reset
|
2019-04-20 13:55:08 +10:00 |
|
Andrew Tridgell
|
ad2ff5a207
|
HAL_ChibiOS: implement was_watchdog_reset()
# Conflicts:
# libraries/AP_HAL_ChibiOS/Util.h
|
2019-04-20 13:55:03 +10:00 |
|
Andrew Tridgell
|
4b4eb33558
|
AP_HAL: added was_watchdog_reset()
# Conflicts:
# libraries/AP_HAL/Util.h
|
2019-04-20 13:54:41 +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
|
5823a6b963
|
HAL_ChibiOS: use BRD_OPTIONS to enable watchdog
# Conflicts:
# libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp
|
2019-04-20 13:54:14 +10:00 |
|
Andrew Tridgell
|
348506b3c4
|
AP_BoardConfig: added BRD_OPTIONS
used to enable STM32 watchdog
# Conflicts:
# libraries/AP_BoardConfig/AP_BoardConfig.cpp
# libraries/AP_BoardConfig/AP_BoardConfig.h
|
2019-04-20 13:53:45 +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 |
|
Andrew Tridgell
|
d74723efd1
|
Tools: added CUAVv5Nano bootloader
|
2019-04-11 16:12:35 +10:00 |
|
Andrew Tridgell
|
ae2d4e6edc
|
HAL_ChibiOS: change CUAVv5Nano default PWM count to 11
|
2019-04-11 16:12:32 +10:00 |
|