mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
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:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user