diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-05-13 17:17:45 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-05-13 17:17:45 +0000 |
commit | 9a373c409435796165b2f315b7e3d6fa303d5e4a (patch) | |
tree | 245134c12e29754981f34e0a1f9243551e785963 /Demos/Device/ClassDriver/RNDISEthernet/Config/NetworkConfig.h | |
parent | 7f4462267aeb1f40ad6a9d582168d1b07e53d7f2 (diff) | |
download | lufa-9a373c409435796165b2f315b7e3d6fa303d5e4a.tar.gz lufa-9a373c409435796165b2f315b7e3d6fa303d5e4a.tar.bz2 lufa-9a373c409435796165b2f315b7e3d6fa303d5e4a.zip |
AppConfigHeaders: Switch class driver Device mode demos to use LUFAConfig.h configuration header files.
Diffstat (limited to 'Demos/Device/ClassDriver/RNDISEthernet/Config/NetworkConfig.h')
-rw-r--r-- | Demos/Device/ClassDriver/RNDISEthernet/Config/NetworkConfig.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/Demos/Device/ClassDriver/RNDISEthernet/Config/NetworkConfig.h b/Demos/Device/ClassDriver/RNDISEthernet/Config/NetworkConfig.h new file mode 100644 index 000000000..e6ac093ad --- /dev/null +++ b/Demos/Device/ClassDriver/RNDISEthernet/Config/NetworkConfig.h @@ -0,0 +1,55 @@ +/* + LUFA Library + Copyright (C) Dean Camera, 2012. + + dean [at] fourwalledcubicle [dot] com + www.lufa-lib.org +*/ + +/* + Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com) + + Permission to use, copy, modify, distribute, and sell this + software and its documentation for any purpose is hereby granted + without fee, provided that the above copyright notice appear in + all copies and that both that the copyright notice and this + permission notice and warranty disclaimer appear in supporting + documentation, and that the name of the author not be used in + advertising or publicity pertaining to distribution of the + software without specific, written prior permission. + + The author disclaim all warranties with regard to this + software, including all implied warranties of merchantability + and fitness. In no event shall the author be liable for any + special, indirect or consequential damages or any damages + whatsoever resulting from loss of use, data or profits, whether + in an action of contract, negligence or other tortious action, + arising out of or in connection with the use or performance of + this software. +*/ + +/** \file + * \brief Network Configuration Header File + * + * This header file is used to configure various portions of the + * network stack used by the application. + * + * For information on what each token does, refer to the LUFA + * manual section "Summary of Compile Tokens". + */ + +#ifndef _NETWORK_CONFIG_H_ +#define _NETWORK_CONFIG_H_ + + #define CLIENT_IP_ADDRESS { 10, 0, 0, 1} + #define SERVER_IP_ADDRESS { 10, 0, 0, 2} + + #define NO_DECODE_ETHERNET + #define NO_DECODE_ARP + #define NO_DECODE_IP + #define NO_DECODE_ICMP + #define NO_DECODE_TCP + #define NO_DECODE_UDP + #define NO_DECODE_DHCP + +#endif |