Andrew Tridgell
413f60ebb8
HAL_ChibiOS: fixed revo-mini build
2019-07-22 16:59:56 +09:00
Andrew Tridgell
1189123068
HAL_ChibiOS: fixed typos in hwdef.dat files
2019-07-22 16:59:52 +09:00
Phillip Kocmoud
46fca0d94c
HAL_ChibiOS: added hwdef for mRoControlZeroF7
2019-07-10 17:00:40 +10:00
Andrew Tridgell
0cdd41cb35
HAL_ChibiOS: added missing pins for F777
2019-07-10 17:00:40 +10:00
Andrew Tridgell
2123117fe7
HAL_ChibiOS: switch to new IO firmware for fmuv5
2019-07-08 10:18:09 +09:00
Andrew Tridgell
7382fc6316
HAL_ChibiOS: support DSM bind on IOMCU
2019-07-08 10:18:09 +09:00
Andrew Tridgell
04e7baa4cd
HAL_ChibiOS: cope with calling delay_microseconds_boost() multiple times
...
needed for updated IMU wait code
2019-07-08 09:16:22 +09:00
Andrew Tridgell
59669209fe
HAL_ChibiOS: end scheduler boost on expected delay
...
we want timer thread to be higher priority than main thread while in a
long operation
2019-05-28 17:47:19 +09:00
Andrew Tridgell
9f26ae5e8c
HAL_ChibiOS: fixed LEDs on new CUAVv5 revision
...
# Conflicts:
# libraries/AP_HAL_ChibiOS/hwdef/CUAVv5/hwdef.dat
2019-05-28 17:47:19 +09:00
Andrew Tridgell
f167b65b1f
HAL_ChibiOS: fixed LEDs on CUAVv5Nano
...
need to be opendrain
2019-05-28 17:47:19 +09:00
Andrew Tridgell
c1000cfe2a
HAL_ChibiOS: fixed merge errors with hal.flash usage
2019-05-28 17:47:19 +09:00
Andrew Tridgell
0e3183b3cf
HAL_ChibiOS: use hal.flash API
...
# Conflicts:
# libraries/AP_HAL_ChibiOS/Storage.cpp
# libraries/AP_HAL_ChibiOS/Util.cpp
2019-05-28 17:47:19 +09:00
Andrew Tridgell
51223409be
HAL_ChibiOS: fixed iomcu build with flash driver
2019-05-28 17:47:19 +09:00
Andrew Tridgell
e4aae50e44
HAL_ChibiOS: implement flash driver
2019-05-28 17:47:19 +09:00
Andrew Tridgell
952ef7c361
HAL_ChibiOS: added save/restore of attitude in backup registers
2019-05-28 17:47:19 +09:00
Andrew Tridgell
3bd1a08c5e
HAL_ChibiOS: fixed build with older gcc
2019-05-28 17:47:19 +09:00
Andrew Tridgell
db35064c95
HAL_ChibiOS: save/restore home position in backup registers
2019-05-28 17:47:19 +09:00
Andrew Tridgell
020ce245b9
HAL_ChibiOS: allow for delay in bootloader flash
2019-05-28 17:47:19 +09:00
Andrew Tridgell
3222084f2d
HAL_ChibiOS: fixed watchdog timeout setting
2019-05-28 17:47:19 +09:00
Andrew Tridgell
f217f504e5
HAL_ChibiOS: implement was_watchdog_armed()
2019-05-28 17:47:19 +09:00
Andrew Tridgell
4edd270bd9
HAL_ChibiOS: added ability to restore safety state on watchdog reset
...
# Conflicts:
# libraries/AP_HAL_ChibiOS/hwdef/common/stm32_util.c
2019-05-28 17:47:19 +09:00
Andrew Tridgell
6c7fd8e9ed
HAL_ChibiOS: change to 2s timeout on watchdog
...
a bit more of a safety net against false positives for stable release
2019-05-28 17:47:19 +09:00
Andrew Tridgell
6361482ba6
HAL_ChibiOS: fixed watchdog on H7
2019-05-28 17:47:19 +09:00
Andrew Tridgell
de2ae7ad24
HAL_ChibiOS: implement scheduler->expect_delay_ms()
...
# Conflicts:
# libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp
# libraries/AP_HAL_ChibiOS/Scheduler.h
2019-05-28 17:47:19 +09:00
Andrew Tridgell
8cd0133a4d
HAL_ChibiOS: added commented out test code for watchdog
2019-05-28 17:47:19 +09:00
Andrew Tridgell
0f0fdf1398
HAL_ChibiOS: implement was_watchdog_reset()
...
# Conflicts:
# libraries/AP_HAL_ChibiOS/Util.h
2019-05-28 17:47:19 +09:00
Andrew Tridgell
4858506a0b
HAL_ChibiOS: record reason for reset
...
allows us to tell if reset was due to watchdog
2019-05-28 17:47:19 +09:00
Andrew Tridgell
96923da60c
HAL_ChibiOS: use BRD_OPTIONS to enable watchdog
...
# Conflicts:
# libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp
2019-05-28 17:47:19 +09:00
Andrew Tridgell
a7906f9e42
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-05-28 17:47:19 +09:00
Andrew Tridgell
d58bb700a3
HAL_ChibiOS: fixed brick2 valid status in POWR flags for fmuv5
...
and fixed sense of VBUS
2019-05-03 10:34:08 +10:00
Andrew Tridgell
b1f441abd4
HAL_ChibiOS: mark SDIO and SDMMC IO as pullup
...
this is needed for boards such as PixhackV3 which don't have hardware
pullups. Thanks to Hongle for reporting this.
2019-04-30 10:48:00 +09:00
Andrew Tridgell
b26ae4594f
HAL_ChibiOS: change CUAVv5Nano default PWM count to 11
2019-04-30 10:47:38 +09:00
Andrew Tridgell
fc86a7db11
HAL_ChibiOS: fixed CUAVv5Nano uarts
2019-04-30 10:47:36 +09:00
Andrew Tridgell
a9c868a154
HAL_ChibiOS: support for CUAVv5Nano board
...
F765 with no IOMCU
2019-04-30 10:47:34 +09:00
Andrew Tridgell
06cfdedfb2
HAL_ChibiOS: fixed fallback to microSD for storage
...
this is used when FRAM fails on a board with microSD support. The
double init caused the validate() in the FATFS code to fail
2019-04-30 10:47:31 +09:00
Jonathan Challinger
b02d58444f
AP_HAL_ChibiOS: add define HAL_CHIBIOS_ARCH_CUBEBLACK to cubeblack hwdef
2019-04-24 11:47:08 +10:00
Andrew Tridgell
f04efe7985
HAL_ChibiOS: allocate threads from any heap
...
this fixes a failure on MatekF405-Wing where it fails to allocate the
SPI thread for the IMU
2019-02-27 11:59:45 +11:00
Andrew Tridgell
5a0e0179d8
HAL_ChibiOS: fixed mini-pix uart order
2019-02-09 16:02:08 +11:00
Andrew Tridgell
2f7121a073
HAL_ChibiOS: fixed CAN on Pixhawk4 and PH4-mini
...
the silent pins floating disabled CAN
2019-02-09 16:02:08 +11:00
Andrew Tridgell
b72378db9c
HAL_ChibiOS: setup APJ board IDs in environment
2019-02-09 12:27:35 +09:00
Andrew Tridgell
fa365b6f8d
HAL_ChibiOS: disable USART6_TX on fmuv5
...
this prevents it acting as a pullup on SBUS input for Pixhawk4. Thanks
to David Sidrane for the suggestion.
This also enables the extra 3 PWMs for PH4-mini
2019-01-18 09:45:00 +11:00
Andrew Tridgell
55e362e470
AP_HAL_ChibiOS: Fix FMUv2 LED lighting up
2019-01-14 12:22:47 +11:00
Andrew Tridgell
ee87621ed4
HAL_ChibiOS: fixes for DrotekP3Pro
2019-01-11 12:02:59 +11:00
Kevin Lopez Alvarez
dd66c8919c
HAL_ChibiOS: add MCU tables for STM32F469
2019-01-11 12:02:59 +11:00
Kevin Lopez Alvarez
3a06e866a7
HAL_ChibiOS: add DrotekP3Pro hardware definitions
2019-01-11 12:02:59 +11:00
Andrew Tridgell
9ed3e9eec5
HAL_ChibiOS: fixed build of sdcard
2019-01-11 09:48:16 +09:00
Andrew Tridgell
02987b7614
HAL_ChibiOS: try to mount microSD after boot
2019-01-11 09:48:16 +09:00
Andrew Tridgell
638b3b80d2
HAL_ChibiOS: log stdout to USB on mindpx-v2
2019-01-11 09:48:16 +09:00
Andrew Tridgell
ff67c83bc1
HAL_ChibiOS: allow mount of microSD after boot
...
when disarmed, try to mount sd card every 3s
2019-01-11 09:48:16 +09:00
Andrew Tridgell
da21947fe9
HAL_ChibiOS: fixed card inserted test for SDC
2019-01-11 09:48:16 +09:00