aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel/RNDISEthernet/Config
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-05-13 21:01:23 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-05-13 21:01:23 +0000
commite9e6730d4999bea6e0eaefc2fce062ef090388b8 (patch)
tree5daf1ada1335d2781e144548b55d8253adff0c05 /Demos/Device/LowLevel/RNDISEthernet/Config
parentae6a51492948d621907d3e62c03c2854e6fcc19c (diff)
downloadlufa-e9e6730d4999bea6e0eaefc2fce062ef090388b8.tar.gz
lufa-e9e6730d4999bea6e0eaefc2fce062ef090388b8.tar.bz2
lufa-e9e6730d4999bea6e0eaefc2fce062ef090388b8.zip
AppConfigHeaders: Move out the last of the demo/app configurations into new AppConfig.h header files.
Diffstat (limited to 'Demos/Device/LowLevel/RNDISEthernet/Config')
-rw-r--r--Demos/Device/LowLevel/RNDISEthernet/Config/AppConfig.h (renamed from Demos/Device/LowLevel/RNDISEthernet/Config/NetworkConfig.h)19
1 files changed, 12 insertions, 7 deletions
diff --git a/Demos/Device/LowLevel/RNDISEthernet/Config/NetworkConfig.h b/Demos/Device/LowLevel/RNDISEthernet/Config/AppConfig.h
index e6ac093ad..3b1ca5366 100644
--- a/Demos/Device/LowLevel/RNDISEthernet/Config/NetworkConfig.h
+++ b/Demos/Device/LowLevel/RNDISEthernet/Config/AppConfig.h
@@ -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