ardupilot/libraries/AP_HAL_ChibiOS
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
2020-10-02 09:38:24 +10:00
..
hwdef HAL_ChibiOS: save 2k in f103 bootloader 2020-09-24 12:32:19 +10:00
AnalogIn.cpp AP_HAL_ChibiOS: log accumulated power status flags; all flags ever set 2020-07-21 09:12:14 +10:00
AnalogIn.h AP_HAL_ChibiOS: log accumulated power status flags; all flags ever set 2020-07-21 09:12:14 +10:00
AP_HAL_ChibiOS_Namespace.h AP_HAL_ChibiOS: create UAVCAN agnostic CANIface driver 2020-08-19 17:31:09 +10:00
AP_HAL_ChibiOS_Private.h AP_HAL_ChibiOS: hardware M4-Cortex and M7-Cortex (and H7) implementation of HAL FFT abstraction 2020-02-22 11:15:37 +11:00
AP_HAL_ChibiOS.h HAL_Chibios: added ChibiOS HAL 2018-01-15 11:46:02 +11:00
bxcan.hpp AP_HAL_ChibiOS: create UAVCAN agnostic CANIface driver 2020-08-19 17:31:09 +10:00
CANFDIface.cpp AP_HAL_ChibiOS: disable CANFilter on H7 boards temporarily 2020-10-01 07:19:19 +10:00
CANFDIface.h HAL_ChibiOS: modify hal can drivers for use by AP_Periph 2020-09-24 12:32:19 +10:00
CanIface.cpp HAL_ChibiOS: modify hal can drivers for use by AP_Periph 2020-09-24 12:32:19 +10:00
CANIface.h HAL_ChibiOS: modify hal can drivers for use by AP_Periph 2020-09-24 12:32:19 +10:00
Device.cpp HAL_ChibiOS: shorted thread names 2020-04-29 07:36:55 +10:00
Device.h HAL_ChibiOS: added checking on bouncebuffer allocation 2020-01-18 07:13:11 +11:00
DSP.cpp AP_HAL_ChibiOS: add harmonics to DSP 2020-05-24 07:43:34 +10:00
DSP.h AP_HAL_ChibiOS: add harmonics to DSP 2020-05-24 07:43:34 +10:00
EventSource.cpp HAL_ChibiOS: modify hal can drivers for use by AP_Periph 2020-09-24 12:32:19 +10:00
EventSource.h HAL_ChibiOS: modify hal can drivers for use by AP_Periph 2020-09-24 12:32:19 +10:00
Flash.h HAL_ChibiOS: removed unusued AP_Common/Semaphore.h 2019-05-15 15:33:48 +10:00
GPIO.cpp HAL_ChibiOS: add a max quota of GPIO interrupts 2020-10-02 09:38:24 +10:00
GPIO.h HAL_ChibiOS: add a max quota of GPIO interrupts 2020-10-02 09:38:24 +10:00
HAL_ChibiOS_Class.cpp AP_HAL_ChibiOS: create UAVCAN agnostic CANIface driver 2020-08-19 17:31:09 +10:00
HAL_ChibiOS_Class.h AP_HAL_ChibiOS: create UAVCAN agnostic CANIface driver 2020-08-19 17:31:09 +10:00
I2CDevice.cpp AP_HAL_ChibiOS: create and use INTERNAL_ERROR macro so we get line numbers 2020-04-30 13:21:36 +10:00
I2CDevice.h AP_HAL_ChibiOS: remove unnecessary tabs and whitespaces 2019-10-21 08:01:56 +11:00
RCInput.cpp AP_HAL_ChibiOS: use GCS_SEND_TEXT() 2020-04-29 07:36:55 +10:00
RCInput.h HAL_ChibiOS: implement pulse_input_enable() 2020-01-31 11:09:07 +11:00
RCOutput.cpp AP_HAL_ChibiOS: add support for ProfiLEDs 2020-03-10 10:37:26 +11:00
RCOutput.h AP_HAL_ChibiOS: add support for ProfiLEDs 2020-03-10 10:37:26 +11:00
Scheduler.cpp HAL_ChibiOS: add a max quota of GPIO interrupts 2020-10-02 09:38:24 +10:00
Scheduler.h AP_HAL_ChibiOS: increase RCIN stack size 2020-07-07 18:48:06 +10:00
sdcard.cpp HAL_ChibiOS: use 4k bouncebuffer for sdcard 2020-01-18 07:13:11 +11:00
sdcard.h AP_HAL_ChibiOS: remove unnecessary tabs and whitespaces 2019-10-21 08:01:56 +11:00
Semaphores.cpp AP_HAL_ChibiOS: make all semaphores recursive 2020-01-19 20:19:30 +11:00
Semaphores.h AP_HAL_ChibiOS: make all semaphores recursive 2020-01-19 20:19:30 +11:00
shared_dma.cpp AP_HAL_ChibiOS: remove unnecessary tabs and whitespaces 2019-10-21 08:01:56 +11:00
shared_dma.h AP_HAL_ChibiOS: remove unnecessary tabs and whitespaces 2019-10-21 08:01:56 +11:00
SoftSigReader.cpp HAL_ChibiOS: added disable() API for pulse input 2020-01-31 11:09:07 +11:00
SoftSigReader.h HAL_ChibiOS: fixed warning on gcc9 2020-09-22 08:07:23 +10:00
SoftSigReaderInt.cpp HAL_ChibiOS: added disable() API for pulse input 2020-01-31 11:09:07 +11:00
SoftSigReaderInt.h HAL_ChibiOS: added disable() API for pulse input 2020-01-31 11:09:07 +11:00
SPIDevice.cpp AP_HAL_ChibiOS: add support for bank selection call outside SPI driver 2020-08-06 12:41:35 +10:00
SPIDevice.h AP_HAL_ChibiOS: add support for bank selection call outside SPI driver 2020-08-06 12:41:35 +10:00
stdio.cpp HAL_ChibiOS: modify hal can drivers for use by AP_Periph 2020-09-24 12:32:19 +10:00
Storage.cpp HAL_ChibiOS: fix sdcard param init 2020-09-04 07:13:12 +10:00
Storage.h HAL_ChibiOS: fixed race condition in storage write 2020-05-04 17:22:41 +10:00
system.cpp HAL_ChibiOS: modify hal can drivers for use by AP_Periph 2020-09-24 12:32:19 +10:00
UARTDriver.cpp AP_HAL_ChibiOS: add available method for locked state 2020-08-19 17:31:09 +10:00
UARTDriver.h AP_HAL_ChibiOS: add available method for locked state 2020-08-19 17:31:09 +10:00
Util.cpp HAL_ChibiOS: disable thread_info in AP_Periph and bootloader 2020-04-29 07:36:55 +10:00
Util.h HAL_ChibiOS: disable thread_info in AP_Periph and bootloader 2020-04-29 07:36:55 +10:00