Library for ethernet
Dependents: VC0706_FTP_Client_Ethernet_MQTT
Fork of WIZnetInterface by
Diff: eth_arch.h
- Revision:
- 3:f8c6efc8bf83
- Parent:
- 0:6f28332c466f
- Child:
- 7:da6fcec0f3fe
--- a/eth_arch.h Mon Jun 15 13:33:39 2015 +0900 +++ b/eth_arch.h Mon Jun 15 12:55:19 2015 +0000 @@ -16,24 +16,22 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * */ -#ifndef _ETH_ARCH_H_ -#define _ETH_ARCH_H_ + #pragma once -#include "mbed.h" -#include "mbed_debug.h" +//#define USE_W7500 // used WIZwiki_W7500 +#define USE_W5500 // used W5500 Ethernet Shield & WIZ550io + -#define USE_W7500 // used WIZwiki_W7500 -//#define USE_W5500 // used W5500 Ethernet Shield & WIZ550io +#if defined(USE_W5500) +#include "W5500.h" +//#define USE_WIZ550IO_MAC // using the MAC address stored in the WIZ550io +#endif #if defined(USE_W7500) #include "W7500x_toe.h" #define __DEF_USED_IC101AG__ //For using IC+101AG@WIZwiki-W7500 #endif -#if defined(USE_W5500) -#include "W5500.h" -//#define USE_WIZ550IO_MAC // using the MAC address stored in the WIZ550io -#endif -#endif //#ifdef _ETH_ARCH_H_ +