Fix up the incomplete Webserver project so that it integrates with the uIP stack correctly. Add simple HTTP webserver as a placeholder until FatFS can be integrated.

Begin to look into the RNDIS Host Class Driver, which seems to crash on test hardware after many packets have been received.
This commit is contained in:
Dean Camera 2010-01-21 13:45:44 +00:00
parent 41ad6bd6d7
commit 03ee87b35a
11 changed files with 251 additions and 72 deletions

View file

@ -30,11 +30,11 @@
/** \file
*
* Header file for RNDISEthernetHost.c.
* Header file for Webserver.c.
*/
#ifndef _RNDIS_HOST_H_
#define _RNDIS_HOST_H_
#ifndef _WEBSERVER_H_
#define _WEBSERVER_H_
/* Includes: */
#include <avr/io.h>
@ -54,6 +54,8 @@
#include <uip_arp.h>
#include <timer.h>
#include "Lib/WebserverApp.h"
/* Macros: */
/** LED mask for the library LED driver, to indicate that the USB interface is not ready. */
#define LEDMASK_USB_NOTREADY LEDS_LED1
@ -74,7 +76,6 @@
void SetupHardware(void);
void ProcessIncommingPacket(void);
void ManageConnections(void);
void TCPCallback(void);
void EVENT_USB_Host_HostError(const uint8_t ErrorCode);
void EVENT_USB_Host_DeviceAttached(void);