![]() |
LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
|
Functions | |
void | LWIP_Init (void) |
lwIP dual core example initialisation function | |
void | lwip_tasks (void) |
LWIP Task function. | |
Variables | |
static struct netif | lpc_netif |
The LWIP HTTP Server example demonstrates the HTTP Server example using LWIP ethernet stack with FreeRTOS. The HTTP server can be configured to run on any of the cores (M4 or M0). The user should connect the board to the network by using the ethernet cable. The board will get an IP address by using DHCP method. The use can access the HTTP Server by using a web browser from the host PC. If the USB Mass storage is compiled in the application (on either M0/M4 core), then it will read the HTTP contents from USB Mass storage disk & provided to the user. If the USB Mass storage is not compiled in the application (on either M0/M4 core), then the default HTTP page will be displayed. In FreeRTOS/uCOS-III configurations, the net_conn API interface will be used. In stand-alone configuration, HTTPD interface will be used Please note that this example will include the code in "HTTP Server dual core example using LWIP ethernet stack" stand-alone example. Please refer to the documentation of "HTTP Server dual core example using LWIP ethernet stack" also.
Build procedure: LPCOpen 18xx/43xx build instructions
Submit bug reports for LPCOpen code here.
void LWIP_Init | ( | void | ) |
lwIP dual core example initialisation function
This function initializes the lwIP interface (ethernet etc.). In stand-alone configuration, this function will enable the tick functionality. It will initialises the LWIP stack, initialises the network interface, initialises the DHCP & HTTPD functions. In FreeRTOS/uCOS-III configurations, it does nothing as the initialization is handed by the corresponding tasks. This function is called by main() only when EXAMPLE_LWIP is defined.
Definition at line 258 of file example_lwip_httpserver.c.
void lwip_tasks | ( | void | ) |
LWIP Task function.
Definition at line 345 of file example_lwip_httpserver.c.
|
static |
Definition at line 112 of file example_lwip_httpserver.c.