Serial commands handling with USB VCP

This commit is contained in:
muzkr committed 2025-11-10 05:23:05 +08:00
1 parent bbed36d997
commit 1e44113fde
5 files changed
+308 -112

No files matched your search

+4 -3
View File
@@ -52,9 +52,9 @@
#ifdef ENABLE_UART
#include "driver/uart.h"
#endif
#ifdef ENABLE_USB
#include "driver/vcp.h"
#endif
#include "helper/battery.h"
#include "helper/boot.h"
@@ -84,8 +84,9 @@ void Main(void)
UART_Init();
UART_Send(UART_Version, strlen(UART_Version));
#endif
#ifdef ENABLE_USB
VCP_Init();
#endif
// Not implementing authentic device checks