Library for ethernet
Dependents: VC0706_FTP_Client_Ethernet_MQTT
Fork of WIZnetInterface by
eth_arch.h@0:6f28332c466f, 2015-06-15 (annotated)
- Committer:
- Soohwan Kim
- Date:
- Mon Jun 15 11:18:37 2015 +0900
- Revision:
- 0:6f28332c466f
- Child:
- 3:f8c6efc8bf83
initial version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Soohwan Kim |
0:6f28332c466f | 1 | /* Copyright (C) 2012 mbed.org, MIT License |
Soohwan Kim |
0:6f28332c466f | 2 | * |
Soohwan Kim |
0:6f28332c466f | 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software |
Soohwan Kim |
0:6f28332c466f | 4 | * and associated documentation files (the "Software"), to deal in the Software without restriction, |
Soohwan Kim |
0:6f28332c466f | 5 | * including without limitation the rights to use, copy, modify, merge, publish, distribute, |
Soohwan Kim |
0:6f28332c466f | 6 | * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is |
Soohwan Kim |
0:6f28332c466f | 7 | * furnished to do so, subject to the following conditions: |
Soohwan Kim |
0:6f28332c466f | 8 | * |
Soohwan Kim |
0:6f28332c466f | 9 | * The above copyright notice and this permission notice shall be included in all copies or |
Soohwan Kim |
0:6f28332c466f | 10 | * substantial portions of the Software. |
Soohwan Kim |
0:6f28332c466f | 11 | * |
Soohwan Kim |
0:6f28332c466f | 12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING |
Soohwan Kim |
0:6f28332c466f | 13 | * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
Soohwan Kim |
0:6f28332c466f | 14 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
Soohwan Kim |
0:6f28332c466f | 15 | * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
Soohwan Kim |
0:6f28332c466f | 16 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
Soohwan Kim |
0:6f28332c466f | 17 | * |
Soohwan Kim |
0:6f28332c466f | 18 | */ |
Soohwan Kim |
0:6f28332c466f | 19 | #ifndef _ETH_ARCH_H_ |
Soohwan Kim |
0:6f28332c466f | 20 | #define _ETH_ARCH_H_ |
Soohwan Kim |
0:6f28332c466f | 21 | #pragma once |
Soohwan Kim |
0:6f28332c466f | 22 | |
Soohwan Kim |
0:6f28332c466f | 23 | #include "mbed.h" |
Soohwan Kim |
0:6f28332c466f | 24 | #include "mbed_debug.h" |
Soohwan Kim |
0:6f28332c466f | 25 | |
Soohwan Kim |
0:6f28332c466f | 26 | #define USE_W7500 // used WIZwiki_W7500 |
Soohwan Kim |
0:6f28332c466f | 27 | //#define USE_W5500 // used W5500 Ethernet Shield & WIZ550io |
Soohwan Kim |
0:6f28332c466f | 28 | |
Soohwan Kim |
0:6f28332c466f | 29 | #if defined(USE_W7500) |
Soohwan Kim |
0:6f28332c466f | 30 | #include "W7500x_toe.h" |
Soohwan Kim |
0:6f28332c466f | 31 | #define __DEF_USED_IC101AG__ //For using IC+101AG@WIZwiki-W7500 |
Soohwan Kim |
0:6f28332c466f | 32 | #endif |
Soohwan Kim |
0:6f28332c466f | 33 | |
Soohwan Kim |
0:6f28332c466f | 34 | #if defined(USE_W5500) |
Soohwan Kim |
0:6f28332c466f | 35 | #include "W5500.h" |
Soohwan Kim |
0:6f28332c466f | 36 | //#define USE_WIZ550IO_MAC // using the MAC address stored in the WIZ550io |
Soohwan Kim |
0:6f28332c466f | 37 | #endif |
Soohwan Kim |
0:6f28332c466f | 38 | |
Soohwan Kim |
0:6f28332c466f | 39 | #endif //#ifdef _ETH_ARCH_H_ |