You can install QNX BSPs from the QNX Software Center. For BSPs from other suppliers,
you must contact QNX or the hardware vendor about how to obtain and install the BSPs.
Prerequisites
Before you start to work with a QNX BSP, you need:
- a myQNX account; log in or register at: www.qnx.com/account/login.html.
- cables, such as a USB-to-micro USB cable or a serial-to-USB cable, for connecting to your host system,
debugging, and if relevant for your system, connecting to a display
installed on a Linux, Mac, or Windows host system:
- the QNX Software Development Platform (SDP) 7.0
- a terminal program (e.g., PuTTY); alternatively, you can the QNX Momentics IDE Console View
- drivers, such as USB drivers, to enable communication between the host and the target
Installing a QNX BSP
Your BSP is delivered as a .zip archive. To begin using it, you can either unzip it
from the command line, or import it into the IDE.
Extracting from the command line
We recommend that you create a directory with the same name as your BSP, then extract the archive contents into there:
-
Create a directory specifically for storing the contents of the BSP you're working with.
If necessary, create the parent directory structure (e.g.,
/home/bspdir).
For example:
mkdir /home/bspdir/sabresmart
-
Change into the directory you just created, then extract the BSP. For example:
cd /home/bspdir/sabresmart
unzip BSP_nxp-imx6q-sabresmart_br-700_be_build.zip
where
build is the BSP build ID.
You should now be ready to build your BSP (see Building a BSP in this chapter).
Importing into the IDE
To import a BSP into the IDE:
- Start the IDE, switch to the C/C++ Perspective, and select .
- In the Import window, expand the QNX folder.
- Select QNX Source Package and BSP from the list, then click Next.
- In the Select the archive file dialog, click
Browse... to open a file selector from which you can
choose the BSP archive that you downloaded; after you've selected the archive file,
click Next.
- In the Package selected to import dialog, confirm that this is the BSP package you want
(there's a brief description of the package), then click Next to proceed.
- Define the settings for the project to be created. Specify a project name and optionally,
a non-default storage location and working sets to which the project should be added.
- Click Finish.
The project gets created and the source is brought in from the archive.
You should now be ready to build your BSP (see Building a BSP).