summaryrefslogtreecommitdiff
path: root/components/drivers/usb/cherryusb/platform/rtthread/usb_check.c
blob: b20e17d8755bc7a8a6507e39510c67df2148001a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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 RT_TIMER_THREAD_STACK_SIZE < 2048
#error "RT_TIMER_THREAD_STACK_SIZE must be >= 2048"
#endif

#endif