Skip to content

Commit 5e1c991

Browse files
authored
Remove duplicate configurations (#978)
* Remove duplicate configurations * Move LLMNR/NBNS back before USE_DNS
1 parent b863f68 commit 5e1c991

File tree

1 file changed

+9
-21
lines changed

1 file changed

+9
-21
lines changed

source/include/FreeRTOSIPConfigDefaults.h

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,15 @@
161161
* configMAX_PRIORITIES is a standard FreeRTOS configuration parameter defined in
162162
* FreeRTOSConfig.h, not FreeRTOSIPConfig.h. Consideration needs to be given as to
163163
* the priority assigned to the task executing the IP stack relative to the
164-
* priority assigned to tasks that use the IP stack. */
164+
* priority assigned to tasks that use the IP stack.
165+
*
166+
* Define the priority of the IP-task. It is recommended to use this
167+
* order of priorities:
168+
* Highest : network interface, handling transmission and reception.
169+
* Medium : the IP-task handling API calls from the application.
170+
* Lower : the tasks that make use of the IP-stack.
171+
* For other tasks any priority can be chosen.
172+
*/
165173
#ifndef ipconfigIP_TASK_PRIORITY
166174
#define ipconfigIP_TASK_PRIORITY ( configMAX_PRIORITIES - 2 )
167175
#endif
@@ -575,26 +583,6 @@
575583
#define ipconfigUDP_MAX_RX_PACKETS 0U
576584
#endif
577585

578-
/* Define the priority of the IP-task. It is recommended to use this
579-
* order of priorities:
580-
* Highest : network interface, handling transmission and reception.
581-
* Medium : the IP-task handling API calls from the application.
582-
* Lower : the tasks that make use of the IP-stack.
583-
* For other tasks any priority can be chosen.
584-
*/
585-
#ifndef ipconfigIP_TASK_PRIORITY
586-
#define ipconfigIP_TASK_PRIORITY ( configMAX_PRIORITIES - 2 )
587-
#endif
588-
589-
/* The size, in words (not bytes), of the stack allocated to the FreeRTOS+TCP
590-
* task. This setting is less important when the FreeRTOS Win32 simulator is used
591-
* as the Win32 simulator only stores a fixed amount of information on the task
592-
* stack. FreeRTOS includes optional stack overflow detection, see:
593-
* http://www.freertos.org/Stacks-and-stack-overflow-checking.html. */
594-
#ifndef ipconfigIP_TASK_STACK_SIZE_WORDS
595-
#define ipconfigIP_TASK_STACK_SIZE_WORDS ( configMINIMAL_STACK_SIZE * 5 )
596-
#endif
597-
598586
/* When non-zero, the module FreeRTOS_DHCP.c will be included and called.
599587
* Note that the application can override decide to ignore the outcome
600588
* of the DHCP negotiation and use a static IP-address. */

0 commit comments

Comments
 (0)