Add KiCad files and USB CDC logging support
This commit is contained in:
15
main/usb_cdc_log.h
Normal file
15
main/usb_cdc_log.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "esp_err.h"
|
||||
|
||||
/**
|
||||
* @brief Ініціалізує TinyUSB CDC та перенаправляє ESP_LOG у USB.
|
||||
*/
|
||||
esp_err_t usb_cdc_log_init(void);
|
||||
|
||||
/**
|
||||
* @brief Чи встановив хост DTR і готовий приймати лог.
|
||||
*/
|
||||
bool usb_cdc_log_ready(void);
|
||||
Reference in New Issue
Block a user