...
\Micrium\Software\uC-TCPIP
\Micrium\Software\uC-TCPIP\Dev\WiFi\<device_name>
\Micrium\Software\uC-TCPIP\Dev\WiFi\Manager\Generic
Modify the Interface Device Configuration
Inside the net_dev_cfg.c
file, there are different device configuration templates.
...
As previously mentionned, the µC/TCP-IP static configurations are located in the net_cfg.h
file. For this getting started guide, the template file without modification should be enough to get you started. Depending on your Interface device configuration, it is possible that you would need to ajust the µC/TCP-IP queues' configurations as listed in Listing - µC/TCP-IP Static Configuration Modifications. Refer to section Static Stack Configuration for more details on the TCP-IP queues's configurations.
Tasks Priority
The net_cfg.c
file includes the three network task configurations. You will need to defined the priority of each of those tasks. The priorities will depend on the other tasks already present in your applicaiton. Refer to section Network Tasks Configuration for all the details on configuring the network tasks and their priority.
...
Since the µC/TCP-IP module was added to the example project, the following include must be added to the app.c file :
#include <KAL/kal.h>
#include <Source/net.h>
#include <net_dev_????.h>
#include <net_wifi_mgr.h>
#include <net_dev_cfg.h>
#include <net_bsp.h>
Adding µC/TCP-IP application function
Before running the example application, you will need to add the new funtion, AppInit_TCPIP()
, in your app.c file to initialize and setup the µC/TCP-IP stack. Section Tasks and Objects Initialization gives an example of the main application task inside which the AppInit_TCPIP()
function will be called. Section WiFi Example Application gives an AppInit_TCPIP()
example for a WiFi interface.
...