diff options
| author | sakumisu <[email protected]> | 2022-02-13 14:33:00 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2022-02-13 14:33:00 +0800 |
| commit | 97f5b0e9af67819ce1f0c81baffaa70fdb49334c (patch) | |
| tree | 00ccc28ede791174e824c324578760e458d05ded | |
| parent | bc525ff9f55c4141bfc7d70b53467eb6f91a9566 (diff) | |
increase heap size and enable HUB
3 files changed, 36 insertions, 4 deletions
diff --git a/demo/stm32/usb_host/stm32f429igt6/MDK-ARM/startup_stm32f429xx.s b/demo/stm32/usb_host/stm32f429igt6/MDK-ARM/startup_stm32f429xx.s index 6d04068b..5943e2be 100644 --- a/demo/stm32/usb_host/stm32f429igt6/MDK-ARM/startup_stm32f429xx.s +++ b/demo/stm32/usb_host/stm32f429igt6/MDK-ARM/startup_stm32f429xx.s @@ -41,7 +41,7 @@ __initial_sp ; <o> Heap Size (in Bytes) <0x0-0xFFFFFFFF:8> ; </h> -Heap_Size EQU 0x200 +Heap_Size EQU 0x1000 AREA HEAP, NOINIT, READWRITE, ALIGN=3 __heap_base diff --git a/demo/stm32/usb_host/stm32f429igt6/MDK-ARM/stm32f429igt6.uvoptx b/demo/stm32/usb_host/stm32f429igt6/MDK-ARM/stm32f429igt6.uvoptx index a94c742e..ccc628ce 100644 --- a/demo/stm32/usb_host/stm32f429igt6/MDK-ARM/stm32f429igt6.uvoptx +++ b/demo/stm32/usb_host/stm32f429igt6/MDK-ARM/stm32f429igt6.uvoptx @@ -159,7 +159,7 @@ <Type>0</Type> <LineNumber>360</LineNumber> <EnabledFlag>1</EnabledFlag> - <Address>134233946</Address> + <Address>134238192</Address> <ByteObject>0</ByteObject> <HtxType>0</HtxType> <ManyObjects>0</ManyObjects> @@ -170,6 +170,38 @@ <ExecCommand></ExecCommand> <Expression>\\stm32f429igt6\../../../../../class/msc/usbh_msc.c\360</Expression> </Bp> + <Bp> + <Number>1</Number> + <Type>0</Type> + <LineNumber>649</LineNumber> + <EnabledFlag>1</EnabledFlag> + <Address>134239628</Address> + <ByteObject>0</ByteObject> + <HtxType>0</HtxType> + <ManyObjects>0</ManyObjects> + <SizeOfObject>0</SizeOfObject> + <BreakByAccess>0</BreakByAccess> + <BreakIfRCount>1</BreakIfRCount> + <Filename>..\..\..\..\..\core\usbh_core.c</Filename> + <ExecCommand></ExecCommand> + <Expression>\\stm32f429igt6\../../../../../core/usbh_core.c\649</Expression> + </Bp> + <Bp> + <Number>2</Number> + <Type>0</Type> + <LineNumber>493</LineNumber> + <EnabledFlag>1</EnabledFlag> + <Address>134240378</Address> + <ByteObject>0</ByteObject> + <HtxType>0</HtxType> + <ManyObjects>0</ManyObjects> + <SizeOfObject>0</SizeOfObject> + <BreakByAccess>0</BreakByAccess> + <BreakIfRCount>1</BreakIfRCount> + <Filename>..\..\..\..\..\core\usbh_core.c</Filename> + <ExecCommand></ExecCommand> + <Expression>\\stm32f429igt6\../../../../../core/usbh_core.c\493</Expression> + </Bp> </Breakpoint> <WatchWindow1> <Ww> @@ -242,7 +274,7 @@ <Group> <GroupName>Application/MDK-ARM</GroupName> - <tvExp>0</tvExp> + <tvExp>1</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <cbSel>0</cbSel> <RteFlg>0</RteFlg> diff --git a/demo/stm32/usb_host/stm32f429igt6/MDK-ARM/stm32f429igt6.uvprojx b/demo/stm32/usb_host/stm32f429igt6/MDK-ARM/stm32f429igt6.uvprojx index 03c37751..ffd30c43 100644 --- a/demo/stm32/usb_host/stm32f429igt6/MDK-ARM/stm32f429igt6.uvprojx +++ b/demo/stm32/usb_host/stm32f429igt6/MDK-ARM/stm32f429igt6.uvprojx @@ -338,7 +338,7 @@ <v6Rtti>0</v6Rtti> <VariousControls> <MiscControls></MiscControls> - <Define>USE_HAL_DRIVER,STM32F429xx,CONFIG_USB_HS_IN_FULL</Define> + <Define>USE_HAL_DRIVER,STM32F429xx,CONFIG_USB_HS_IN_FULL,CONFIG_USBHOST_HUB</Define> <Undefine></Undefine> <IncludePath>../Core/Inc;../Drivers/STM32F4xx_HAL_Driver/Inc;../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy;../Drivers/CMSIS/Device/ST/STM32F4xx/Include;../Drivers/CMSIS/Include;..\..\..\..\..\common;..\..\..\..\..\core;..\..\..\..\..\class\cdc;..\..\..\..\..\class\hub;..\..\..\..\..\class\hid;..\..\..\..\..\class\msc;..\..\..\..\..\osal;..\..\..\..\..\third_party\FreeRTOS-10.4\include;..\..\..\..\..\third_party\FreeRTOS-10.4\portable\GCC\ARM_CM4F</IncludePath> </VariousControls> |
