iap 逻辑初步

Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
2022-11-08 13:44:31 +08:00
parent 927d8a2bb8
commit 8903a09f2c
10 changed files with 981 additions and 279 deletions

View File

@@ -59,3 +59,16 @@ void SystemClock_Config(void)
*/
HAL_RCC_EnableCSS();
}
// init ports
extern int cplusplus_system_init(void);
INIT_COMPONENT_EXPORT(cplusplus_system_init);
extern void fal(uint8_t argc, char **argv);
MSH_CMD_EXPORT(fal, FAL (Flash Abstraction Layer) operate.);
extern int fal_init(void);
INIT_ENV_EXPORT(fal_init);
extern int iap_main_entry(void);
INIT_ENV_EXPORT(iap_main_entry);