|
ESP-IDF Firmware
Firmware architecture and call graph
|
#include "esp_err.h"Go to the source code of this file.
Functions | |
| esp_err_t | esp_tusb_init_console (int cdc_intf) |
| Redirect output to the USB serial. | |
| esp_err_t | esp_tusb_deinit_console (int cdc_intf) |
| Switch log to the default output. | |
| esp_err_t esp_tusb_deinit_console | ( | int | cdc_intf | ) |
Switch log to the default output.
| cdc_intf | - interface number of TinyUSB's CDC |
Definition at line 110 of file tusb_console.c.
References con, ESP_OK, ESP_RETURN_ON_ERROR, esp_vfs_tusb_cdc_unregister(), restore_std_streams(), and TAG.
| esp_err_t esp_tusb_init_console | ( | int | cdc_intf | ) |
Redirect output to the USB serial.
| cdc_intf | - interface number of TinyUSB's CDC |
Definition at line 102 of file tusb_console.c.
References con, ESP_OK, ESP_RETURN_ON_ERROR, esp_vfs_tusb_cdc_register(), redirect_std_streams_to(), TAG, and VFS_TUSB_PATH_DEFAULT.