app启动时如果boot魔数校验错误则自动升级bootloader
This commit is contained in:
@@ -59,6 +59,7 @@ typedef struct{
|
||||
uint8_t *flash_get_rom(rom_head **head);
|
||||
|
||||
int flash_updata_app(uint8_t *rom,uint32_t size);
|
||||
int flash_updata_boot(uint8_t *rom,uint32_t size);
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user