[fix] fix pinmux_init and while(1) process

This commit is contained in:
jzlv 2021-06-07 19:05:29 +08:00
parent 322bbbe17e
commit 8da1479a1b
12 changed files with 22 additions and 25 deletions

View file

@ -63,6 +63,4 @@ int main(void)
bflb_platform_delay_ms(10);
}
}
BL_CASE_SUCCESS;
}

View file

@ -52,7 +52,6 @@ int main(void)
while (1)
{
__asm volatile ("nop");
}
BL_CASE_SUCCESS;
}

View file

@ -36,6 +36,7 @@ int main(void)
bflb_platform_set_alarm_time(1000000,systick_isr);
while(1)
{
__asm volatile ("nop");
}
}

View file

@ -46,5 +46,9 @@ int main(void)
device_control(uart, DEVICE_CTRL_SET_INT, (void *)(UART_RX_FIFO_IT|UART_RTO_IT));
}
BL_CASE_SUCCESS;
while (1)
{
__asm volatile ("nop");
}
}