AppConfigHeaders: Move out the last of the demo/app configurations into new AppConfig.h header files.

This commit is contained in:
Dean Camera 2012-05-13 21:01:23 +00:00
parent ae6a514929
commit e9e6730d49
57 changed files with 664 additions and 162 deletions

View file

@ -29,21 +29,26 @@
*/
/** \file
* \brief Network Configuration Header File
* \brief Application Configuration Header File
*
* This header file is used to configure various portions of the
* network stack used by the application.
* This is a header file which is be used to configure some of
* the application's compile time options, as an alternative to
* specifying the compile time constants supplied through a
* makefile or build system.
*
* For information on what each token does, refer to the LUFA
* manual section "Summary of Compile Tokens".
* For information on what each token does, refer to the
* \ref Sec_Options section of the application documentation.
*/
#ifndef _NETWORK_CONFIG_H_
#define _NETWORK_CONFIG_H_
#ifndef _APP_CONFIG_H_
#define _APP_CONFIG_H_
#define CLIENT_IP_ADDRESS { 10, 0, 0, 1}
#define SERVER_IP_ADDRESS { 10, 0, 0, 2}
#define ADAPTER_MAC_ADDRESS {0x02, 0x00, 0x02, 0x00, 0x02, 0x00}
#define SERVER_MAC_ADDRESS {0x00, 0x01, 0x00, 0x01, 0x00, 0x01}
#define NO_DECODE_ETHERNET
#define NO_DECODE_ARP
#define NO_DECODE_IP