feat(Puya-PY32F040): add OTA dual-project codegen template
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#ifndef __IWDG_H
|
||||
#define __IWDG_H
|
||||
|
||||
/**
|
||||
* @brief 独立看门狗 HAL 封装(参数见 Shared/iwdg_config.h)
|
||||
*
|
||||
* Bootloader 跳转前可能已启动 IWDG;APP 须在 HAL_Init 后尽早 iwdg_init()。
|
||||
* 时钟配置勿关闭 LSI,详见 app_boot.c 中 app_system_clock_config()。
|
||||
*/
|
||||
|
||||
void iwdg_init(void);
|
||||
void iwdg_feed(void);
|
||||
|
||||
#endif /* __IWDG_H */
|
||||
Reference in New Issue
Block a user