add : USB CDC虚拟串口通讯

This commit is contained in:
2026-04-03 12:14:43 +08:00
parent da4e944bca
commit dc518cefed
59 changed files with 13943 additions and 673 deletions

View File

@@ -44,6 +44,23 @@ virtualFolder:
- path: ../Middlewares/Third_Party/LwIP/src/apps/http/fs.c
- path: ../Middlewares/Third_Party/LwIP/src/apps/http/fsdata_custom.c
folders: []
- name: USB
files: []
folders:
- name: App
files:
- path: ../USB_DEVICE/App/usb_device.c
- path: ../USB_DEVICE/App/usb_device.h
- path: ../USB_DEVICE/App/usbd_cdc_if.c
- path: ../USB_DEVICE/App/usbd_cdc_if.h
- path: ../USB_DEVICE/App/usbd_desc.c
- path: ../USB_DEVICE/App/usbd_desc.h
folders: []
- name: Target
files:
- path: ../USB_DEVICE/Target/usbd_conf.c
- path: ../USB_DEVICE/Target/usbd_conf.h
folders: []
- name: User
files: []
folders:
@@ -107,6 +124,9 @@ virtualFolder:
- path: ../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_tim_ex.c
- path: ../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart.c
- path: ../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart_ex.c
- path: ../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pcd.c
- path: ../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pcd_ex.c
- path: ../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_ll_usb.c
folders: []
- name: CMSIS
files:
@@ -120,6 +140,20 @@ virtualFolder:
- path: ../Drivers/BSP/Components/yt8512c/yt8512c.c
- path: ../Drivers/BSP/Components/lan8742/lan8742.c
folders: []
- name: STM32_USB_Device_Library
files: []
folders:
- name: Core
files:
- path: ../Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c
- path: ../Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c
- path: ../Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c
folders: []
- name: CDC
files:
- path: ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c
- path: ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc_if_template.c
folders: []
- name: Middlewares
files: []
folders:
@@ -284,9 +318,15 @@ targets:
- RTE/_IPort
- ../Middlewares/Third_Party/Ykc
- ../Middlewares/Third_Party/cJSON
- ../USB_DEVICE/App
- ../USB_DEVICE/Target
- ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc
- ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc
libList: []
excludeList:
- <virtual_root>/User/Hal/_hal_myi2c.c
settings:
debugger: cortex-debug
toolchain: AC5
toolchainConfigMap:
AC5: