mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
bc09031496
Deprecated esp_vfs_dev_uart_xxx APIs vfs_uart test case moved to esp_driver_uart test_apps Astyle fixed for uart_vfs
42 lines
1002 B
C
42 lines
1002 B
C
|
|
/*
|
|
* SPDX-FileCopyrightText: 2021-2023 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "sdkconfig.h"
|
|
#include "esp_vfs.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#if CONFIG_VFS_SUPPORT_IO
|
|
/**
|
|
* @brief Set the pointer of primary dev vfs.
|
|
*
|
|
* This function is called in each vfs dev driver as a system initialization function registered via ESP_SYSTEM_INIT_FN
|
|
*
|
|
* @param vfs pointer to structure esp_vfs_t
|
|
*/
|
|
void esp_vfs_set_primary_dev_vfs_def_struct(const esp_vfs_t *vfs);
|
|
|
|
#if CONFIG_ESP_CONSOLE_SECONDARY_USB_SERIAL_JTAG
|
|
/**
|
|
* @brief Set the pointer of secondary dev vfs.
|
|
*
|
|
* This function is called in each vfs dev driver as a system initialization function registered via ESP_SYSTEM_INIT_FN
|
|
*
|
|
* @param vfs pointer to structure esp_vfs_t
|
|
*/
|
|
void esp_vfs_set_secondary_dev_vfs_def_struct(const esp_vfs_t *vfs);
|
|
#endif //CONFIG_ESP_CONSOLE_SECONDARY_USB_SERIAL_JTAG
|
|
#endif // CONFIG_VFS_SUPPORT_IO
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|