FM3 Ethernet TvvO(fm3_sample_ether)̎g

ݒ̕ύX@

vO̐ݒύXfm3_sample_ether.h̃p[^邱
ōs܂B
VA`l(UART_CH)́A0, 3, 4̂ǂꂩIł܂B
C[Tlbg̓`l0(ETH_CH0)܂̓`l1(ETH_CH1)̂ǂ炩
ł܂BTvvOł͓2`lݒł܂B
2`lݒ肷ꍇɂ́AfBXNv^Xg1gpӂ
Kv܂B
2`l ̃ftHgMACAhXAIPAhXђʐM̃zXg
IPAhXŐݒ肵܂B

ftHgĺAȉ̒ʂłB

#define	UART_CH	3
#define ETH_CH0
//#define ETH_CH1
#define	ICS1894
//#define LAN8187
//#define DEBUG_DUMP
#define MY_MAC_ADDR0	{0x11, 0x22, 0x33, 0x44, 0x55, 0x66}
#define MY_MAC_ADDR1	{0x11, 0x22, 0x33, 0x44, 0x55, 0x67}
#define	MY_IP_ADDR0	{192, 168, 1, 151}
#define	MY_IP_ADDR1	{192, 168, 1, 152}
#define	DST_IP_ADDR	{192, 168, 1, 2}

rh@

1. uVision

example\ARM\fm3_sample_ether.uvproj̃vWFNgt@CJ܂B
project -> build targetI܂B

2. IAR

example\IAR\fm4_sample_ether.ewp̃vWFNgt@CJ܂B
vWFNg->CNI܂B

3. GCC

Sourcery CodeBench Lite Edition ARMvZbTł_E[hACX
g[܂B
http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/

Makefilet@C܂B
ȉ̐ݒCXg[fBNgɍ킹ĕύX܂B
cs-make.exe܂MinGWȂǂmake.exes܂B

#   LINC: gcc library directory
#   CC = E:/apps/CodeSourcery/arm-2010q1-188/bin/arm-none-eabi-gcc
#   LD = E:/apps/CodeSourcery/arm-2010q1-188/bin/arm-none-eabi-ld
#   AS = E:/apps/CodeSourcery/arm-2010q1-188/bin/arm-none-eabi-as
#   OBJCOPY = E:/apps/CodeSourcery/arm-2010q1-188/bin/arm-none-eabi-objcopy
#   OBJDUMP = E:/apps/CodeSourcery/arm-2010q1-188/bin/arm-none-eabi-objdump
#   SIZE = E:/apps/CodeSourcery/arm-2010q1-188/bin/arm-none-eabi-size
#   NM = E:/apps/CodeSourcery/arm-2010q1-188/bin/arm-none-eabi-nm
#   REMOVE = E:/apps/CodeSourcery/arm-2010q1-188/bin/cs-rm -f


܂AEclipse CDT̃vWFNgƂēǂݍ߂܂̂ŁAEclipserh
ł܂B

ȏ
