Update some READMEs. For all implementation of the USBHOST waiter, make sure that the waiter thread stack size is larger if the USB hub feature is enabled
This commit is contained in:
parent
10652e8c9b
commit
373a8700ee
@ -75,7 +75,11 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CONFIG_USBHOST_STACKSIZE
|
#ifndef CONFIG_USBHOST_STACKSIZE
|
||||||
# define CONFIG_USBHOST_STACKSIZE 1024
|
# ifdef CONFIG_USBHOST_HUB
|
||||||
|
# define CONFIG_USBHOST_STACKSIZE 1536
|
||||||
|
# else
|
||||||
|
# define CONFIG_USBHOST_STACKSIZE 1024
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
|
@ -67,7 +67,11 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CONFIG_USBHOST_STACKSIZE
|
#ifndef CONFIG_USBHOST_STACKSIZE
|
||||||
# define CONFIG_USBHOST_STACKSIZE 1024
|
# ifdef CONFIG_USBHOST_HUB
|
||||||
|
# define CONFIG_USBHOST_STACKSIZE 1536
|
||||||
|
# else
|
||||||
|
# define CONFIG_USBHOST_STACKSIZE 1024
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
|
@ -74,7 +74,11 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CONFIG_USBHOST_STACKSIZE
|
#ifndef CONFIG_USBHOST_STACKSIZE
|
||||||
# define CONFIG_USBHOST_STACKSIZE 1024
|
# ifdef CONFIG_USBHOST_HUB
|
||||||
|
# define CONFIG_USBHOST_STACKSIZE 1536
|
||||||
|
# else
|
||||||
|
# define CONFIG_USBHOST_STACKSIZE 1024
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
|
@ -67,7 +67,11 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CONFIG_USBHOST_STACKSIZE
|
#ifndef CONFIG_USBHOST_STACKSIZE
|
||||||
# define CONFIG_USBHOST_STACKSIZE 1024
|
# ifdef CONFIG_USBHOST_HUB
|
||||||
|
# define CONFIG_USBHOST_STACKSIZE 1536
|
||||||
|
# else
|
||||||
|
# define CONFIG_USBHOST_STACKSIZE 1024
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
|
@ -988,14 +988,9 @@ Configuration Sub-Directories
|
|||||||
CONFIG_LPC1766STK_USBHOST_STACKSIZE=1536 | Was 1024
|
CONFIG_LPC1766STK_USBHOST_STACKSIZE=1536 | Was 1024
|
||||||
|
|
||||||
STATUS:
|
STATUS:
|
||||||
2015-04-26: The hub basically works. I do get crashes in the LPC16 USB host driver
|
2015-05-03: The hub basically works. The only problem that I see is
|
||||||
when removing the keyboard from the hub. It looks like that crash
|
that the code does not enumerate the hub if it is
|
||||||
occurs consistently the 4th time that the keyboard is removed. The
|
connected at the time of power up.
|
||||||
crash seems seems to be due to a corrupt addess in the callback from
|
|
||||||
the new asynchronous I/O. Should not be too hard to fix.
|
|
||||||
|
|
||||||
Also, the code does not enumerate the hub if it is connected at the
|
|
||||||
time of power up.
|
|
||||||
|
|
||||||
hidmouse:
|
hidmouse:
|
||||||
This configuration directory supports a variant of an NSH configution.
|
This configuration directory supports a variant of an NSH configution.
|
||||||
|
@ -73,7 +73,11 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CONFIG_USBHOST_STACKSIZE
|
#ifndef CONFIG_USBHOST_STACKSIZE
|
||||||
# define CONFIG_USBHOST_STACKSIZE 1024
|
# ifdef CONFIG_USBHOST_HUB
|
||||||
|
# define CONFIG_USBHOST_STACKSIZE 1536
|
||||||
|
# else
|
||||||
|
# define CONFIG_USBHOST_STACKSIZE 1024
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
|
@ -131,7 +131,11 @@
|
|||||||
# define CONFIG_USBHOST_DEFPRIO 50
|
# define CONFIG_USBHOST_DEFPRIO 50
|
||||||
# endif
|
# endif
|
||||||
# ifndef CONFIG_USBHOST_STACKSIZE
|
# ifndef CONFIG_USBHOST_STACKSIZE
|
||||||
# define CONFIG_USBHOST_STACKSIZE 1024
|
# ifdef CONFIG_USBHOST_HUB
|
||||||
|
# define CONFIG_USBHOST_STACKSIZE 1536
|
||||||
|
# else
|
||||||
|
# define CONFIG_USBHOST_STACKSIZE 1024
|
||||||
|
# endif
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -147,7 +147,11 @@
|
|||||||
# define CONFIG_USBHOST_DEFPRIO 50
|
# define CONFIG_USBHOST_DEFPRIO 50
|
||||||
# endif
|
# endif
|
||||||
# ifndef CONFIG_USBHOST_STACKSIZE
|
# ifndef CONFIG_USBHOST_STACKSIZE
|
||||||
# define CONFIG_USBHOST_STACKSIZE 1024
|
# ifdef CONFIG_USBHOST_HUB
|
||||||
|
# define CONFIG_USBHOST_STACKSIZE 1536
|
||||||
|
# else
|
||||||
|
# define CONFIG_USBHOST_STACKSIZE 1024
|
||||||
|
# endif
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -146,7 +146,11 @@
|
|||||||
# define CONFIG_USBHOST_DEFPRIO 50
|
# define CONFIG_USBHOST_DEFPRIO 50
|
||||||
# endif
|
# endif
|
||||||
# ifndef CONFIG_USBHOST_STACKSIZE
|
# ifndef CONFIG_USBHOST_STACKSIZE
|
||||||
# define CONFIG_USBHOST_STACKSIZE 1024
|
# ifdef CONFIG_USBHOST_HUB
|
||||||
|
# define CONFIG_USBHOST_STACKSIZE 1536
|
||||||
|
# else
|
||||||
|
# define CONFIG_USBHOST_STACKSIZE 1024
|
||||||
|
# endif
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1668,7 +1668,7 @@ USB High-Speed Host
|
|||||||
the nesting depth of certain USB host class logic can increase.
|
the nesting depth of certain USB host class logic can increase.
|
||||||
|
|
||||||
STATUS:
|
STATUS:
|
||||||
Hub support has not been verified on this board.
|
Hub support has not been verified on this board yet.
|
||||||
|
|
||||||
Mass Storage Device Usage
|
Mass Storage Device Usage
|
||||||
-------------------------
|
-------------------------
|
||||||
|
@ -74,7 +74,11 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CONFIG_USBHOST_STACKSIZE
|
#ifndef CONFIG_USBHOST_STACKSIZE
|
||||||
# define CONFIG_USBHOST_STACKSIZE 1024
|
# ifdef CONFIG_USBHOST_HUB
|
||||||
|
# define CONFIG_USBHOST_STACKSIZE 1536
|
||||||
|
# else
|
||||||
|
# define CONFIG_USBHOST_STACKSIZE 1024
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
|
@ -74,7 +74,11 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CONFIG_USBHOST_STACKSIZE
|
#ifndef CONFIG_USBHOST_STACKSIZE
|
||||||
# define CONFIG_USBHOST_STACKSIZE 1024
|
# ifdef CONFIG_USBHOST_HUB
|
||||||
|
# define CONFIG_USBHOST_STACKSIZE 1536
|
||||||
|
# else
|
||||||
|
# define CONFIG_USBHOST_STACKSIZE 1024
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
|
@ -74,7 +74,11 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CONFIG_USBHOST_STACKSIZE
|
#ifndef CONFIG_USBHOST_STACKSIZE
|
||||||
# define CONFIG_USBHOST_STACKSIZE 1024
|
# ifdef CONFIG_USBHOST_HUB
|
||||||
|
# define CONFIG_USBHOST_STACKSIZE 1536
|
||||||
|
# else
|
||||||
|
# define CONFIG_USBHOST_STACKSIZE 1024
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
|
@ -125,7 +125,11 @@
|
|||||||
# define CONFIG_USBHOST_DEFPRIO 50
|
# define CONFIG_USBHOST_DEFPRIO 50
|
||||||
# endif
|
# endif
|
||||||
# ifndef CONFIG_USBHOST_STACKSIZE
|
# ifndef CONFIG_USBHOST_STACKSIZE
|
||||||
# define CONFIG_USBHOST_STACKSIZE 1024
|
# ifdef CONFIG_USBHOST_HUB
|
||||||
|
# define CONFIG_USBHOST_STACKSIZE 1536
|
||||||
|
# else
|
||||||
|
# define CONFIG_USBHOST_STACKSIZE 1024
|
||||||
|
# endif
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user