DFU 모듈 분리

This commit is contained in:
2026-07-21 12:33:54 +09:00
parent a83c9d11fa
commit b8fa7831c7
3 changed files with 262 additions and 227 deletions
+18
View File
@@ -0,0 +1,18 @@
/*******************************************************************************
* @file dfu_manager.h
* @brief DFU state, watchdog, and MCUboot image control
******************************************************************************/
#ifndef DFU_MANAGER_H__
#define DFU_MANAGER_H__
#include <stdbool.h>
#define DFU_RESUME_MAGIC 0xD5U
#define DFU_RESUME_GPREGRET_REG 1U
void dfu_manager_init(void);
bool dfu_is_confirm_pending_boot(void);
void dfu_confirm_running_image(void);
void dfu_log_mcuboot_state(void);
#endif /* DFU_MANAGER_H__ */