mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 20:44:39 +08:00
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 <kevinwit1999@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_NUCLEOH743ZI_USBHOST_STACKSIZE
|
||||
# define CONFIG_NUCLEOH743ZI_USBHOST_STACKSIZE 1024
|
||||
# define CONFIG_NUCLEOH743ZI_USBHOST_STACKSIZE 2048
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
#endif
|
||||
|
||||
#define USBHOST_PRIO (100)
|
||||
#define USBHOST_STACKSIZE (1024)
|
||||
#define USBHOST_STACKSIZE (2048)
|
||||
|
||||
/****************************************************************************
|
||||
* Private Data
|
||||
|
||||
@@ -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
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
@@ -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
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user