STM32F4-Discovery: Add configuration option to select the size of the stack used with the usbhost waiter. Needs to be bigger when a hub is supported

This commit is contained in:
Gregory Nutt 2015-04-30 11:26:35 -06:00
parent 4585717b7f
commit 5555e6101f
2 changed files with 8 additions and 0 deletions

View File

@ -12,6 +12,11 @@ config STM32F4DISBB
Select if you are using the STM32F4DIS-BB base board with the
STM32F4Discovery.
config USBHOST_STACKSIZE
int "USB host waiter stack size"
default 1024
depends on USBHOST
config PM_BUTTONS
bool "PM button support"
default n

View File

@ -1695,6 +1695,9 @@ Where <subdir> is one of the following:
System Type -> USB host configuration
To be determined
Board Selection ->
CONFIG_USBHOST_STACKSIZE=2048 (bigger than it needs to be)
RTOS Features -> Work Queue Support
CONFIG_SCHED_LPWORK=y : Low priority queue support is needed
CONFIG_SCHED_LPNTHREADS=1