mirror of https://github.com/ARMmbed/mbed-os.git
When a ticker is scheduled to run so fast that it is pending again before the previous event has been processed then this next event is processed (recursively) by calling into us_ticker_irq_handle(). This can lead to a stack overflow. This patch prevents this recursion by replacing the call to us_ticker_irq_handler() with a call to set the interrupt to pending again. This allows the next timer event to be processed without making the stack deeper. |
||
---|---|---|
.. | ||
TARGET_ARM_SSG | ||
TARGET_Atmel | ||
TARGET_Freescale | ||
TARGET_Maxim | ||
TARGET_NORDIC/TARGET_MCU_NRF51822 | ||
TARGET_NXP | ||
TARGET_RENESAS/TARGET_RZ_A1H | ||
TARGET_STM | ||
TARGET_Silicon_Labs/TARGET_EFM32 | ||
TARGET_WIZNET/TARGET_W7500x |