Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SL-TEMP] Increasing the lwip thread priority to 32 (osPriorityAboveNormal) #312

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/lwip/silabs/lwipopts-rs911x.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include <lwip/lwip_buildconfig.h>
#endif

#include "cmsis_os2.h"
#include <stdlib.h>

#if (SL_MATTER_GN_BUILD == 0)
Expand Down Expand Up @@ -69,15 +70,15 @@

#define LWIP_SOCKET 0

#define TCPIP_THREAD_PRIO osPriorityAboveNormal

#ifdef DIC_ENABLE
#define LWIP_DNS 1
#define DNS_RAND_TXID() ((u32_t) rand())
#define TCP_MSS (4 * 1152)
#define TCPIP_THREAD_PRIO (3)
#else
#define LWIP_DNS 0
#define TCP_MSS (1152)
#define TCPIP_THREAD_PRIO (2)
#endif /* DIC_ENABLE */

#define LWIP_FREERTOS_USE_STATIC_TCPIP_TASK 1
Expand Down
5 changes: 3 additions & 2 deletions src/lwip/silabs/lwipopts-wf200.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include <lwip/lwip_buildconfig.h>
#endif

#include "cmsis_os2.h"
#include <stdlib.h>

#if (SL_MATTER_GN_BUILD == 0)
Expand Down Expand Up @@ -69,18 +70,18 @@

#define LWIP_SOCKET 0

#define TCPIP_THREAD_PRIO osPriorityAboveNormal

#ifdef DIC_ENABLE
#define LWIP_DNS 1
#define DNS_RAND_TXID() ((u32_t) rand())
#define MEM_SIZE 5632
#define MEMP_NUM_UDP_PCB (6)
#define TCP_MSS (4 * 1152)
#define TCPIP_THREAD_PRIO (3)
#else
#define LWIP_DNS 0
#define MEMP_NUM_UDP_PCB (5)
#define TCP_MSS (1152)
#define TCPIP_THREAD_PRIO (2)
#endif // DIC_ENABLE

#define LWIP_FREERTOS_USE_STATIC_TCPIP_TASK 1
Expand Down
Loading