Andrew Tridgell
e471b23f58
HAL_ChibiOS: add a max quota of GPIO interrupts
...
This implements a max quota of GPIO interrupts per 100ms period to
prevent high interrupt counts from consuming all CPU and causing a
lockup. The limit is set as 10k interrupts per 0.1s period. That limit
should be high enough for all reasonable uses of GPIO interrupt
handlers while being below the level that causes significant CPU loads
and flight issues
This addresses issue #15384
4 years ago
bugobliterator
0a4ea250ad
AP_HAL_ChibiOS: disable CANFilter on H7 boards temporarily
4 years ago
Andrew Tridgell
4b747430e1
HAL_ChibiOS: save 2k in f103 bootloader
...
don't include serial bl support if dev list is empty
4 years ago
Siddharth Purohit
6fb973081b
AP_HAL_ChibiOS: enable all I2C compasses by default for f103 boards
4 years ago
Andrew Tridgell
0e8c8c29a8
HAL_ChibiOS: fixed f303-MatekGPS build
4 years ago
Andrew Tridgell
246e790484
AP_Bootloader: use new hal CAN interface for CAN support
4 years ago
Siddharth Purohit
a79efaeb1d
AP_HAL_ChibiOS: hwdef: add support for HAL CANIface based bootloader
4 years ago
Siddharth Purohit
882c86c394
AP_HAL_ChibiOS: add app start offset to leave space for params
4 years ago
Siddharth Purohit
1f16aa8360
HAL_ChibiOS: add hwdef for CubeOrange-periph
4 years ago
Siddharth Purohit
62df67a4b8
HAL_ChibiOS: hwdef: modify to use HAL CAN driver instead of ChibiOS's
4 years ago
Siddharth Purohit
36ffcdae30
HAL_ChibiOS: modify hal can drivers for use by AP_Periph
4 years ago
Hwurzburg
d5722b15e9
AP_ChibiOS: fix configuration number in OmnibusF7V2 hwdef
4 years ago
Hwurzburg
de8002ab5e
AP_HAL_ChbiOS: ALT config to enable UART3 in place of I2C
4 years ago
Andrew Tridgell
0ba256f625
HAL_ChibiOS: fixed warning on gcc9
...
packed structure can be misaligned
4 years ago
Andrew Tridgell
90cd2a38b6
HAL_ChibiOS: fixed gcc9 warnings
4 years ago
Hwurzburg
c64f286333
AP_ChibOS: add UART7_RX to OMNIBUSF7V2
4 years ago
bugobliterator
575a56a6b6
hwdef: CubeOrange: do power reset on peripherals and sensor at boot
4 years ago
bugobliterator
a2ee82d8d9
hwdef: use inv2 sensor checks in CubeOrange
4 years ago
Andy Piper
570fd59c39
AP_HAL_ChibiOS: disable OSD parameters on F7 1Mb boards with SD cards
4 years ago
Andrew Tridgell
1ffbbb2896
HAL_ChibiOS: added FLASH_TOTAL to environment
4 years ago
Andy Piper
bbaaf7d66f
AP_HAL_ChibiOS: disable features on KakuteF7 and OmnibusF7v2 to mirror KakuteF7Mini
4 years ago
Andrew Tridgell
90e488d29d
HAL_ChibiOS: set airspeed type in f303-MatekGPS fw
4 years ago
Andrew Tridgell
e95a44e73c
HAL_ChibiOS: run f303-MatekGPS at 10Hz
4 years ago
Andrew Tridgell
844db20db0
HAL_ChibiOS: use a default node ID for f303-MatekGPS
4 years ago
Andrew Tridgell
9c7568eb5f
HAL_ChibiOS: enable MSP output for f303-MatekGPS
4 years ago
chobits
f4320c935c
AP_HAL_ChibiOS: fix kakutef7/mini motor glitch when using dshot
4 years ago
vierfuffzig
63fdac0048
AP_HAL_ChibiOS: add USART3 as alt config on OmnibusNanoV6
4 years ago
Michael Oborne
4e9848ab3a
HAL_ChibiOS: fix sdcard param init
...
the write was failing because of a 0 byte write attempt, the response was -1 vs 0
this results in not using the sdcard backend for storage for all boots after the initial
4 years ago
Andrew Tridgell
3a252a042b
HAL_ChibiOS: fixed fast sampling on F32Lightning
...
this SPI bus on this board can't handle 8MHz
5 years ago
Andrew Tridgell
491e82159c
HAL_ChibiOS: add HAL_WITH_SPI_xx defines for SPI devices
...
this allows us to avoid building drivers for SPI devices we don't
have, such as OSD
5 years ago
Siddharth Purohit
d25908a1c9
AP_HAL_ChibiOS: keep a backup of storage for last 100 boots
5 years ago
vierfuffzig
56e44c46ca
AP_HAL_ChibiOS: disable IMU fast sampling on F35 / WingFC10
...
fast sampling introduces random IMU glitches, bisect search identifies 9c2caf5b12
disabling fast sampling fixes IMU back to expected behaviour. see:
https://github.com/ArduPilot/ardupilot/issues/15090
https://discuss.ardupilot.org/t/shaking-horizon-and-jittering-servos/60420
for reference
5 years ago
Andrew Tridgell
36442dc9b0
HAL_ChibiOS: added Matek CAN GPS
...
supports GPS, baro, mag and airspeed
5 years ago
Andrew Tridgell
4c4c3d467b
HAL_ChibiOS: added f103-Airspeed sensor
...
for Matek CAN airspeed sensor
5 years ago
bugobliterator
5eb0e0a718
AP_HAL_ChibiOS: fix name for RX Queue size define
5 years ago
Siddharth Purohit
8dcb973dad
HAL_ChibiOS: fix SWD config in f3 boards
5 years ago
Siddharth Purohit
7929efec0d
HAL_ChibiOS: add EventSource HAL
5 years ago
Siddharth Purohit
265e9b8cc6
HAL_ChibiOS: add native time info methods
5 years ago
Siddharth Purohit
a7d641c705
AP_HAL_ChibiOS: add available method for locked state
5 years ago
Siddharth Purohit
cdf8e369f1
AP_HAL_ChibiOS: create UAVCAN agnostic CANIface driver
...
HAL_ChibiOS
5 years ago
Siddharth Purohit
697e4141cb
AP_HAL: add common Event interface
5 years ago
Siddharth Purohit
3ddd1d484a
AP_HAL_ChibiOS: add support for bank selection call outside SPI driver
5 years ago
Andy Piper
baf92a17f9
AP_HAL_ChibiOS: disable AP_Mount on "mini" boards
5 years ago
Peter Barker
b5d0480bed
AP_HAL_ChibiOS: log accumulated power status flags; all flags ever set
5 years ago
Andrew Tridgell
d283dd7d00
HAL_ChibiOS: define polarity of 3.3/5v selection for PWM
5 years ago
Andrew Tridgell
99ac8e2fbe
HAL_ChibiOS: enable BRD_PWM_VOLT_SEL parameter for mRoPixracerPro
5 years ago
Peter Barker
efb576292f
AP_HAL_ChibiOS: handle queue push and pop failing
5 years ago
Henry Wurzburg
d78c5371db
AP_HAL_ChibiOS: remove fmuv4 and update Pixracer
5 years ago
Andrew Tridgell
9f1e641637
HAL_ChibiOS: added new STM32Cube configs
5 years ago
Andrew Tridgell
84bd59a7bb
HAL_ChibiOS: support H7 with no crystal
5 years ago