Re: Question for firmware information

Scott Henion <[email protected]>
Newsgroups gmane.comp.hardware.rabbit-semiconductor
Message-ID <[email protected]>
On 7/29/2013 3:38 PM, hongyang74 wrote:
> Hello, 
>
> I am trying to put firmware information. In DC, it has variable structure firmware_info_t to save the firmware information. Also there are some macro variables to save product name, firmware version and so on. I found them in stdBios.C. In firmware_info.lib, the note told user how to define them. However, when I put #define _FIRMWARE_NAME_ "TEST" at beginning of my main C code. It always give me an error "invalid redefine of macro '_FIRMWARE_NAME_". Anybody know what is happened? 
>
> I am using DC10.72 and bl4s200.
>
> Thank you in advanced.

Any defines that are used by the bios need to be defined in the project
settings.

The bios is compiled _before_ your program so defining anything in your
program is too late.

-- 
------------------------------------------
     Scott G. Henion, Consultant
Web site:    http://SHDesigns.org
------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.