[FL-1885] USB-UART bridge (#778)
* [FL-1885] USB-UART: app and worker * [FL-1885] USB-UART: UART on CDC0 Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
This commit is contained in:
@@ -17,6 +17,14 @@ extern "C" {
|
||||
*/
|
||||
void furi_hal_vcp_init();
|
||||
|
||||
/** Disable VCP to make CDC interface usable by other application
|
||||
*/
|
||||
void furi_hal_vcp_disable();
|
||||
|
||||
/** Enable VCP
|
||||
*/
|
||||
void furi_hal_vcp_enable();
|
||||
|
||||
/** Recieve data from VCP Waits till some data arrives, never returns 0
|
||||
*
|
||||
* @param buffer pointer to buffer
|
||||
|
@@ -36,6 +36,7 @@ template <unsigned int N> struct STOP_EXTERNING_ME {};
|
||||
#include "furi-hal-usb.h"
|
||||
#include "furi-hal-usb-hid.h"
|
||||
#include "furi-hal-compress.h"
|
||||
#include "furi-hal-lpuart.h"
|
||||
|
||||
/** Init furi-hal */
|
||||
void furi_hal_init();
|
||||
|
Reference in New Issue
Block a user