update(platform/rtthread): remove align size check
Signed-off-by: sakumisu <1203593632@qq.com>
This commit is contained in:
@@ -12,10 +12,9 @@
|
|||||||
#error must enable RT_USING_TIMER_SOFT to support timer callback in thread
|
#error must enable RT_USING_TIMER_SOFT to support timer callback in thread
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if RT_TIMER_THREAD_STACK_SIZE < 2048
|
#if RT_TIMER_THREAD_STACK_SIZE < 1024
|
||||||
#error "RT_TIMER_THREAD_STACK_SIZE must be >= 2048"
|
#error "RT_TIMER_THREAD_STACK_SIZE must be >= 1024"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(ARCH_ARM_CORTEX_M7) || \
|
#if defined(ARCH_ARM_CORTEX_M7) || \
|
||||||
@@ -28,9 +27,6 @@
|
|||||||
|
|
||||||
#ifdef RT_USING_CACHE
|
#ifdef RT_USING_CACHE
|
||||||
#ifndef CONFIG_USB_DCACHE_ENABLE
|
#ifndef CONFIG_USB_DCACHE_ENABLE
|
||||||
#error CONFIG_USB_DCACHE_ENABLE must be enabled
|
#warning CONFIG_USB_DCACHE_ENABLE must be enabled if you do not config nocache ram
|
||||||
#endif
|
|
||||||
#if RT_ALIGN_SIZE != 32 && RT_ALIGN_SIZE != 64
|
|
||||||
#error RT_ALIGN_SIZE must be cacheline to 32 or 64
|
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user