cancel
Showing results for 
Search instead for 
Did you mean: 

complie stpc atlas source code

lemon
Associate II
Posted on July 06, 2004 at 11:02

complie stpc atlas source code

5 REPLIES 5
lemon
Associate II
Posted on May 14, 2004 at 04:28

help!

when i complie stpc source code,it showes error

because i don't define stpc_board and stpc_***=1

but i don't know where and how to define it?

who know it? thanks!

md1
Associate II
Posted on May 19, 2004 at 06:14

Hi Lemon,

If you look in the Makefile, you will see that the defines are done for you. And if you just run NMAKE, all the platform ROM's will be built:

This is the line for the Atlas:

# STPC Atlas / evaluation board

$(ROMPATH)\ldr21.rom: $(SOURCES) boards\bd210.inc

$(BUILD) /DSTPC_ATLAS=1 /DSTPC_BOARD=BD210 loader.asm

$(CLEAN)

Marty.
lemon
Associate II
Posted on June 29, 2004 at 04:25

hi,md

i have seen that makefile,but it because of my complier,

i can't complie,

but when i use the pwb.exe under masm611_ bin direct

i move ''ORG 10000h-LOADER_SIZE ''after ''FileStart:''

use ml /AT /Fe *.rom /DSTPC_ATLAS=1 /DSTPC_BOARD=1 *.ASM

it will generate a *.rom

but will put out a warning message'' _text segment exceed 64k-36''

which complier do you use?

do you know chinese?

my msn:

mailto:xianiannian@hotmail.com

can it contact with you?

tks!
md1
Associate II
Posted on July 02, 2004 at 08:55

Hi Lemon,

It looks like you have the new version of the linker, which is 32-bit only. If you send me an email, I will send you the version which supports /tiny (16-bit).

Regards,

Martin.
lemon
Associate II
Posted on July 06, 2004 at 11:02

hi,md

my mail:

mailto:xnnchs@sohu.com

or

mailto:lemon.xia@advantech.com.cn