mateksys
7eb4e9b370
AP_Periph: set PORT defaults for F405-MatekGPS
4 years ago
mateksys
97c2b7228e
AP_Periph: Matek F303 and F405 AP_Periph use DSP310 baro
4 years ago
Andy Piper
4c2cbdab8d
AP_HAL_ChibiOS: only setup half-duplex for receive when transmit is fully over
4 years ago
Andy Piper
5c32007cdf
AP_HAL_ChibiOS: ensure stop bits can be set before UART begin
4 years ago
Andy Piper
3a9107245c
AP_HAL_ChibiOS: allocate DMA and LED buffers correctly when the length changes
...
calculate DMAR pulse times correctly
ensure 50us pulse separation for LED
make sure the LEDs are signalled for output
only allow LED length to be set once
4 years ago
Michael du Breuil
c0da87c066
AP_HAL_ChibiOS: Update HitecMosaic to reflect changes to GPS config
4 years ago
Andrew Tridgell
9de1519928
HAL_ChibiOS: prevent hw flow control from hogging a DMA channel
...
When hw flow control is enabled check the CTS pin before we grab the
DMA channel to prevent a long timeout trying to send to a blocked port
from holding a DMA channel against another device
this fixes issue #16587
4 years ago
Andrew Tridgell
0cc4409845
HAL_ChibiOS: fixed handling of invalid channel for LED write
...
this prevents a null ptr dereference when an invalid channel (such as
one on IOMCU) is used for LEDs
4 years ago
Andrew Tridgell
098a17fe2e
HAL_ChibiOS: fixed CubeOrange ADSB param name
4 years ago
Andy Piper
20d8696a0a
AP_HAL_ChibiOS: BeastH7 has DPS310 baro
4 years ago
Andrew Tridgell
814393c9c2
HAL_ChibiOS: switch from DPS280 to DPS310 in boards that use the DPS310
4 years ago
Andrew Tridgell
86fda93781
HAL_ChibiOS: added heater correction of AK09916
...
this fixes a problem with the internal compass being impacted by the
magnetic field from the heater
4 years ago
Andrew Tridgell
2ab8ad0ef0
HAL_ChibiOS: added Durandal pinout details
4 years ago
Michael du Breuil
623951a262
AP_HAL_ChibiOS: Add some extra GPS SBF config
4 years ago
Tom Pittenger
d1e6b0befb
AP_HAL_ChibiOS: Add ADC1 support to STM32F3
...
This is useful for AP_Periph battery monitoring
4 years ago
Andrew Tridgell
b8e82a56f3
HAL_ChibiOS: don't start rout ticks till after full system init
...
this prevents an occasional boot hang on systems with DShot
enabled. We shouldn't be starting DShot output till after setup() is
complete as the outputs are still being configured
4 years ago
Andy Piper
2cdc202d19
AP_HAL_ChibiOS: use non-cachable SRAM3 for DMA on H743
...
Adjust SRAM1+SRAM2 to 256k as describe in the H743 reference manual
Provide access to mem_info() information
Co-authored-by: Andrew Tridgell <andrew@tridgell.net>
4 years ago
Andy Piper
06a1500f98
AP_HAL_ChibiOS: ensure GPIO pins get undef'ed properly
...
minimise bi-directional dshot configs for:
CubeOrange
Durandal
MatekF405
MatekH743
OmnibusNanoV6
Pixracer
mRoPixracerPro
omnibusf4pro
CUAV-X7
4 years ago
Michel Pastor
41f7587637
ChibiOS: Add SWD pins to SuccexF4 bootloader
4 years ago
auturgy
24268cc6de
AP_HAL_ChibiOS: add MatekH743-periph hwdef
4 years ago
mateksys
b91c65b4a4
AP_HAL_ChibiOS: add f405-MatekGPS & MatekF405-CAN hwdef
4 years ago
huhen
9ba35580db
HAL_ChibiOS: Init kakutef7 motor pins for correct initialization of some ESCs
4 years ago
Andy Piper
6f5d5c2bf9
AAP_HAL_ChibiOS: allow asserts to be printed on a GPIO pin
4 years ago
Andy Piper
d41c92d317
AP_HAL_ChibiOS: don't overwrite fault handler data, register forced faults
4 years ago
Andy Piper
20d928a86a
AP_HAL_ChibiOS: don't share DMA on OmnibusNanoV6 for Flash SPI
4 years ago
Andy Piper
873d35acd9
AP_HAL_ChibiOS: bi-directional dshot for MatekH743
4 years ago
Andy Piper
877dde4736
AP_HAL_ChibiOS: on BeastF7 share TIM3 UP/CH and give flash SPI dedicated channel
4 years ago
Andy Piper
9249b73e8b
AP_HAL_ChibiOS: correctly allow mixing of bidir and non-bidir channels
4 years ago
Andy Piper
2823fa7245
AP_HAL_ChibiOS: never write bytes that have not been erased on H7
...
Be more careful about flash failure conditions on H7
4 years ago
Andy Piper
78735a946e
AP_HAL_ChibiOS: allow STM32_FLASH_DISABLE_ISR for H7
4 years ago
Andrew Tridgell
155de6d2bc
HAL_ChibiOS: fixed build of AP_Periph on H7
4 years ago
Andrew Tridgell
9861a02c60
HAL_ChibiOS: save INS_ACC*ID persistent parameters
...
this enables full factory accelerometer calibration, so the user is
not required to run an accelcal, even if they change vehicle type
4 years ago
Andrew Tridgell
5ed19c764e
HAL_ChibiOS: expose load_persistent_params for @SYS
4 years ago
Andrew Tridgell
5c823debc0
HAL_ChibiOS: support saving persistent parameters to bootloader sector
...
when we flash the bootloader we can save key peristent parameters to
the end of the bootloader sector, allowing them to persistent across
changes of firmware type
This allows for factory temperature calibration
4 years ago
Andrew Tridgell
d81c2ee407
HAL_ChibiOS: allow for some embedded parameters on AP_Periph builds
4 years ago
bugobliterator
8b90eb23e0
AP_HAL_ChibiOS: distcc doesn't like lst generation commands
4 years ago
Andy Piper
2fadcf6ba0
AP_HAL_ChibiOS: handle UP/CH channel sharing on H7 correctly
4 years ago
Andy Piper
9e641a32ad
AP_HAL_ChibiOS: don't share flash SPI on BeastH7 and compile with -Os
4 years ago
Andy Piper
2b885cd79f
AP_HAL_ChibiOS: ensure that serial LED setup goes via an intermediate buffer
...
protect serial LED buffer transfers with mutex
protect serial LED buffer size with mutex
prevent serial LED interactions before rcout is ready
allocate a serial led buffer per channel that needs it
setup clock mask when needed
4 years ago
bugobliterator
c02c546077
AP_HAL_ChibiOS: add support for inline comments in hwdef.dat
4 years ago
bugobliterator
41693403e2
AP_HAL_ChibiOS: retain memory of past conflicts in dma_resolver
4 years ago
Andrew Tridgell
f93e2f6717
HAL_ChibiOS: enable 32k FRAM on H7 boards
4 years ago
pkocmoud
7b61a4d8c2
HAL_ChibiOS: support F7 with no crystal
4 years ago
Andy Piper
cb5be4fcc1
AP_HAL_ChibiOS: don't share IMU DMA on MatekH743 to avoid SPI DMA contention
4 years ago
Andy Piper
e781572d53
AP_HAL_ChibiOS: support iFlight BeastF7
...
reduce DMA contention on BeastH7 and correct sharing
add README's for BeastF7 and BeastH7
4 years ago
Andy Piper
fdbf2d369a
AP_HAL_ChibiOS: do not take bi-dir path when in serial DMA
4 years ago
bugobliterator
4346264113
AP_HAL_ChibiOS: ensure UP and CH timer channels share DMA for H7
4 years ago
Andy Piper
e9ea360a99
AP_HAL_ChibiOS: don't timeout after 11 bits on serial irqs
4 years ago
Andrew Tridgell
14433c3ae3
HAL_ChibiOS: enable ICM-40609 on mRoNexus
4 years ago
Andrew Tridgell
afbdd69165
AP_HAL_ChibiOS: adjust stack sizes
4 years ago