mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-23 19:23:09 +00:00
153666f73f
* USB-CDC: accepting the next data packet only if we process previous data * USB-CDC: use USB FS packet size * HAL-console: puts method * Check: print assertion data * FuriHal: rx stream free space aware CDC confirmation. * Bootloader: pull down USB lines, leave the rest to the firmware or bootloader * F6: cleanup and move USB code to usb-glue folder, add USB suspend/resume events to VCP, cleanup target.mk, fix missing motd message in cli when using minicom. * F5: cleanup the rest of USB glue code, adjust LPM and Power info data in descriptor. Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
13 lines
286 B
C
13 lines
286 B
C
#pragma once
|
|
|
|
#include <furi-hal-vcp.h>
|
|
|
|
void furi_hal_vcp_on_usb_resume();
|
|
|
|
void furi_hal_vcp_on_usb_suspend();
|
|
|
|
void furi_hal_vcp_on_cdc_control_line(uint8_t state);
|
|
|
|
void furi_hal_vcp_on_cdc_rx(const uint8_t* buffer, size_t size);
|
|
|
|
void furi_hal_vcp_on_cdc_tx_complete(size_t size);
|