add : USB CDC虚拟串口通讯
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ProjectOpt xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="project_optx.xsd">
|
||||
|
||||
<SchemaVersion>1.0</SchemaVersion>
|
||||
@@ -45,7 +45,7 @@
|
||||
<PageWidth>79</PageWidth>
|
||||
<PageLength>66</PageLength>
|
||||
<TabStop>8</TabStop>
|
||||
<ListingPath></ListingPath>
|
||||
<ListingPath />
|
||||
</OPTLEX>
|
||||
<ListingPage>
|
||||
<CreateCListing>1</CreateCListing>
|
||||
@@ -104,16 +104,16 @@
|
||||
<bSchkAxf>0</bSchkAxf>
|
||||
<bTchkAxf>0</bTchkAxf>
|
||||
<nTsel>3</nTsel>
|
||||
<sDll></sDll>
|
||||
<sDllPa></sDllPa>
|
||||
<sDlgDll></sDlgDll>
|
||||
<sDlgPa></sDlgPa>
|
||||
<sIfile></sIfile>
|
||||
<tDll></tDll>
|
||||
<tDllPa></tDllPa>
|
||||
<tDlgDll></tDlgDll>
|
||||
<tDlgPa></tDlgPa>
|
||||
<tIfile></tIfile>
|
||||
<sDll />
|
||||
<sDllPa />
|
||||
<sDlgDll />
|
||||
<sDlgPa />
|
||||
<sIfile />
|
||||
<tDll />
|
||||
<tDllPa />
|
||||
<tDlgDll />
|
||||
<tDlgPa />
|
||||
<tIfile />
|
||||
<pMon>BIN\CMSIS_AGDI.dll</pMon>
|
||||
</DebugOpt>
|
||||
<TargetDriverDllRegistry>
|
||||
@@ -135,12 +135,12 @@
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>ARMDBGFLAGS</Key>
|
||||
<Name></Name>
|
||||
<Name />
|
||||
</SetRegEntry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>DLGUARM</Key>
|
||||
<Name></Name>
|
||||
<Name />
|
||||
</SetRegEntry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
@@ -158,7 +158,7 @@
|
||||
<Name>-U-O142 -O2254 -S0 -C0 -N00("ARM CoreSight SW-DP") -D00(5BA02477) -L00(0) -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC1000 -FN1 -FF0STM32H7x_2048.FLM -FS08000000 -FL0200000 -FP0($$Device:STM32H743IITx$CMSIS\Flash\STM32H7x_2048.FLM)</Name>
|
||||
</SetRegEntry>
|
||||
</TargetDriverDllRegistry>
|
||||
<Breakpoint/>
|
||||
<Breakpoint />
|
||||
<WatchWindow1>
|
||||
<Ww>
|
||||
<count>0</count>
|
||||
@@ -235,19 +235,19 @@
|
||||
<newCpu>0</newCpu>
|
||||
<uProt>0</uProt>
|
||||
</DebugFlag>
|
||||
<LintExecutable></LintExecutable>
|
||||
<LintConfigFile></LintConfigFile>
|
||||
<LintExecutable />
|
||||
<LintConfigFile />
|
||||
<bLintAuto>0</bLintAuto>
|
||||
<bAutoGenD>0</bAutoGenD>
|
||||
<LntExFlags>0</LntExFlags>
|
||||
<pMisraName></pMisraName>
|
||||
<pszMrule></pszMrule>
|
||||
<pSingCmds></pSingCmds>
|
||||
<pMultCmds></pMultCmds>
|
||||
<pMisraNamep></pMisraNamep>
|
||||
<pszMrulep></pszMrulep>
|
||||
<pSingCmdsp></pSingCmdsp>
|
||||
<pMultCmdsp></pMultCmdsp>
|
||||
<pMisraName />
|
||||
<pszMrule />
|
||||
<pSingCmds />
|
||||
<pMultCmds />
|
||||
<pMisraNamep />
|
||||
<pszMrulep />
|
||||
<pSingCmdsp />
|
||||
<pMultCmdsp />
|
||||
<DebugDescription>
|
||||
<Enable>1</Enable>
|
||||
<EnableFlashSeq>1</EnableFlashSeq>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -29,7 +29,7 @@
|
||||
; <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
|
||||
; </h>
|
||||
|
||||
Stack_Size EQU 0x2048
|
||||
Stack_Size EQU 0x1000
|
||||
|
||||
AREA STACK, NOINIT, READWRITE, ALIGN=3
|
||||
Stack_Mem SPACE Stack_Size
|
||||
@@ -40,7 +40,7 @@ __initial_sp
|
||||
; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
|
||||
; </h>
|
||||
|
||||
Heap_Size EQU 0x20000
|
||||
Heap_Size EQU 0x2000
|
||||
|
||||
AREA HEAP, NOINIT, READWRITE, ALIGN=3
|
||||
__heap_base
|
||||
|
||||
Reference in New Issue
Block a user