ESP-IDF Firmware
Firmware architecture and call graph
Loading...
Searching...
No Matches
vfs_tinyusb.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#pragma once
8
9#include "esp_err.h"
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15#define VFS_TUSB_MAX_PATH 16
16#define VFS_TUSB_PATH_DEFAULT "/dev/tusb_cdc"
17
25esp_err_t esp_vfs_tusb_cdc_register(int cdc_intf, char const *path);
26
34
35#ifdef __cplusplus
36}
37#endif
int esp_err_t
Definition esp_err.h:21
esp_err_t esp_vfs_tusb_cdc_unregister(char const *path)
Unregister TinyUSB CDC from VFS.
esp_err_t esp_vfs_tusb_cdc_register(int cdc_intf, char const *path)
Register TinyUSB CDC at VFS with path.