AppConfigHeaders: Switch low level Device mode demos to use LUFAConfig.h configuration header files.
This commit is contained in:
parent
64d00efd91
commit
13085a3351
42 changed files with 1477 additions and 140 deletions
55
Demos/Device/LowLevel/RNDISEthernet/Config/NetworkConfig.h
Normal file
55
Demos/Device/LowLevel/RNDISEthernet/Config/NetworkConfig.h
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue