chore: disable USB_OTG_HS in CubeMX, remove USB device library

- Remove USB_OTG_HS peripheral and all USB Device Library files
- Remove USB_DEVICE application (usb_device, usbd_cdc_if, usbd_desc, usbd_conf)
- Remove HAL PCD/LL USB driver files
- Update generated files (main.c, freertos.c, stm32h7xx_it.c, hal_conf.h, CMakeLists)
This commit is contained in:
2026-05-30 21:06:58 +08:00
parent 8763b25839
commit 5e662f8458
31 changed files with 42 additions and 12877 deletions
-3
View File
@@ -63,7 +63,6 @@ const osThreadAttr_t defaultTask_attributes = {
void StartDefaultTask(void *argument);
extern void MX_USB_DEVICE_Init(void);
void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
/**
@@ -115,8 +114,6 @@ void MX_FREERTOS_Init(void) {
/* USER CODE END Header_StartDefaultTask */
void StartDefaultTask(void *argument)
{
/* init code for USB_DEVICE */
MX_USB_DEVICE_Init();
/* USER CODE BEGIN StartDefaultTask */
/* Infinite loop */
for(;;)