Initialization of the lwIP stack is dependent upon the network interface and drivers used. If using the MityDSP net library with lwIP, the procedure to initialize the network interface, including lwIP, is covered in that library's documentation.
See Also: Initializing the MityDSP Network Interface