Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

\Micrium\Software\EvalBoards\<manufactuer>\<boardname>\BSP\TCPIP

...

net_cfg.c is a configuration file including the NET_TASK_CFG objects used to configured the µC/TCP-IP internal tasks. The µC/TCP-IP stack has three internal tasks : the Receive task, the Transmit De-allocation task and the Timer task. Each task as its own NET_TASK_CFG  object defining the task priority, the task's stack size and the pointer to start of task stack. Refer to  section section Network Tasks Configuration for more details on the µC/TCP-IP tasks configuration.

net_cfg.h is a configuration file used to setup µC/TCP-IP stack static parameters such as the number of available sockets, TCP connections and network timers, the ARP and NDP parameters, the number of configurable interface and so on. Refer to section Static Stack Configuration for more details on all the configurations inside net_cfg.h.

net_dev_cfg.c and net_dev_cfg.h are configuration files used to set the wired or wireless device interface parameters such as the number and size of network buffers available for transmission and reception and the base address of the device's registers. They also include the PHY parameters such as the PHY bus mode (RMII or MII) in the case of a wired Ethernet device. 

Since the device configuration is different depending if your interface is wired or wireless, the details on the device configuration modifications will be shown in the corresponding sub-sections. 

...

The µC/TCP-IP stack uses additional heap memory space. Therefore, it is possible that your example application will require more allocation of heap memory. If ti is the case, you can increase the value of the #define LIB#define LIB_MEM_CFG_HEAP_SIZE inside the lib_cfg.h file of your example project. You can refer to section LIB Memory Heap Configuration for more details on the heap usage of the µC/TCP-IP stack.