This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push: new 8c59326879 boards/arm/stm32h7: Fix too small usbhost stack size 8c59326879 is described below commit 8c593268792b80dafa3236389ab9be4cfc3038d9 Author: keever50 <kevinwit1...@gmail.com> AuthorDate: Mon Apr 28 19:31:25 2025 +0200 boards/arm/stm32h7: Fix too small usbhost stack size Changed usbhost stack sizes to 2048 for affected STM32H7 boards. This was previously causing stack overflows when usb is inserted. Signed-off-by: keever50 <kevinwit1...@gmail.com> --- boards/arm/stm32h7/linum-stm32h753bi/src/stm32_usb.c | 2 +- boards/arm/stm32h7/nucleo-h743zi/src/stm32_usb.c | 2 +- boards/arm/stm32h7/openh743i/src/stm32_usb.c | 2 +- boards/arm/stm32h7/stm32h747i-disco/src/stm32_usb.c | 2 +- boards/arm/stm32h7/weact-stm32h743/src/stm32_usb.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/boards/arm/stm32h7/linum-stm32h753bi/src/stm32_usb.c b/boards/arm/stm32h7/linum-stm32h753bi/src/stm32_usb.c index 293ad004ca..3b82375e1a 100644 --- a/boards/arm/stm32h7/linum-stm32h753bi/src/stm32_usb.c +++ b/boards/arm/stm32h7/linum-stm32h753bi/src/stm32_usb.c @@ -63,7 +63,7 @@ #endif #ifndef CONFIG_LINUM_STM32H753BI_USBHOST_STACKSIZE -# define CONFIG_LINUM_STM32H753BI_USBHOST_STACKSIZE 1024 +# define CONFIG_LINUM_STM32H753BI_USBHOST_STACKSIZE 2048 #endif /**************************************************************************** diff --git a/boards/arm/stm32h7/nucleo-h743zi/src/stm32_usb.c b/boards/arm/stm32h7/nucleo-h743zi/src/stm32_usb.c index 71e50cb4fc..61761af590 100644 --- a/boards/arm/stm32h7/nucleo-h743zi/src/stm32_usb.c +++ b/boards/arm/stm32h7/nucleo-h743zi/src/stm32_usb.c @@ -63,7 +63,7 @@ #endif #ifndef CONFIG_NUCLEOH743ZI_USBHOST_STACKSIZE -# define CONFIG_NUCLEOH743ZI_USBHOST_STACKSIZE 1024 +# define CONFIG_NUCLEOH743ZI_USBHOST_STACKSIZE 2048 #endif /**************************************************************************** diff --git a/boards/arm/stm32h7/openh743i/src/stm32_usb.c b/boards/arm/stm32h7/openh743i/src/stm32_usb.c index 0661a5d4b2..f8f2093a81 100644 --- a/boards/arm/stm32h7/openh743i/src/stm32_usb.c +++ b/boards/arm/stm32h7/openh743i/src/stm32_usb.c @@ -51,7 +51,7 @@ #endif #define USBHOST_PRIO (100) -#define USBHOST_STACKSIZE (1024) +#define USBHOST_STACKSIZE (2048) /**************************************************************************** * Private Data diff --git a/boards/arm/stm32h7/stm32h747i-disco/src/stm32_usb.c b/boards/arm/stm32h7/stm32h747i-disco/src/stm32_usb.c index 55045c4621..d681182c08 100644 --- a/boards/arm/stm32h7/stm32h747i-disco/src/stm32_usb.c +++ b/boards/arm/stm32h7/stm32h747i-disco/src/stm32_usb.c @@ -63,7 +63,7 @@ #endif #ifndef CONFIG_STM32H747XI_DISCO_USBHOST_STACKSIZE -# define CONFIG_STM32H747XI_DISCO_USBHOST_STACKSIZE 1024 +# define CONFIG_STM32H747XI_DISCO_USBHOST_STACKSIZE 2048 #endif /**************************************************************************** diff --git a/boards/arm/stm32h7/weact-stm32h743/src/stm32_usb.c b/boards/arm/stm32h7/weact-stm32h743/src/stm32_usb.c index bd4c6af678..f596d74daa 100644 --- a/boards/arm/stm32h7/weact-stm32h743/src/stm32_usb.c +++ b/boards/arm/stm32h7/weact-stm32h743/src/stm32_usb.c @@ -63,7 +63,7 @@ #endif #ifndef CONFIG_WEACT_STM32H743_USBHOST_STACKSIZE -# define CONFIG_WEACT_STM32H743_USBHOST_STACKSIZE 1024 +# define CONFIG_WEACT_STM32H743_USBHOST_STACKSIZE 2048 #endif /****************************************************************************