auturgy
7c3c3a0a41
HAL_Chibios: support modalai_fc-v1 flight controller
...
Based on M0018 version. Thanks to ModalAI for assistance
3 years ago
Andrew Tridgell
6fa9768eab
HAL_ChibiOS: support GPIO get_mode and set_mode
3 years ago
Andrew Tridgell
25324ae0e2
HAL_ChibiOS: support SDMMC2 for sdcard
3 years ago
Andrew Tridgell
d962e094e7
HAL_ChibiOS: change RCIN PULLUP to PULLDOWN
...
this makes us more consistent between boards
3 years ago
Andrew Tridgell
47da7f5c9b
HAL_ChibiOS: change RCIN FLOAT to PULLDOWN
...
this lowers the chance of noise on a RCIN pin causing incorrect
protocol detection
3 years ago
Nick Exton
ffa2bba35c
HAL_ChibiOS: add missing return to Dual CDC get_usb_baud()
3 years ago
Andrew Tridgell
e6aae3caf6
HAL_ChibiOS: fix G4 I2c bus speeds
3 years ago
bugobliterator
f298ea406e
HAL_ChibiOS: enable RNG only for H7 based boards off for the rest by default
3 years ago
bugobliterator
fc4d59c5a4
HAL_ChibiOS: setup hw random number generator for stm32 chips
3 years ago
bugobliterator
792e6666a3
HAL_ChibiOS: add random number generator implementation for ChibiOS
3 years ago
Iampete1
9751cb5b24
AP_HAL_ChibiOS: move is_dshot_protocol up to AP_HAL
3 years ago
Iampete1
f7cba024c1
AP_HAL_ChibiOS: AnalogSource: check for valid pin
3 years ago
Andrew Tridgell
33529c98a9
HAL_ChibiOS: check the ROMFS line for IOMCU is added
3 years ago
Andrew Tridgell
52124cf602
HAL_ChibiOS: fixed f1 bootloader build errors
3 years ago
Andrew Tridgell
8deaa1b46b
HAL_ChibiOS: fixed warning for USB
3 years ago
Andrew Tridgell
4daf4ad501
HAL_ChibiOS: lock in no warnings for chibios RTOS build
3 years ago
Andrew Tridgell
4dbff85de7
HAL_ChibiOS: check for common hwdef.dat errors
...
catches missing GPIO type, mismatched timers and UARTs or bad pin types
3 years ago
Iampete1
f0a284c1e7
AP_Hal_ChibiOS: R9Pilot: add OUTPUT to GPIO
3 years ago
Iampete1
0143518954
AP_Hal_ChibiOS: mRoControlZeroF7: add OUTPUT to GPIO
3 years ago
Iampete1
a282a39866
AP_Hal_ChibiOS: F4BY: add OUTPUT to GPIO
3 years ago
Iampete1
6f1f26a72a
AP_Hal_ChibiOS: CubeOrange: add OUTPUT to GPIO
3 years ago
Iampete1
5848510876
AP_HAL_ChibiOS: set flow control disabled if no RTS line
3 years ago
Michel Pastor
a9fed2f9bc
RCOutput: fix full throttle bug
3 years ago
Andrew Tridgell
c15221fd53
HAL_ChibiOS: fixed orientation of ICM42605 on QiotekZealotF427
3 years ago
Andrew Tridgell
6953778b4c
HAL_ChibiOS: use micros16() for blheli pass-thru IRQ
...
saves some IRQ overhead, makes time handling more consistent
3 years ago
Andrew Tridgell
5714ee113f
HAL_ChibiOS: added micros16() method
3 years ago
Andrew Tridgell
2aef3364bc
HAL_ChibiOS: optimisation for AP_HAL::micros() on systems with 32 bit timers
...
most ChibiOS boards have a 32 bit timer. This optimisation reduces the
cost of micros() from 0.3us to 0.06us, which is significant in
interrupt handlers and for accurate timing. It takes advantage of the
timer being 32 bit with 1MHz clock
3 years ago
bugobliterator
dd9f513aa5
AP_HAL_ChibiOS: setup led control via lua script for HerePro
3 years ago
Iampete1
b6de44cc7b
AP_HAL_ChibiOS: CubeOrange: add alt config for telem1 RTS CTS as GPIO
3 years ago
Iampete1
8ae5bc5ad0
AP_HAL_ChibiOS: hwdef: allow GPIO alt config
3 years ago
Iampete1
a96150a528
AP_HAL_ChibiOS: allow enabling GPIO as alt config
3 years ago
Iampete1
dc45a113f9
AP_HAL_ChibiOS:UARTDriver: allow re-defintion of RTS and CTS pins
3 years ago
Andrew Tridgell
e85594e423
HAL_ChibiOS: added KakuteH7 support
3 years ago
Andrew Tridgell
d1d5cd5d9f
HAL_ChibiOS: fix sdcard on SPI bus on H7
...
the spiIgnore() call was hanging on H7. The ChibiOS submodule change
fixes that, but this patch is also needed to ensure we timeout any
spiIgnore calls correctly
3 years ago
Andrew Tridgell
2c2c85c4d8
HAL_ChibiOS: fixed polled SPI
3 years ago
Andrew Tridgell
27e93155f4
HAL_ChibiOS: fixed build on boards with OTG2 and no CAN interfaces
3 years ago
Iampete1
ade01f41d9
AP_HAL_ChibiOS: support digital write via IOMCU
3 years ago
Andrew Tridgell
4aa88d172c
HAL_ChibiOS: adjust Swan-K1 parameters
...
limit down pitch to 15 degrees to prevent overspeed, and limit angular
rates to 100 deg/s
3 years ago
Peter Barker
43469955a9
AP_HAL_ChibiOS: rename GENERATOR_ENABLED to HAL_GENERATOR_ENABLED
3 years ago
Josh Henderson
27fa2e776d
AP_HAL_ChibiOS: Hitec-Airspeed move from HAL_NO_GCS to HAL_GCS_ENABLED
3 years ago
Andrew Tridgell
6d093e56fb
HAL_ChibiOS: added Nucleo-L496 AP_Periph target
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
758ce2699e
HAL_ChibiOS: added Hitec-Airspeed hwdef
3 years ago
Andrew Tridgell
7f59366cc0
HAL_ChibiOS: process AIRSPEED lines in hwdef.dat
3 years ago
Iampete1
bf695e4eeb
AP_HAL_ChibiOS: atof to strtof
3 years ago
Hwurzburg
6dfbd9ce31
AP_HAL_ChibiOS: add batt mon defaults to Kakutef4 Mini
4 years ago
Iampete1
53ee7d861d
AP_HAL_ChibiOS: remove safe PWM
4 years ago
Andrew Tridgell
88d77d0acd
HAL_ChibiOS: change f303-PWM timers
...
fixes PWM on channels 3 and 4
4 years ago
Andrew Tridgell
adbaccaa08
HAL_ChibiOS: fixed RTSCTS flow control issue
...
this fixes an issue reported on MatekH743, but also applies to other
boards. When not using DMA if there have been bytes written before the
auto flow control detection was enabled then these must be cleared
from _total_written so the flow control detection can work correctly
4 years ago