Macros in BIB files

From: Dale Ziebarth (dziebarth_at_hotmail.com)
Date: 07/30/04


Date: Fri, 30 Jul 2004 10:59:30 -0500

Is there any way to have a macro fill in both the start address of a memory
block as well as the ROMSTART configuration option so that if I change it I
only have to remember to do it in one place? Something like this:

(Environment Variable, maybe in SOURCES file?)
BOOT_ADDRESS=0x80000000
BOOT_LENGTH=0x00030000

(in BIB file)
MEMORY
    DBOOT $(BOOT_ADDRESS) $(BOOT_LENGTH) RAMIMAGE

CONFIG
    ROMSTART=$(BOOT_ADDRESS)
    ROMOFFSET=00000000
    ROMSIZE=$(BOOT_LENGTH)

Thanks for the help.



Relevant Pages

  • Re: Macros in BIB files
    ... > Is there any way to have a macro fill in both the start address of a ... > block as well as the ROMSTART configuration option so that if I change it ... > (Environment Variable, maybe in SOURCES file?) ... > MEMORY ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Macros in BIB files
    ... in PB help for .bib variable syntax. ... > block as well as the ROMSTART configuration option so that if I change it ... > (Environment Variable, maybe in SOURCES file?) ... > MEMORY ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Macros in BIB files
    ... rights. ... >> Is there any way to have a macro fill in both the start address of a ... >> block as well as the ROMSTART configuration option so that if I change ... >> MEMORY ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Macros in BIB files
    ... file (and of course putting the corresponding macro "$(BOOT_ADDRESS)" in the ... BIB file) didn't work (got about 2000 ".NBxxx" files output from the ... >> block as well as the ROMSTART configuration option so that if I change ... >> MEMORY ...
    (microsoft.public.windowsce.platbuilder)