UART 9600->115200
Set faster UART by default, add small script for making & building binary
This commit is contained in:
parent
3e4a14343d
commit
7dc36cea05
|
@ -205,7 +205,7 @@ uint32_t platform_uart_setup( unsigned id, uint32_t baud, int databits, int pari
|
|||
UartDev.baut_rate = baud;
|
||||
break;
|
||||
default:
|
||||
UartDev.baut_rate = BIT_RATE_9600;
|
||||
UartDev.baut_rate = BIT_RATE_115200;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -114,9 +114,8 @@ void user_init(void)
|
|||
#ifdef DEVELOP_VERSION
|
||||
uart_init(BIT_RATE_74880, BIT_RATE_74880);
|
||||
#else
|
||||
uart_init(BIT_RATE_9600, BIT_RATE_9600);
|
||||
uart_init(BIT_RATE_115200, BIT_RATE_115200);
|
||||
#endif
|
||||
// uart_init(BIT_RATE_115200, BIT_RATE_115200);
|
||||
|
||||
#ifndef NODE_DEBUG
|
||||
system_set_os_print(0);
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
make && esptool.py elf2image app/.output/eagle/debug/image/eagle.app.v6.out
|
Loading…
Reference in New Issue