DFU 모듈 분리
This commit is contained in:
@@ -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__ */
|
||||
Reference in New Issue
Block a user