summaryrefslogtreecommitdiff
path: root/platform/rtthread
diff options
context:
space:
mode:
Diffstat (limited to 'platform/rtthread')
-rw-r--r--platform/rtthread/usb_check.c4
-rw-r--r--platform/rtthread/usbh_lwip.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/platform/rtthread/usb_check.c b/platform/rtthread/usb_check.c
index de0d4802..10302f4f 100644
--- a/platform/rtthread/usb_check.c
+++ b/platform/rtthread/usb_check.c
@@ -7,11 +7,11 @@
#endif
#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
#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
diff --git a/platform/rtthread/usbh_lwip.c b/platform/rtthread/usbh_lwip.c
index 074010af..43970555 100644
--- a/platform/rtthread/usbh_lwip.c
+++ b/platform/rtthread/usbh_lwip.c
@@ -44,6 +44,10 @@
#error PBUF_POOL_BUFSIZE must be larger than 1600
#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_RNDIS
// #define CONFIG_USBHOST_PLATFORM_CDC_NCM