walnux/arch
MASZ 2e85eae6b2 arch/arm/stm32h7: Fix and enhance WWDG (Window Watchdog) support
This patch addresses several issues and adds enhancements to the WWDG
(Window Watchdog) implementation for the STM32H7 platform. The changes
include:

- Extend the definitions of WWDG_CFR_PCLK1 macros to support dividers
  up to 128, and update the stm32_settimeout() function to consider this
  extended range.
- Fix the "elapsed" calculations in the stm32_getstatus() function to
  ensure correct time remaining calculations.
- Clear the EWIF (Early Wakeup Interrupt Flag) bit in the stm32_start()
  function, as this bit might be set by hardware before the watchdog is
  actually started.
- Initialize the WWDG clock in the RCC_APB3ENR register and set the
  RCC_GCR_WW1RSC bit as per the STM32 reference manual to ensure proper
  behavior when enabling the WWDG1.

Signed-off-by: Szymon Magrian <szymon.magrian@hexagon.com>
2025-09-20 09:09:42 +08:00
..
arm arch/arm/stm32h7: Fix and enhance WWDG (Window Watchdog) support 2025-09-20 09:09:42 +08:00
arm64 arch/arm64/imx9: Add ele commit message 2025-09-19 22:02:26 +08:00
avr arch: fix alignment bug for archs that need stack alignment 2025-09-18 11:11:32 -03:00
ceva arch: fix alignment bug for archs that need stack alignment 2025-09-18 11:11:32 -03:00
dummy
hc arch: fix alignment bug for archs that need stack alignment 2025-09-18 11:11:32 -03:00
mips arch: fix alignment bug for archs that need stack alignment 2025-09-18 11:11:32 -03:00
misoc arch: fix alignment bug for archs that need stack alignment 2025-09-18 11:11:32 -03:00
or1k arch: fix alignment bug for archs that need stack alignment 2025-09-18 11:11:32 -03:00
renesas arch: fix alignment bug for archs that need stack alignment 2025-09-18 11:11:32 -03:00
risc-v risc-v/espressif/timers: Update common source code functions 2025-09-20 00:35:50 +08:00
sim arch: fix alignment bug for archs that need stack alignment 2025-09-18 11:11:32 -03:00
sparc arch: fix alignment bug for archs that need stack alignment 2025-09-18 11:11:32 -03:00
tricore arch: fix stack alignment bug for arm and tricore arch 2025-09-18 13:45:38 +08:00
x86 arch: fix alignment bug for archs that need stack alignment 2025-09-18 11:11:32 -03:00
x86_64 arch: fix alignment bug for archs that need stack alignment 2025-09-18 11:11:32 -03:00
xtensa arch: fix alignment bug for archs that need stack alignment 2025-09-18 11:11:32 -03:00
z16 arch: fix alignment bug for archs that need stack alignment 2025-09-18 11:11:32 -03:00
z80 arch: fix alignment bug for archs that need stack alignment 2025-09-18 11:11:32 -03:00
CMakeLists.txt arch/z80: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
Kconfig arch/Kconfig: Add condition checking in Kconfig source statement 2025-09-16 09:34:56 +02:00