Re: Output file name / location? by Dean
Dean
Thu Dec 29 15:06:59 CST 2005
The emulator display driver is included with the emulator platform.bib file.
If you look at this file (Emulator\Files\platform.bib) you'll see the
ddi_emul display driver being included as ddi.dll.
The display driver is being built as ddi_emul.dll, because that's how the
sources file for that driver is configured. The bib file renames it, so
that when it is included in the image it is actually called ddi.dll.
Stuff in the Platform\xxx directories is BSP specific code, while stuff in
Public\xxx is common code. BSP code can be changed as needed for a
particular BSP, while the common code should never be touched (it's shared
by all projects). It is often the case that there is something in the
common code that is *almost* what you need. Instead of modifying it there,
you just clone (copy, basically) it into your BSP and make whatever
modifications you need.
The actual target names can be anything, they are defined in the sources
file. When you create a new project via the IDE, it's got to use something
as the name, so it defaults to the name of the project. You could always
edit the files and change them to something else if you like.
--
Dean Ramsier - eMVP
BSQUARE Corporation
"Safiiru no Baka" <wtfxxx@gmail.com> wrote in message
news:1135886652.686397.199080@z14g2000cwz.googlegroups.com...
> I'm trying to figure out how PB projects choose where the output files
> go and are named. For example if I create my own project named TEST it
> outputs as TEST.exe.
>
> Fine... but I'm using the Emulator and it uses ddi.dll as its display
> driver. The source code for that (from what I understand) comes from
> the vgaflat project located in PLATFORM/EMULATOR/src/drivers/display.
> How does the vgaflat project goes from that to outputting ddi.dll?
> Where are the bib files for vgaflat?
>
> Also... what are the differences between the projects under PLATFORM
> and public/common...? It seems like there is duplicate projects?
>
> Thanks!
>