update(platform/usbh_lwip): check lwip min stack size
This commit is contained in:
@@ -31,6 +31,10 @@
|
|||||||
#error PBUF_POOL_BUFSIZE must be larger than 1600
|
#error PBUF_POOL_BUFSIZE must be larger than 1600
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if TCPIP_THREAD_STACKSIZE < 1024
|
||||||
|
#error "TCPIP_THREAD_STACKSIZE must be >= 1024"
|
||||||
|
#endif
|
||||||
|
|
||||||
// #define CONFIG_USBHOST_PLATFORM_CDC_ECM
|
// #define CONFIG_USBHOST_PLATFORM_CDC_ECM
|
||||||
// #define CONFIG_USBHOST_PLATFORM_CDC_RNDIS
|
// #define CONFIG_USBHOST_PLATFORM_CDC_RNDIS
|
||||||
// #define CONFIG_USBHOST_PLATFORM_CDC_NCM
|
// #define CONFIG_USBHOST_PLATFORM_CDC_NCM
|
||||||
|
|||||||
@@ -7,11 +7,11 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if IDLE_THREAD_STACK_SIZE < 2048
|
#if IDLE_THREAD_STACK_SIZE < 2048
|
||||||
#error "IDLE_THREAD_STACK_SIZE must be greater than or equal to 2048"
|
#error "IDLE_THREAD_STACK_SIZE must be >= 2048"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if RT_TIMER_THREAD_STACK_SIZE < 2048
|
#if RT_TIMER_THREAD_STACK_SIZE < 2048
|
||||||
#error "RT_TIMER_THREAD_STACK_SIZE must be greater than or equal to 2048"
|
#error "RT_TIMER_THREAD_STACK_SIZE must be >= 2048"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -44,6 +44,10 @@
|
|||||||
#error PBUF_POOL_BUFSIZE must be larger than 1600
|
#error PBUF_POOL_BUFSIZE must be larger than 1600
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if RT_LWIP_TCPTHREAD_STACKSIZE < 2048
|
||||||
|
#error "RT_LWIP_TCPTHREAD_STACKSIZE must be >= 2048"
|
||||||
|
#endif
|
||||||
|
|
||||||
// #define CONFIG_USBHOST_PLATFORM_CDC_ECM
|
// #define CONFIG_USBHOST_PLATFORM_CDC_ECM
|
||||||
// #define CONFIG_USBHOST_PLATFORM_CDC_RNDIS
|
// #define CONFIG_USBHOST_PLATFORM_CDC_RNDIS
|
||||||
// #define CONFIG_USBHOST_PLATFORM_CDC_NCM
|
// #define CONFIG_USBHOST_PLATFORM_CDC_NCM
|
||||||
|
|||||||
Reference in New Issue
Block a user