Skip to content

Commit

Permalink
raised prio of lwIP
Browse files Browse the repository at this point in the history
  • Loading branch information
rgrr committed Jul 14, 2023
1 parent d588ade commit b987f0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/lwipopts.h
Original file line number Diff line number Diff line change
Expand Up @@ -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


//--------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b987f0c

Please sign in to comment.