vfs and newlib: small fixes

- spaces->tabs in tasks.c
- update vfs_uart.c to use per-UART locks
- add license to vfs_uart.c
- allocate separate streams for stdout, stdin, stderr, so that they can be independently reassigned
- fix build system test failure
This commit is contained in:
Ivan Grokhotkov
2016-10-25 22:12:07 +08:00
parent 587360363c
commit b3b8334d54
8 changed files with 269 additions and 261 deletions

View File

@@ -42,7 +42,7 @@
#include "esp_spi_flash.h"
#include "esp_ipc.h"
#include "esp_log.h"
#include "esp_newlib.h"
#include "esp_brownout.h"
#include "esp_int_wdt.h"
#include "esp_task_wdt.h"
@@ -160,7 +160,7 @@ void start_cpu0_default(void)
#if CONFIG_TASK_WDT
esp_task_wdt_init();
#endif
ets_setup_syscalls();
esp_setup_syscalls();
do_global_ctors();
esp_ipc_init();
spi_flash_init();