Iampete1
8ae5bc5ad0
AP_HAL_ChibiOS: hwdef: allow GPIO alt config
3 years ago
Andrew Tridgell
27e93155f4
HAL_ChibiOS: fixed build on boards with OTG2 and no CAN interfaces
3 years ago
Andrew Tridgell
0212e23cd3
HAL_ChibiOS: added support for STM32L496 MCUs
...
good MCU for AP_Periph
3 years ago
Peter Barker
1bd62362a4
AP_HAL_ChibiOS: move from HAL_NO_GCS to HAL_GCS_ENABLED
3 years ago
Andrew Tridgell
7f59366cc0
HAL_ChibiOS: process AIRSPEED lines in hwdef.dat
3 years ago
Andrew Tridgell
532396e5e6
REVERT: HAL_ChibiOS: Rename STM32F412 hw definition file
...
This reverts commit 5de6c690d8
.
That commit broke the build for the affected board as the chibios
headers rely on the name of the file matching a ifdef
4 years ago
Andrew Tridgell
b77580f934
HAL_ChibiOS: avoid an issue with DCache init on H743
...
this fixes an issue found by Andy Piper where the H743 bootloader gets
a hard fault in the DCache enable code when SRAM1 is primary memory.
This is the simplest fix I could think of, and avoids the problem by
making DTCM the first segment in the bootloader.
Note that we can't use DTCM as first segment for main firmware since
we went to double precision EKF as the static variables don't fit
4 years ago
Siddharth Purohit
81dc237a19
AP_HAL_ChibiOS: move to using Instruction RAM with External Flash setup
4 years ago
Siddharth Purohit
39bd229279
AP_HAL_ChibiOS: remove dependency on Semaphores in QSPIDevice in BL
4 years ago
Siddharth Purohit
4ba2835de1
AP_HAL_ChibiOS: add config for supporting load from external flash
4 years ago
Siddharth Purohit
faedb12493
AP_HAL_ChibiOS: fix hwdef generation for bootloader supporting ext flash
4 years ago
Siddharth Purohit
6e81fcbed1
AP_HAL_ChibiOS: add support for things required to run QSPIDriver
4 years ago
Andrew Tridgell
39f44147b8
HAL_ChibiOS: reduce the impact of UART DMA contention
...
this changes the heuristics for UART TX DMA allocation to greatly
reduce the chances of DMA contention causing long delays on other
devices
This fixes issues with FETTec driver output and gimbal status messages
as reported by Amilcar and OlliW. The problem is particularly bad when
no GPS is connected to GPS1 on fmuv3 and derived boards (such as
CubeBlack)
key changes:
- remember the contention_counter across begin() calls, as the GPS
calls begin with new baudrates regularly
- added a is_shared() API to Shared_DMA, allowing the UART driver to
avoid TX DMA on shared streams when at low baudrates.
4 years ago
Marek Łukasiewicz
5de6c690d8
HAL_ChibiOS: Rename STM32F412 hw definition file
4 years ago
bugobliterator
a32a32ab43
HAL_ChibiOS: change name for USART2_CTS pin in STM32H757xx.py
4 years ago
Andrew Tridgell
4cebcede31
HAL_ChibiOS: switched to fix allocation for BMDA streams on H7
...
this avoids issues with BDMA stream assignments due to bugs found
while testing boards with both I2C4 and SPI6
4 years ago
Andrew Tridgell
57e87b9820
HAL_ChibiOS: measure MCU temperature and ref voltage on H7
...
this uses ADC3 to measure the internal MCU temperature and the reference
voltage. This uses a currently unused BDMA channel
4 years ago
Andrew Tridgell
8df99f0d15
HAL_ChibiOS: added G431 and G441 support
4 years ago
Andrew Tridgell
4fce1ae092
HAL_ChibiOS: added G491 support
4 years ago
bugobliterator
d1b0438412
AP_HAL_ChibiOS: add support for usb passthrough with baud changes
4 years ago
Andrew Tridgell
4f32fa537a
HAL_ChibiOS: define HAL_HAVE_HARDWARE_DOUBLE on F765, F777 and H7
4 years ago
Andrew Tridgell
6c712c9001
HAL_ChibiOS: use SRAM1 as first ram segment on H7
...
this is needed to give the linker more than 128k for static variables
with double precision maths.
4 years ago
Siddharth Purohit
9b2359b34c
AP_HAL_ChibiOS: allow option to enable ChibiOS features in bootloader
4 years ago
Andrew Tridgell
b4b02b4ffc
HAL_ChibiOS: use nargs='+' for chibios_hwdef.py
4 years ago
willpiper
ce1ee6334f
AP_HAL_ChibiOS: addressed reviewed comments
4 years ago
willpiper
fb4a4e609a
AP_HAL_ChibiOS: added --extra-hwdef option
4 years ago
Siddharth Purohit
c962292bae
AP_HAL_ChibiOS: add support for H757I Evaluation board
4 years ago
Siddharth Purohit
abc26d1993
AP_HAL_ChibiOS: add QSPI Device Driver in HAL
4 years ago
Siddharth Purohit
4cb48da984
modules: update ChibiOS
4 years ago
bugobliterator
7e8f11b749
AP_HAL_ChibiOS: allow embedded bootloader to be excluded
...
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
4 years ago
Peter Barker
3ba57fed89
AP_HAL_ChibiOS: add support for AP_Logger into AP_Periph
4 years ago
Andrew Tridgell
c34d8e80e9
HAL_ChibiOS: fixed serial info indexing for EMPTY uarts
4 years ago
Andrew Tridgell
23c0f257b6
HAL_ChibiOS: default off serial protocols in AP_Periph
...
this allows for a GPS on high numbered ports
4 years ago
Andrew Tridgell
fced5271af
HAL_ChibiOS: expand pin map of G474 to cover 64 pin parts
4 years ago
Andrew Tridgell
ebe858f762
HAL_ChibiOS: auto-set HAL_LOGGING_ENABLED for AP_Periph builds
4 years ago
Andrew Tridgell
6b9e4161cb
HAL_ChibiOS: removed UDID_START from all MCU defs
...
use UID_BASE from ChibiOS headers
4 years ago
Andrew Tridgell
36d5c98e96
HAL_ChibiOS: default UDID_START to UID_BASE
4 years ago
Andrew Tridgell
03cae60471
HAL_ChibiOS: added STM32F732 support
4 years ago
Andrew Tridgell
61c829d624
HAL_ChibiOS: only use SRAM4 for DMA for now
...
we can enable others when we have an allocation interface that
specifies the peripheral type
4 years ago
Iampete1
2377d33417
AP_HAL_ChibiOS: H7 set SRAM4 to no cache and allow DMA
4 years ago
Andrew Tridgell
ffb2876f58
HAL_ChibiOS: disable unused ChibiOS features
4 years ago
Andrew Tridgell
ff31e10d9e
HAL_ChibiOS: ensure that RCIN DMA channel is not shared
...
RCIN DMA cannot be shared as it runs all the time
4 years ago
Andrew Tridgell
2842730868
HAL_ChibiOS: fixed F3 CAN build
4 years ago
Andrew Tridgell
ac9e6ba86d
HAL_ChibiOS: fix label for CCM on G4
4 years ago
Andrew Tridgell
f57b1b9c4b
HAL_ChibiOS: support logical/physical CAN bus mapping
...
allow for first CAN interface to be CAN2 or CAN3
4 years ago
Andrew Tridgell
2f7ff778be
HAL_ChibiOS: fixed bug in DMA resolver
...
idsets can be empty for a peripheral
4 years ago
Andrew Tridgell
439a944801
HAL_ChibiOS: added support for STM32G474 MCU
4 years ago
Andy Piper
e1d71486e4
AP_HAL_ChibiOS: build fixes for ChibiOS 20.3.x
4 years ago
Andrew Tridgell
4fbdb59398
HAL_ChibiOS: prevent sharing the same DMA stream on TIMn_UP channels
...
this avoids an issue with DShot where we run the same DMA stream on
two timers at once
4 years ago
Andy Piper
6cb263056d
AP_HAL_ChibiOS: build fix for iomcu
4 years ago