diff options
| author | sakumisu <[email protected]> | 2024-05-08 19:28:20 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2024-05-08 19:28:20 +0800 |
| commit | cd8b103a71101b18b4e0a3e3e33cd9943fc29e29 (patch) | |
| tree | 6e230c854ea7c64be8e33ebd2ef9500e79350f76 | |
| parent | 8ecbd3248336e6bf3c3dbc212beca7d755a88907 (diff) | |
update rtt config check
| -rw-r--r-- | third_party/rt-thread-5.0/usb_check.c | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/third_party/rt-thread-5.0/usb_check.c b/third_party/rt-thread-5.0/usb_check.c index 247c0ad2..89ce3e97 100644 --- a/third_party/rt-thread-5.0/usb_check.c +++ b/third_party/rt-thread-5.0/usb_check.c @@ -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
\ No newline at end of file +#endif |
