When you install a BSP by
importing it into the QNX Momentics Integrated Development Environment, you'll find
the source code for individual BSP components in directories at the root of your IDE
workspace directory.
To build a BSP from the IDE:
-
Open the QNX Momentics IDE.
-
Click .
-
Expand QNX, select QNX Source Package and
BSP and click Next.
-
Click Browse to choose a .zip
archive file for your BSP.
-
Select a file, click Open, and then click
Next.
The package contains the source and build files for targeting QNX Neutrino on
your selected reference board.
-
Select the BSP and verify that the package is correct by reviewing the
information in the Description field.
-
Click Next to specify any project-specific settings you
want to set for the BSP project.
Now you can change the name of the BSP project in the IDE, set the default
location to use as the workspace for the BSP project files, and specify whether
this BSP belongs to a working set.
-
Click Finish to import the BSP.
You will see that the IDE created a QNX project to configure and build the
BSP. To build or make modifications (e.g., to the drivers) in this BSP, the
/src directory contains the source code to all BSP
components for which the source is provided, including device drivers,
libraries, and utilities.
-
To build the BSP, right-click the project file name in the project explorer,
and then select Build Project.
The IDE generates a buildfile named
board_BSP.build from the BSP.