UART 9600->115200

Set faster UART by default, add small script for making & building
binary
This commit is contained in:
LaurynasL 2015-03-13 16:37:28 +02:00
parent 3e4a14343d
commit 7dc36cea05
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

1
fullmake.sh Normal file
View File

@ -0,0 +1 @@
make && esptool.py elf2image app/.output/eagle/debug/image/eagle.app.v6.out