|
|
@ -58,8 +58,10 @@ void lowlevel_init(void) |
|
|
|
{ |
|
|
|
NVIC_SetVectorTable(NVIC_VectTab_FLASH, (APP_ADDRESS - NVIC_VectTab_FLASH)); |
|
|
|
NVIC_PriorityGroupConfig(NVIC_PriorityGroup_4); |
|
|
|
__enable_irq(); |
|
|
|
|
|
|
|
init_board(); |
|
|
|
|
|
|
|
__enable_irq(); |
|
|
|
} |
|
|
|
#else |
|
|
|
void lowlevel_init(void) |
|
|
@ -136,7 +138,7 @@ static int do_sc18is_rst(cmd_tbl_t s, int argc, char *argv[]) |
|
|
|
return 0; |
|
|
|
} |
|
|
|
|
|
|
|
CON_CMD(sc18is_rst, 1, "reset sc18is602", do_sc18is_rst); |
|
|
|
CON_CMD(scrst, 1, "reset sc18is602", do_sc18is_rst); |
|
|
|
|
|
|
|
static int do_flash_id(cmd_tbl_t s, int argc, char *argv[]) |
|
|
|
{ |
|
|
@ -145,5 +147,5 @@ static int do_flash_id(cmd_tbl_t s, int argc, char *argv[]) |
|
|
|
return 0; |
|
|
|
} |
|
|
|
|
|
|
|
CON_CMD(flash_id, 1, "read flash id", do_flash_id); |
|
|
|
CON_CMD(n25qid, 1, "read flash id", do_flash_id); |
|
|
|
|
|
|
|