mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-26 13:12:21 +00:00
esp_stdio contains everything the old esp_vfs_console contained (the vfs stdio glue layer) as well as other functionality related to stdio (previously referred to as console)
27 lines
464 B
C
27 lines
464 B
C
/*
|
|
* SPDX-FileCopyrightText: 2021-2025 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "esp_err.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define ESP_VFS_DEV_CONSOLE "/dev/console"
|
|
|
|
/**
|
|
* @brief add uart/usb_serial_jtag/usb_otg_acmcdc virtual filesystem driver
|
|
*
|
|
* This function is called from startup code to enable serial output
|
|
*/
|
|
esp_err_t esp_stdio_register(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|