From b987f0c20cdc266c229c946798e4e834e566607d Mon Sep 17 00:00:00 2001 From: Hardy Griech Date: Fri, 14 Jul 2023 18:24:21 +0200 Subject: [PATCH] raised prio of lwIP --- include/lwipopts.h | 2 +- src/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/lwipopts.h b/include/lwipopts.h index aee081c8d..9e306efc0 100755 --- a/include/lwipopts.h +++ b/include/lwipopts.h @@ -85,7 +85,7 @@ // for freertos mode #define TCPIP_MBOX_SIZE 64 #define TCPIP_THREAD_STACKSIZE 8192 -#define TCPIP_THREAD_PRIO 11 +#define TCPIP_THREAD_PRIO 27 //-------------------------------------- diff --git a/src/main.c b/src/main.c index 64ff3bf34..6cd27a4ec 100644 --- a/src/main.c +++ b/src/main.c @@ -118,9 +118,9 @@ static uint8_t RxDataBuffer[_DAP_PACKET_COUNT_OPENOCD * CFG_TUD_VENDOR_RX_BUFSIZ // prios are critical and determine throughput -// there is one more task prio in lwipopts.h #define LED_TASK_PRIO (tskIDLE_PRIORITY + 30) // simple task which may interrupt everything else for periodic blinking #define TUD_TASK_PRIO (tskIDLE_PRIORITY + 28) // high prio for TinyUSB +//#define TCPIP_THREAD_PRIO (27) // defined in lwipopts.h #define CDC_DEBUG_TASK_PRIO (tskIDLE_PRIORITY + 26) // probe debugging output (CDC) #define PRINT_STATUS_TASK_PRIO (tskIDLE_PRIORITY + 24) // high prio to get status output transferred in (almost) any case #define SIGROK_TASK_PRIO (tskIDLE_PRIORITY + 9) // Sigrok digital/analog signals (does nothing at the moment)