405 iap 工程结构调试

Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
2024-07-24 16:22:31 +08:00
parent b1d8ce2643
commit c1bcad0c50
8 changed files with 378 additions and 195 deletions

View File

@@ -59,8 +59,17 @@ void SystemClock_Config(void)
HAL_RCC_EnableCSS();
}
//extern int iap_main_entry(void);
//INIT_ENV_EXPORT(iap_main_entry);
extern int iap_main_entry(void);
INIT_ENV_EXPORT(iap_main_entry);
#include "shell.h"
INIT_APP_EXPORT(finsh_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_COMPONENT_EXPORT(fal_init);
#include <stdlib.h>
static void reset_fc(int argc, char **argv)