mirror of
https://github.com/sakumisu/CherryUSB.git
synced 2025-05-09 00:21:44 +08:00
update rtt config check
This commit is contained in:
parent
8ecbd32483
commit
cd8b103a71
18
third_party/rt-thread-5.0/usb_check.c
vendored
18
third_party/rt-thread-5.0/usb_check.c
vendored
@ -23,22 +23,14 @@
|
||||
#endif
|
||||
|
||||
#ifndef LWIP_NO_RX_THREAD
|
||||
#error must enable LWIP_NO_RX_THREAD, we do not use rtthread eth thread
|
||||
#error must enable LWIP_NO_TX_THREAD, we do not use rtthread eth rx thread
|
||||
#endif
|
||||
|
||||
#ifndef LWIP_NO_TX_THREAD
|
||||
#error must enable LWIP_NO_TX_THREAD, we do not use rtthread eth thread
|
||||
#if LWIP_TCPIP_CORE_LOCKING_INPUT !=1
|
||||
#warning suggest you to set LWIP_TCPIP_CORE_LOCKING_INPUT to 1, usb handles eth input with own thread
|
||||
#endif
|
||||
|
||||
#ifndef LWIP_NO_TX_THREAD
|
||||
#error must enable LWIP_NO_TX_THREAD, we do not use rtthread eth thread
|
||||
#endif
|
||||
|
||||
#ifndef LWIP_TCPIP_CORE_LOCKING_INPUT
|
||||
#error must set LWIP_TCPIP_CORE_LOCKING_INPUT to 1, usb handle eth input with own thread
|
||||
#endif
|
||||
|
||||
#ifndef LWIP_TCPIP_CORE_LOCKING
|
||||
#if LWIP_TCPIP_CORE_LOCKING !=1
|
||||
#error must set LWIP_TCPIP_CORE_LOCKING to 1
|
||||
#endif
|
||||
|
||||
@ -48,4 +40,4 @@
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user