summaryrefslogtreecommitdiff
path: root/platform/rtthread/usb_check.c
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2025-07-22 20:24:35 +0800
committersakumisu <[email protected]>2025-07-22 20:24:41 +0800
commitfa5a9fbcaacb418c5ff03ad72a8c6a5dcef09a1e (patch)
treebdd613928f71d93f4347cd509aa5b74895422519 /platform/rtthread/usb_check.c
parent68b28a43f30829f944eb9ba8a81c3ead4736b6f2 (diff)
update(platform/rtthread): remove align size check
Signed-off-by: sakumisu <[email protected]>
Diffstat (limited to 'platform/rtthread/usb_check.c')
-rw-r--r--platform/rtthread/usb_check.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/platform/rtthread/usb_check.c b/platform/rtthread/usb_check.c
index b37b93f1..4a5fb8c3 100644
--- a/platform/rtthread/usb_check.c
+++ b/platform/rtthread/usb_check.c
@@ -12,10 +12,9 @@
#error must enable RT_USING_TIMER_SOFT to support timer callback in thread
#endif
-#if RT_TIMER_THREAD_STACK_SIZE < 2048
-#error "RT_TIMER_THREAD_STACK_SIZE must be >= 2048"
+#if RT_TIMER_THREAD_STACK_SIZE < 1024
+#error "RT_TIMER_THREAD_STACK_SIZE must be >= 1024"
#endif
-
#endif
#if defined(ARCH_ARM_CORTEX_M7) || \
@@ -28,9 +27,6 @@
#ifdef RT_USING_CACHE
#ifndef CONFIG_USB_DCACHE_ENABLE
-#error CONFIG_USB_DCACHE_ENABLE must be enabled
-#endif
-#if RT_ALIGN_SIZE != 32 && RT_ALIGN_SIZE != 64
-#error RT_ALIGN_SIZE must be cacheline to 32 or 64
+#warning CONFIG_USB_DCACHE_ENABLE must be enabled if you do not config nocache ram
#endif
#endif