walnux/arch
MASZ 94ad260843 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-27 21:40:35 +08:00
..
arm arch/arm/stm32h7: Fix and enhance WWDG (Window Watchdog) support 2025-09-27 21:40:35 +08:00
arm64 arch/arm64/src/imx9/imx9_lpi2c.c: Fix bus reset 2025-08-26 09:39:33 +08:00
avr Make/Toolchain.defs: add the AR_EXTRACT command 2025-08-19 09:47:44 +08:00
ceva Revert "Reduce the size of tcb by four bytes." 2025-05-27 16:30:35 +08:00
dummy
hc style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
mips Make/Toolchain.defs: add the AR_EXTRACT command 2025-08-19 09:47:44 +08:00
misoc Make/Toolchain.defs: add the AR_EXTRACT command 2025-08-19 09:47:44 +08:00
or1k Make/Toolchain.defs: add the AR_EXTRACT command 2025-08-19 09:47:44 +08:00
renesas Revert "Reduce the size of tcb by four bytes." 2025-05-27 16:30:35 +08:00
risc-v arch/risc-v: espressif: temperature: Fix incorrect pointer casting 2025-09-27 21:40:28 +08:00
sim arch/sim: avoid host-call being interrupted before getting errno 2025-07-21 19:19:05 -03:00
sparc Make/Toolchain.defs: add the AR_EXTRACT command 2025-08-19 09:47:44 +08:00
tricore arch/tricore: Align Makefile with Cmake for tasking linker script preprocessing 2025-09-27 21:40:12 +08:00
x86 Make/Toolchain.defs: add the AR_EXTRACT command 2025-08-19 09:47:44 +08:00
x86_64 Make/Toolchain.defs: add the AR_EXTRACT command 2025-08-19 09:47:44 +08:00
xtensa arch/xtensa: espressif: temperature: Fix incorrect pointer casting 2025-09-27 21:40:28 +08:00
z16 Revert "Reduce the size of tcb by four bytes." 2025-05-27 16:30:35 +08:00
z80 Make/Toolchain.defs: add the AR_EXTRACT command 2025-08-19 09:47:44 +08:00
CMakeLists.txt arch/z80: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
Kconfig toolchain/armclang: Fix armclang config 2025-07-15 21:56:46 +08:00