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 20b818ef1a
commit fc3d30f0ba
2 changed files with 8 additions and 0 deletions
+5
View File
@@ -12,6 +12,11 @@ config STM32F4DISBB
Select if you are using the STM32F4DIS-BB base board with the Select if you are using the STM32F4DIS-BB base board with the
STM32F4Discovery. STM32F4Discovery.
config USBHOST_STACKSIZE
int "USB host waiter stack size"
default 1024
depends on USBHOST
config PM_BUTTONS config PM_BUTTONS
bool "PM button support" bool "PM button support"
default n default n
+3
View File
@@ -1695,6 +1695,9 @@ Where <subdir> is one of the following:
System Type -> USB host configuration System Type -> USB host configuration
To be determined To be determined
Board Selection ->
CONFIG_USBHOST_STACKSIZE=2048 (bigger than it needs to be)
RTOS Features -> Work Queue Support RTOS Features -> Work Queue Support
CONFIG_SCHED_LPWORK=y : Low priority queue support is needed CONFIG_SCHED_LPWORK=y : Low priority queue support is needed
CONFIG_SCHED_LPNTHREADS=1 CONFIG_SCHED_LPNTHREADS=1