AppConfigHeaders: Update several additional user projects to use configuration header files, rather than makefile defines. Remove compile time warnings for projects lacking device serial support, remove incomplete StandaloneProgrammer project.
This commit is contained in:
parent
33d9a75b03
commit
802910d49f
63 changed files with 420 additions and 4654 deletions
|
@ -28,8 +28,6 @@
|
|||
this software.
|
||||
*/
|
||||
|
||||
#if defined(ENABLE_DHCP_CLIENT) || defined(__DOXYGEN__)
|
||||
|
||||
/** \file
|
||||
*
|
||||
* DHCP Client Application. When connected to the uIP stack, this will retrieve IP configuration settings from the
|
||||
|
@ -39,6 +37,8 @@
|
|||
#define INCLUDE_FROM_DHCPCLIENTAPP_C
|
||||
#include "DHCPClientApp.h"
|
||||
|
||||
#if defined(ENABLE_DHCP_CLIENT) || defined(__DOXYGEN__)
|
||||
|
||||
/** Initialization function for the DHCP client. */
|
||||
void DHCPClientApp_Init(void)
|
||||
{
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
|
||||
#include <uip.h>
|
||||
|
||||
#include "Config/AppConfig.h"
|
||||
#include "../Webserver.h"
|
||||
#include "DHCPCommon.h"
|
||||
|
||||
|
|
|
@ -28,8 +28,6 @@
|
|||
this software.
|
||||
*/
|
||||
|
||||
#if defined(ENABLE_DHCP_CLIENT) || defined(ENABLE_DHCP_SERVER) || defined(__DOXYGEN__)
|
||||
|
||||
/** \file
|
||||
*
|
||||
* Common DHCP routines to manage DHCP packet data.
|
||||
|
@ -37,6 +35,8 @@
|
|||
|
||||
#include "DHCPCommon.h"
|
||||
|
||||
#if defined(ENABLE_DHCP_CLIENT) || defined(ENABLE_DHCP_SERVER) || defined(__DOXYGEN__)
|
||||
|
||||
/** Sets the given DHCP option in the DHCP packet's option list. This automatically moves the
|
||||
* end of options terminator past the new option in the options list.
|
||||
*
|
||||
|
|
|
@ -41,6 +41,8 @@
|
|||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "Config/AppConfig.h"
|
||||
|
||||
#include <uip.h>
|
||||
|
||||
/* Macros: */
|
||||
|
|
|
@ -28,8 +28,6 @@
|
|||
this software.
|
||||
*/
|
||||
|
||||
#if defined(ENABLE_DHCP_SERVER) || defined(__DOXYGEN__)
|
||||
|
||||
/** \file
|
||||
*
|
||||
* DHCP Server Application. When connected to the uIP stack, this will send IP configuration settings to a
|
||||
|
@ -39,6 +37,8 @@
|
|||
#define INCLUDE_FROM_DHCPSERVERAPP_C
|
||||
#include "DHCPServerApp.h"
|
||||
|
||||
#if defined(ENABLE_DHCP_SERVER) || defined(__DOXYGEN__)
|
||||
|
||||
struct uip_conn* BroadcastConnection;
|
||||
|
||||
uint8_t LeasedIPs[255 / 8];
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
|
||||
#include <uip.h>
|
||||
|
||||
#include "Config/AppConfig.h"
|
||||
#include "../Webserver.h"
|
||||
#include "DHCPCommon.h"
|
||||
|
||||
|
|
|
@ -41,6 +41,8 @@
|
|||
#include <string.h>
|
||||
|
||||
#include <LUFA/Version.h>
|
||||
|
||||
#include "Config/AppConfig.h"
|
||||
|
||||
#include <uip.h>
|
||||
#include <ff.h>
|
||||
|
|
|
@ -28,8 +28,6 @@
|
|||
this software.
|
||||
*/
|
||||
|
||||
#if defined(ENABLE_TELNET_SERVER) || defined(__DOXYGEN__)
|
||||
|
||||
/** \file
|
||||
*
|
||||
* TELNET Webserver Application. When connected to the uIP stack,
|
||||
|
@ -39,6 +37,8 @@
|
|||
#define INCLUDE_FROM_TELNETSERVERAPP_C
|
||||
#include "TELNETServerApp.h"
|
||||
|
||||
#if defined(ENABLE_TELNET_SERVER) || defined(__DOXYGEN__)
|
||||
|
||||
/** Welcome message to send to a TELNET client when a connection is first made. */
|
||||
const char PROGMEM WelcomeHeader[] = "********************************************\r\n"
|
||||
"* LUFA uIP Webserver (TELNET) *\r\n"
|
||||
|
|
|
@ -43,6 +43,8 @@
|
|||
|
||||
#include <uip.h>
|
||||
|
||||
#include "Config/AppConfig.h"
|
||||
|
||||
/* Macros: */
|
||||
/** TCP listen port for incoming TELNET traffic. */
|
||||
#define TELNET_SERVER_PORT 23
|
||||
|
|
|
@ -62,6 +62,8 @@
|
|||
#ifndef __UIPOPT_H__
|
||||
#define __UIPOPT_H__
|
||||
|
||||
#include "Config/AppConfig.h"
|
||||
|
||||
#ifndef UIP_LITTLE_ENDIAN
|
||||
#define UIP_LITTLE_ENDIAN 3412
|
||||
#endif /* UIP_LITTLE_ENDIAN */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue