Andrew Tridgell
2b0a30a2c5
HAL_ChibiOS: ensure we don't overflow bootloader area
...
this modifies the ld script to use the maximum size available for the
bootloader, so we can't accidentially grow the bootloader beyond its
max size
6 years ago
Andrew Tridgell
11021bbaa9
HAL_ChibiOS: fixed LEDs on new CUAVv5 revision
6 years ago
Andrew Tridgell
8d2f016cc8
HAL_ChibiOS: fixed LEDs on CUAVv5Nano
...
need to be opendrain
6 years ago
Peter Hall
26a6cccf21
AP_HAL_ChibiOS: KakuteF7 add two PWM pin options
6 years ago
Andrew Tridgell
4deb2c38f6
HAL_ChibiOS: fixed brick2 valid status in POWR flags for fmuv5
...
and fixed sense of VBUS
6 years ago
Jaaaky
464540ab56
AP_HAL_ChibiOS: tune delay for flashing bootloader
...
As the function can internally loop for 10 seconds
6 years ago
Andrew Tridgell
f48d07ffca
HAL_ChibiOS: added WARN_IF_UNUSED based on PR feedback
6 years ago
Andrew Tridgell
ce9b75fdf0
HAL_ChibiOS: added timeouts on all SPI transfers
...
this is never expected to trigger unless we have a severe MCU error as
SPI transfers don't rely on a response from a device.
The only case that we could get a timeout is when a bug leads to use
doing transfers from memory that does not support the DMA
transaction (such as on H7). This change turns that from a immediately
fatal lockup into a bus error and failed sensor
6 years ago
Matt Lawrence
f7383179e8
HAL CHIBIOS: Solo stock cube child of fmuv3 instead of CubeBlack
...
CubeBlack-Solo hardware def to use FMUv3 as its parent rather than CubeBlack. Since this older cube doesn't have the same hardware as a new CubeBlack, it is causing conflicts. Nearly everything is the same.
6 years ago
Michael du Breuil
a4d9853f1d
AP_HAL_ChibiOS: Actually enable the wrapper on remove
6 years ago
Jonathan Challinger
183b55d3df
AP_HAL_ChibiOS: add define HAL_CHIBIOS_ARCH_CUBEBLACK to cubeblack hwdef
6 years ago
Andrew Tridgell
0461692ea5
HAL_ChibiOS: enable watchdog on IOMCU
6 years ago
Andrew Tridgell
352546c9f0
HAL_ChibiOS: removed unsafe ISR disable for bl update
...
can't disable interrupts and call a fn that takes a mutex
6 years ago
Andrew Tridgell
508aae8f2a
HAL_ChibiOS: added save/restore of attitude in backup registers
6 years ago
Andrew Tridgell
730982b3c4
HAL_ChibiOS: fixed build with older gcc
6 years ago
Andrew Tridgell
2778a1b01e
HAL_ChibiOS: save/restore home position in backup registers
...
# Conflicts:
# libraries/AP_HAL_ChibiOS/hwdef/common/stm32_util.c
6 years ago
Andrew Tridgell
f0f36c6237
HAL_ChibiOS: fixed watchdog timeout setting
6 years ago
Andrew Tridgell
3b5463f061
HAL_ChibiOS: allow for delay in bootloader flash
6 years ago
Andrew Tridgell
2476927048
HAL_ChibiOS: don't call internalerror for iomcu
6 years ago
Andrew Tridgell
63d21d995a
HAL_ChibiOS: setup watchdog_reset internal error
6 years ago
Andrew Tridgell
9ca67dc811
HAL_ChibiOS: implement was_watchdog_armed()
6 years ago
Andrew Tridgell
1acb7e977f
HAL_ChibiOS: added ability to restore safety state on watchdog reset
6 years ago
Andrew Tridgell
54cbf8ea9e
HAL_ChibiOS: change to 2s timeout on watchdog
...
a bit more of a safety net against false positives for stable release
6 years ago
Andrew Tridgell
58aca561fd
HAL_ChibiOS: fixed watchdog on H7
6 years ago
Andrew Tridgell
19526b5826
HAL_ChibiOS: implement scheduler->expect_delay_ms()
6 years ago
Andrew Tridgell
8100c71a96
HAL_ChibiOS: added commented out test code for watchdog
6 years ago
Andrew Tridgell
03886f241e
HAL_ChibiOS: implement was_watchdog_reset()
6 years ago
Andrew Tridgell
a5309b3afa
HAL_ChibiOS: record reason for reset
...
allows us to tell if reset was due to watchdog
6 years ago
Andrew Tridgell
272c277056
HAL_ChibiOS: use BRD_OPTIONS to enable watchdog
6 years ago
Andrew Tridgell
c09df1ea7b
HAL_ChibiOS: added IWDG watchdog support
...
this resets the MCU if the main loop stops for 1 second
6 years ago
Michael du Breuil
b0f4611ddc
AP_HAL_ChibiOS: Fix python3 with F7 builds
6 years ago
Randy Mackay
69882d9898
AP_HAL_ChibiOS: fix Pixhawk4 readme
6 years ago
Peter Barker
3c3b12ba77
AP_HAL_ChibiOS: Bitmask is now a template
6 years ago
Andrew Tridgell
967c6462cb
HAL_ChibiOS: rename Pixhawk4Pro to Pixhawk6
6 years ago
Andrew Tridgell
32ebd2080f
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.
6 years ago
Andrew Tridgell
006583d812
HAL_ChibiOS: fixed iomcu build with flash driver
6 years ago
Andrew Tridgell
7c726b2f42
HAL_ChibiOS: use hal.flash API
6 years ago
Andrew Tridgell
36f7116054
HAL_ChibiOS: implement flash driver
6 years ago
Andrew Tridgell
a767c15986
HAL_ChibiOS: change CUAVv5Nano default PWM count to 11
6 years ago
Andrew Tridgell
c6637fbe38
HAL_ChibiOS: fixed CUAVv5Nano uarts
6 years ago
Andrew Tridgell
ce4abf8dcb
HAL_ChibiOS: support for CUAVv5Nano board
...
F765 with no IOMCU
6 years ago
Andrew Tridgell
edd793c152
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
6 years ago
Andrew Tridgell
d59cf15594
HAL_ChibiOS: enable heater pin on Pixhawk4Pro
6 years ago
Siddharth Purohit
7b54103271
HAL_ChibiOS: set pwm select pins high for 3.3V PWMout on startup
6 years ago
Siddharth Purohit
051842ea34
HAL_ChibiOS: add support for PWM Voltage level selection on CubeYellow and CubeOrange
6 years ago
Tom Pittenger
91b0650765
AP_HAL_ChibiOS: rename dataflash to logger
6 years ago
Andrew Tridgell
591e2ebeea
HAL_ChibiOS: remove unused config files
...
these do not build correctly
6 years ago
Andrew Tridgell
d942b64584
HAL_ChibiOS: fixed NucleoH743 build
6 years ago
Andrew Tridgell
bf0a4a23b2
HAL_ChibiOS: fixed build of crazyflie2
6 years ago
Andrew Tridgell
b754d56ecb
HAL_ChibiOS: fixed revo-mini build
6 years ago