Skip to main content
Visitor II
July 6, 2004
Question

complie stpc atlas source code

  • July 6, 2004
  • 5 replies
  • 1111 views
Posted on July 06, 2004 at 11:02

complie stpc atlas source code

    This topic has been closed for replies.

    5 replies

    lemonAuthor
    Visitor II
    May 14, 2004
    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!

    Visitor II
    May 19, 2004
    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.
    lemonAuthor
    Visitor II
    June 29, 2004
    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!
    Visitor II
    July 2, 2004
    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.
    lemonAuthor
    Visitor II
    July 6, 2004
    Posted on July 06, 2004 at 11:02

    hi,md

    my mail:

    mailto:xnnchs@sohu.com

    or

    mailto:lemon.xia@advantech.com.cn