mirror of
https://github.com/pine64/bl_iot_sdk.git
synced 2024-10-02 21:12:27 +00:00
examples: Document UART initialization
This commit is contained in:
parent
690e08d8dc
commit
7168e7f4e7
@ -73,6 +73,10 @@ void user_vApplicationIdleHook(void)
|
||||
|
||||
void bfl_main(void)
|
||||
{
|
||||
/*
|
||||
* Init UART using pins 16+7 (TX+RX)
|
||||
* and baudrate of 2M
|
||||
*/
|
||||
bl_uart_init(0, 16, 7, 255, 255, 2 * 1000 * 1000);
|
||||
helloworld();
|
||||
}
|
||||
|
@ -265,7 +265,10 @@ void bfl_main()
|
||||
static StackType_t aos_loop_proc_stack[1024];
|
||||
static StaticTask_t aos_loop_proc_task;
|
||||
|
||||
/*Init UART In the first place*/
|
||||
/*
|
||||
* Init UART using pins 16+7 (TX+RX)
|
||||
* and baudrate of 2M
|
||||
*/
|
||||
bl_uart_init(0, 16, 7, 255, 255, 2 * 1000 * 1000);
|
||||
puts("Starting bl602 now....\r\n");
|
||||
|
||||
|
@ -262,7 +262,10 @@ void bfl_main()
|
||||
static StackType_t aos_loop_proc_stack[1024];
|
||||
static StaticTask_t aos_loop_proc_task;
|
||||
|
||||
/*Init UART In the first place*/
|
||||
/*
|
||||
* Init UART using pins 16+7 (TX+RX)
|
||||
* and baudrate of 2M
|
||||
*/
|
||||
bl_uart_init(0, 16, 7, 255, 255, 2 * 1000 * 1000);
|
||||
puts("Starting bl602 now....\r\n");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user