feat(vfs): modify vfs for ESP8266

This commit is contained in:
Dong Heng
2020-02-27 12:56:59 +08:00
parent 230963030d
commit 5ddea6d655
12 changed files with 58 additions and 139 deletions

View File

@ -13,7 +13,6 @@
#include "driver/uart.h"
#include "sdkconfig.h"
#ifdef CONFIG_USING_ESP_VFS
esp_err_t example_configure_stdin_stdout(void)
{
// Initialize VFS & UART so we can use std::cout/cin
@ -29,4 +28,3 @@ esp_err_t example_configure_stdin_stdout(void)
esp_vfs_dev_uart_set_tx_line_endings(ESP_LINE_ENDINGS_CRLF);
return ESP_OK;
}
#endif