diff options
-rw-r--r-- | demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/cfg/lwipopts.h | 2 | ||||
-rw-r--r-- | os/various/lwip_bindings/static_lwipopts.h | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/cfg/lwipopts.h b/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/cfg/lwipopts.h index a91a271aa..e23a1f6f0 100644 --- a/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/cfg/lwipopts.h +++ b/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/cfg/lwipopts.h @@ -37,6 +37,6 @@ /* Optional, application-specific settings.*/
#define TCPIP_MBOX_SIZE MEMP_NUM_PBUF
-#define SLIPIF_THREAD_STACKSIZE 1024
+#define TCPIP_THREAD_STACKSIZE 1024
#endif /* LWIP_HDR_LWIPOPTS_H__ */
diff --git a/os/various/lwip_bindings/static_lwipopts.h b/os/various/lwip_bindings/static_lwipopts.h index b5e4b44d1..3f3e9b3da 100644 --- a/os/various/lwip_bindings/static_lwipopts.h +++ b/os/various/lwip_bindings/static_lwipopts.h @@ -29,7 +29,9 @@ #define LWIP_TIMERS 1
#define LWIP_TIMERS_CUSTOM 0
-#define LWIP_TCPIP_CORE_LOCKING 0
+#define LWIP_TCPIP_CORE_LOCKING 1
+#define LWIP_TCPIP_CORE_LOCKING_INPUT 0
+#define LWIP_COMPAT_MUTEX_ALLOWED
#define SYS_LIGHTWEIGHT_PROT 0
|