WIZlib Library API
ver 1.0
WIZlib Library API User Menual
|
User Configuration Header File Templete. More...
#include "common/types.h"
Go to the source code of this file.
Macros | |
#define | SYSTEM_LITTLE_ENDIAN |
Define Endianness - Little Endian (Default). More... | |
#define | SYSTEM_BIG_ENDIAN |
Define Endianness - Big Endian. More... | |
#define | COMPILER_IAR_EWARM |
Indicate your complier is IAR EWARM. More... | |
#define | COMPILER_GCC_ARM |
Indicate your complier is GCC ARM. More... | |
#define | PLATFORM_W5200_EVB |
Indicate your platform is W5200 EVB. More... | |
#define | PLATFORM_W7200_EVB |
Indicate your platform is W7200 EVB. More... | |
#define | PLATFORM_W5500_EVB |
Indicate your platform is W5500 EVB. More... | |
#define | HOST_STM32F10X |
Indicate your Host Device(MCU) is STM32F10x. More... | |
#define | HOST_8051 |
Indicate your Host Device(MCU) is 8051. More... | |
#define | DEVICE_W5100 |
Indicate your Network Device(IINCHIP) is W5100. More... | |
#define | DEVICE_W5200 |
Indicate your Network Device(IINCHIP) is W5200. More... | |
#define | DEVICE_W5300 |
Indicate your Network Device(IINCHIP) is W5300. More... | |
#define | DEVICE_W5500 |
Indicate your Network Device(IINCHIP) is W5500. More... | |
#define | TOTAL_SOCK_NUM |
Total Socket number you can use. More... | |
#define | TOTAL_SOCK_MEM |
Total Socket memory you can use. More... | |
#define | USE_DHCP VAL_ENABLE |
Include DHCP Module. More... | |
#define | DHCP_AUTO |
Set DHCP as Auto (using alarm module). More... | |
#define | DHCP_ASYNC |
Use async socket function which does not be blocked. More... | |
#define | DEFAULT_MAC_ADDR "00:08:DC:11:22:33" |
Define default MAC Address. | |
#define | DEFAULT_IP_ADDR "192.168.0.100" |
Define default IP Address. | |
#define | DEFAULT_SN_MASK "255.255.255.0" |
Define default Subnet Mask. | |
#define | DEFAULT_GW_ADDR "192.168.0.1" |
Define default Gateway Address. | |
#define | DEFAULT_DNS_ADDR "168.126.63.1" |
Define default DNS Server Address. | |
#define | WIZ_LOG_LEVEL 2 |
Log level which is set at wizconfig.h. More... | |
#define | PRINT_TIME_LOG |
Define Add systick time stamp to every log print. | |
User Configuration Header File Templete.
Copy this to your source folder and modify for your project.
Definition in file wizconfig.h.
#define COMPILER_GCC_ARM |
Indicate your complier is GCC ARM.
If you are using GCC ARM, define this.
Definition at line 47 of file wizconfig.h.
#define COMPILER_IAR_EWARM |
Indicate your complier is IAR EWARM.
If you are using IAR EWARM, define this.
Definition at line 46 of file wizconfig.h.
#define DEVICE_W5100 |
Indicate your Network Device(IINCHIP) is W5100.
Normally, this is defined automatically by platform definition. but if you does not use defined platform, this definition will be needed.
Definition at line 104 of file wizconfig.h.
#define DEVICE_W5200 |
Indicate your Network Device(IINCHIP) is W5200.
Normally, this is defined automatically by platform definition. but if you does not use defined platform, this definition will be needed.
Definition at line 105 of file wizconfig.h.
#define DEVICE_W5300 |
Indicate your Network Device(IINCHIP) is W5300.
Normally, this is defined automatically by platform definition. but if you does not use defined platform, this definition will be needed.
Definition at line 106 of file wizconfig.h.
#define DEVICE_W5500 |
Indicate your Network Device(IINCHIP) is W5500.
Normally, this is defined automatically by platform definition. but if you does not use defined platform, this definition will be needed.
Definition at line 107 of file wizconfig.h.
#define DHCP_ASYNC |
Use async socket function which does not be blocked.
Definition at line 152 of file wizconfig.h.
#define DHCP_AUTO |
Set DHCP as Auto (using alarm module).
Definition at line 151 of file wizconfig.h.
#define HOST_8051 |
Indicate your Host Device(MCU) is 8051.
Normally, this is defined automatically by platform definition. but if you does not use defined platform, this definition will be needed.
Definition at line 80 of file wizconfig.h.
#define HOST_STM32F10X |
Indicate your Host Device(MCU) is STM32F10x.
Normally, this is defined automatically by platform definition. but if you does not use defined platform, this definition will be needed.
Definition at line 79 of file wizconfig.h.
#define PLATFORM_W5200_EVB |
Indicate your platform is W5200 EVB.
If you are using W5200 EVB Board, define this.
Definition at line 63 of file wizconfig.h.
#define PLATFORM_W5500_EVB |
Indicate your platform is W5500 EVB.
If you are using W5500 EVB Board, define this.
Definition at line 65 of file wizconfig.h.
#define PLATFORM_W7200_EVB |
Indicate your platform is W7200 EVB.
If you are using W7200 EVB Board, define this.
Definition at line 64 of file wizconfig.h.
#define SYSTEM_BIG_ENDIAN |
Define Endianness - Big Endian.
If you want to set to Little Endian, remove this and define SYSTEM_LITTLE_ENDIAN
Definition at line 33 of file wizconfig.h.
#define SYSTEM_LITTLE_ENDIAN |
Define Endianness - Little Endian (Default).
If you want to set to Big Endian, remove this and define SYSTEM_BIG_ENDIAN
Definition at line 32 of file wizconfig.h.
#define TOTAL_SOCK_MEM |
Total Socket memory you can use.
This is defined automatically by Network Device definition.
Definition at line 119 of file wizconfig.h.
#define TOTAL_SOCK_NUM |
Total Socket number you can use.
This is defined automatically by Network Device definition.
Definition at line 118 of file wizconfig.h.
#define USE_DHCP VAL_ENABLE |
Include DHCP Module.
If you want to use DHCP function, define this. and add library/protocol/DHCP files to your project. and finally, define DHCP_AUTO, DHCP_ASYNC properly. Ex) If you want to set Auto Async DHCP mode
Definition at line 150 of file wizconfig.h.
#define WIZ_LOG_LEVEL 2 |
Log level which is set at wizconfig.h.
default value is 2.
Definition at line 183 of file wizconfig.h.