File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 30
30
#include <lwip/lwip_buildconfig.h>
31
31
#endif
32
32
33
+ #include "cmsis_os2.h"
33
34
#include <stdlib.h>
34
35
35
36
#if (SL_MATTER_GN_BUILD == 0 )
69
70
70
71
#define LWIP_SOCKET 0
71
72
73
+ #define TCPIP_THREAD_PRIO osPriorityAboveNormal
74
+
72
75
#ifdef DIC_ENABLE
73
76
#define LWIP_DNS 1
74
77
#define DNS_RAND_TXID () ((u32_t) rand())
75
78
#define TCP_MSS (4 * 1152)
76
- #define TCPIP_THREAD_PRIO (3)
77
79
#else
78
80
#define LWIP_DNS 0
79
81
#define TCP_MSS (1152)
80
- #define TCPIP_THREAD_PRIO (2)
81
82
#endif /* DIC_ENABLE */
82
83
83
84
#define LWIP_FREERTOS_USE_STATIC_TCPIP_TASK 1
Original file line number Diff line number Diff line change 30
30
#include <lwip/lwip_buildconfig.h>
31
31
#endif
32
32
33
+ #include "cmsis_os2.h"
33
34
#include <stdlib.h>
34
35
35
36
#if (SL_MATTER_GN_BUILD == 0 )
69
70
70
71
#define LWIP_SOCKET 0
71
72
73
+ #define TCPIP_THREAD_PRIO osPriorityAboveNormal
74
+
72
75
#ifdef DIC_ENABLE
73
76
#define LWIP_DNS 1
74
77
#define DNS_RAND_TXID () ((u32_t) rand())
75
78
#define MEM_SIZE 5632
76
79
#define MEMP_NUM_UDP_PCB (6)
77
80
#define TCP_MSS (4 * 1152)
78
- #define TCPIP_THREAD_PRIO (3)
79
81
#else
80
82
#define LWIP_DNS 0
81
83
#define MEMP_NUM_UDP_PCB (5)
82
84
#define TCP_MSS (1152)
83
- #define TCPIP_THREAD_PRIO (2)
84
85
#endif // DIC_ENABLE
85
86
86
87
#define LWIP_FREERTOS_USE_STATIC_TCPIP_TASK 1
You can’t perform that action at this time.
0 commit comments