mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-10-18 07:00:30 +02:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user