lwIP Raw HTTP basic example.
Copyright (c) 2012-2018 Microchip Technology Inc. and its subsidiaries.
#include "sysclk.h"
#include "ioport.h"
#include "stdio_serial.h"
#include "ethernet.h"
#include "httpd.h"
Macros | |
#define | STRING_EOL "\r\n" |
#define | STRING_HEADER |
Functions | |
static void | configure_console (void) |
Configure UART console. More... | |
int | main (void) |
Main program function. More... | |
#define STRING_EOL "\r\n" |
#define STRING_HEADER |
Referenced by main().
|
static |
Configure UART console.
References uart_rs232_options::baudrate, NULL, stdio_serial_init(), and sysclk_enable_peripheral_clock().
Referenced by main().
int main | ( | void | ) |
Main program function.
Configure the hardware, initialize lwIP TCP/IP stack, and start HTTP service.
References board_init(), configure_console(), ethernet_task(), httpd_init(), init_ethernet(), STRING_HEADER, and sysclk_init().