os/arch/arm/src/stm32h745: Add reset flag to systemreset.c
@@ -112,6 +112,7 @@ static void up_systemreset(void)
static reboot_reason_code_t reboot_reason;
static reboot_reason_code_t stm32h745_reboot_reason_get_hw_value(void)
{
+ lldbg("RCC RSR=0x%08x\n", RCC->RSR);
if(__HAL_RCC_C1_GET_FLAG(RCC_FLAG_IWDG1RST))
{
return REBOOT_SYSTEM_WATCHDOG;
