mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-03-15 19:31:43 +00:00
[fix][board] halt d0 when flash init
This commit is contained in:
parent
356f258e83
commit
47d0f9cd38
1 changed files with 3 additions and 3 deletions
|
@ -228,10 +228,10 @@ void board_init(void)
|
|||
|
||||
flag = bflb_irq_save();
|
||||
|
||||
ret = bflb_flash_init();
|
||||
|
||||
GLB_Halt_CPU(GLB_CORE_ID_D0);
|
||||
|
||||
ret = bflb_flash_init();
|
||||
|
||||
system_clock_init();
|
||||
peripheral_clock_init();
|
||||
bflb_irq_initialize();
|
||||
|
@ -273,7 +273,7 @@ void board_init(void)
|
|||
|
||||
bflb_irq_restore(flag);
|
||||
|
||||
/* we do not check header at 0x10000, just boot */
|
||||
/* we do not check header at 0x100000, just boot */
|
||||
GLB_Release_CPU(GLB_CORE_ID_D0);
|
||||
|
||||
/* release d0 and then do can run */
|
||||
|
|
Loading…
Add table
Reference in a new issue