examples: Document UART initialization

This commit is contained in:
Evangelos Ribeiro Tzaras 2020-11-02 17:55:30 +01:00 committed by Yafei Jin
parent b4901b07c8
commit c84915a06c
No known key found for this signature in database
GPG Key ID: 74285D96186BE640
3 changed files with 12 additions and 2 deletions

View File

@ -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();
}

View File

@ -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");

View File

@ -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");