feat(Puya-PY32F040): add OTA dual-project codegen template

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-18 18:56:19 +08:00
co-authored by Cursor
commit 62eb0199ed
498 changed files with 329164 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#ifndef __IWDG_H
#define __IWDG_H
/**
* @brief 独立看门狗 HAL 封装(参数见 Shared/iwdg_config.h
*
* Bootloader 跳转前可能已启动 IWDGAPP 须在 HAL_Init 后尽早 iwdg_init()。
* 时钟配置勿关闭 LSI,详见 app_boot.c 中 app_system_clock_config()。
*/
void iwdg_init(void);
void iwdg_feed(void);
#endif /* __IWDG_H */