mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-26 13:37:06 +08:00
18 lines
399 B
C
18 lines
399 B
C
#include "rtthread.h"
|
|
|
|
#ifdef RT_CHERRYUSB_HOST
|
|
|
|
#ifndef RT_USING_TIMER_SOFT
|
|
#error must enable RT_USING_TIMER_SOFT to support timer callback in thread
|
|
#endif
|
|
|
|
#if IDLE_THREAD_STACK_SIZE < 2048
|
|
#error "IDLE_THREAD_STACK_SIZE must be greater than or equal to 2048"
|
|
#endif
|
|
|
|
#if RT_TIMER_THREAD_STACK_SIZE < 2048
|
|
#error "RT_TIMER_THREAD_STACK_SIZE must be greater than or equal to 2048"
|
|
#endif
|
|
|
|
#endif
|