usb: add cdc-acm serial and write to flash

This commit is contained in:
Dien-Nhung Nguyen-Phu
2024-07-11 21:34:07 +07:00
parent 49fc27a23e
commit c3912e01a2
5 changed files with 210 additions and 0 deletions

View File

@@ -175,6 +175,7 @@ int main()
debug_init();
PRINT("\nDebug console is on UART%d\n", DEBUG);
cdc_onWrite(usb_receive);
hiddev_onWrite(usb_receive);
usb_start();