Phillip Kocmoud
37429901ab
HAL_ChibiOS: added hwdef for mRoControlZeroF7
2019-07-09 16:23:45 +10:00
Andrew Tridgell
b18d7cfc3d
HAL_ChibiOS: added missing pins for F777
2019-07-09 16:23:45 +10:00
Andrew Tridgell
3293ae4c65
HAL_ChibiOS: switch to new IO firmware for fmuv5
2019-07-08 10:37:22 +10:00
Andrew Tridgell
3ce762ab7c
HAL_ChibiOS: support DSM bind on IOMCU
2019-07-08 10:37:13 +10:00
Andrew Tridgell
d0792f29da
HAL_ChibiOS: cope with calling delay_microseconds_boost() multiple times
...
needed for updated IMU wait code
2019-07-06 10:03:18 +10:00
Andrew Tridgell
a03b3051fc
HAL_ChibiOS: fixed LEDs on new CUAVv5 revision
...
# Conflicts:
# libraries/AP_HAL_ChibiOS/hwdef/CUAVv5/hwdef.dat
2019-05-03 17:32:32 +10:00
Andrew Tridgell
c51b433c28
HAL_ChibiOS: fixed LEDs on CUAVv5Nano
...
need to be opendrain
2019-05-03 17:31:45 +10:00
Andrew Tridgell
2094ffbf28
HAL_ChibiOS: fixed brick2 valid status in POWR flags for fmuv5
...
and fixed sense of VBUS
2019-04-26 07:13:11 +10:00
Jonathan Challinger
2b6ca186a8
AP_HAL_ChibiOS: add define HAL_CHIBIOS_ARCH_CUBEBLACK to cubeblack hwdef
2019-04-24 12:30:59 +10:00
Andrew Tridgell
087d20b22c
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-22 11:35:36 +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
35d711093b
HAL_ChibiOS: implement flash driver
2019-04-22 09:03:05 +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
2a7f0e4c47
HAL_ChibiOS: fixed build with older gcc
2019-04-20 20:29:51 +10:00
Andrew Tridgell
723a7bb647
HAL_ChibiOS: save/restore home position in backup registers
2019-04-20 19:49:46 +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
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
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
3597e77f49
HAL_ChibiOS: fixed watchdog on H7
2019-04-20 13:57:43 +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
fed89a0b16
HAL_ChibiOS: added commented out test code for watchdog
2019-04-20 13:55:27 +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
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
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
ae2d4e6edc
HAL_ChibiOS: change CUAVv5Nano default PWM count to 11
2019-04-11 16:12:32 +10:00
Andrew Tridgell
021816ecbc
HAL_ChibiOS: fixed CUAVv5Nano uarts
2019-04-11 16:12:29 +10:00
Andrew Tridgell
ee9d084757
HAL_ChibiOS: support for CUAVv5Nano board
...
F765 with no IOMCU
2019-04-11 16:12:27 +10:00
Andrew Tridgell
1420265513
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-07 13:40:24 +10:00
Andrew Tridgell
0360f887a0
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 12:00:18 +11:00
Andrew Tridgell
f03893c2f8
HAL_ChibiOS: setup APJ board IDs in environment
2019-02-25 10:52:25 +11:00
Andrew Tridgell
2187ee4611
HAL_ChibiOS: fixed mini-pix uart order
2019-02-25 10:52:25 +11:00
Andrew Tridgell
ba53230f70
HAL_ChibiOS: fixed CAN on Pixhawk4 and PH4-mini
...
the silent pins floating disabled CAN
2019-01-23 13:26:55 +11:00
Andrew Tridgell
98fa9454ed
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:46 +11:00
Michael du Breuil
0a7fc2fd12
AP_HAL_ChibiOS: Fix FMUv2 LED lighting up
2019-01-11 17:46:20 +11:00
Andrew Tridgell
81b5c3a7da
HAL_ChibiOS: fixed sdcard build
2019-01-11 13:25:32 +11:00
Andrew Tridgell
4732266017
HAL_ChibiOS: fixes for DrotekP3Pro
2019-01-11 13:15:33 +11:00
Kevin Lopez Alvarez
f350b3ce57
HAL_ChibiOS: add MCU tables for STM32F469
2019-01-11 13:15:23 +11:00
Kevin Lopez Alvarez
3ae1b0d3c3
HAL_ChibiOS: add DrotekP3Pro hardware definitions
2019-01-11 13:15:20 +11:00
Siddharth Purohit
8a64876eb2
HAL_ChibiOS: add CubePurple/PH2Slim board config
2019-01-10 21:35:04 +11:00
Andrew Tridgell
99d0f7a77d
HAL_ChibiOS: try to mount microSD after boot
2018-12-31 08:15:12 +11:00
Andrew Tridgell
cf85f25adc
HAL_ChibiOS: log stdout to USB on mindpx-v2
2018-12-31 08:15:08 +11:00
Andrew Tridgell
b03024dd34
HAL_ChibiOS: allow mount of microSD after boot
...
when disarmed, try to mount sd card every 3s
2018-12-31 08:15:05 +11:00
Andrew Tridgell
4d89a2757c
HAL_ChibiOS: fixed card inserted test for SDC
2018-12-31 08:15:02 +11:00
Andrew Tridgell
85c3ef229d
HAL_ChibiOS: support microSD slowdown
...
allow use of BRD_SD_SLOWDOWN to slow down clock on microSD
2018-12-31 08:14:53 +11:00
Andrew Tridgell
680caeb349
HAL_ChibiOS: switched fmuv5 firmware to ChibiOS IO fw
...
so users installing fmuv5 on a Pixhawk4 get the SBUS fixes
2018-12-31 08:14:15 +11:00