STM32F4-Discovery: Add another missing configuration; fix names of configurations
This commit is contained in:
parent
5f992dd1a9
commit
1d881c2d35
@ -12,11 +12,16 @@ config STM32F4DISBB
|
||||
Select if you are using the STM32F4DIS-BB base board with the
|
||||
STM32F4Discovery.
|
||||
|
||||
config USBHOST_STACKSIZE
|
||||
config STM32F4DISCO_USBHOST_STACKSIZE
|
||||
int "USB host waiter stack size"
|
||||
default 1024
|
||||
depends on USBHOST
|
||||
|
||||
config STM32F4DISCO_USBHOST_PRIO
|
||||
int "USB host waiter task priority"
|
||||
default 100
|
||||
depends on USBHOST
|
||||
|
||||
config PM_BUTTONS
|
||||
bool "PM button support"
|
||||
default n
|
||||
|
@ -1696,7 +1696,7 @@ Where <subdir> is one of the following:
|
||||
To be determined
|
||||
|
||||
Board Selection ->
|
||||
CONFIG_USBHOST_STACKSIZE=2048 (bigger than it needs to be)
|
||||
CONFIG_STM32F4DISCO_USBHOST_STACKSIZE=2048 (bigger than it needs to be)
|
||||
|
||||
RTOS Features -> Work Queue Support
|
||||
CONFIG_SCHED_LPWORK=y : Low priority queue support is needed
|
||||
@ -1715,7 +1715,7 @@ Where <subdir> is one of the following:
|
||||
|
||||
STATUS:
|
||||
2015-04-30
|
||||
Just beginning to test.
|
||||
Appears to be fully functional.
|
||||
|
||||
nxlines:
|
||||
------
|
||||
|
@ -69,12 +69,12 @@
|
||||
# undef HAVE_USB
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_USBHOST_DEFPRIO
|
||||
# define CONFIG_USBHOST_DEFPRIO 50
|
||||
#ifndef CONFIG_STM32F4DISCO_USBHOST_PRIO
|
||||
# define CONFIG_STM32F4DISCO_USBHOST_PRIO 100
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_USBHOST_STACKSIZE
|
||||
# define CONFIG_USBHOST_STACKSIZE 1024
|
||||
#ifndef CONFIG_STM32F4DISCO_USBHOST_STACKSIZE
|
||||
# define CONFIG_STM32F4DISCO_USBHOST_STACKSIZE 1024
|
||||
#endif
|
||||
|
||||
/************************************************************************************
|
||||
@ -227,8 +227,8 @@ int stm32_usbhost_initialize(void)
|
||||
|
||||
uvdbg("Start usbhost_waiter\n");
|
||||
|
||||
pid = task_create("usbhost", CONFIG_USBHOST_DEFPRIO,
|
||||
CONFIG_USBHOST_STACKSIZE,
|
||||
pid = task_create("usbhost", CONFIG_STM32F4DISCO_USBHOST_PRIO,
|
||||
CONFIG_STM32F4DISCO_USBHOST_STACKSIZE,
|
||||
(main_t)usbhost_waiter, (FAR char * const *)NULL);
|
||||
return pid < 0 ? -ENOEXEC : OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user