source: rtems-docs/user/start/bsp-build.rst @ cb4e4e2

Last change on this file since cb4e4e2 was fa12cab, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 23, 2019 at 1:26:47 PM

user: Add "Build a Board Support Package (BSP)"

  • Property mode set to 100644
File size: 6.3 KB

Build a Board Support Package (BSP)

You installed the tool suite in your installation prefix, cloned two RTEMS repositories and bootstrapped the RTEMS sources in the previous sections. We installed the tool suite in :file:`$HOME/quick-start/rtems/5` and cloned the repositories in :file:`$HOME/quick-start/src`. We also bootstrapped the RTEMS sources.

??

You are now able to build :ref:`Board Support Packages (BSPs) <BSPs>` for all architectures where you have an RTEMS tool suite installed. To build applications on top of RTEMS, you have to configure, build and install a BSP for your target hardware. To select a proper BSP for your target hardware consult the :ref:`BSPs <BSPs>` chapter. We select the erc32 BSP.

??

We configure, build and install the BSP in four steps. The first step is to create a build directory. It must be separate from the RTEMS source directory. We use :file:`$HOME/quick-start/build/b-erc32`.

?
Error: Failed to load processor none
No macro or processor named 'none' found

The second step is to configure the BSP. There are various configuration options available. Some configuration options are BSP-specific. Prepend the RTEMS tool suite binary directory to your $PATH throughout the remaining steps.

Error: Failed to load processor none
No macro or processor named 'none' found

This command should output something like this (omitted lines are denoted by ...):

Error: Failed to load processor none
No macro or processor named 'none' found

Building the BSP is the third step.

Error: Failed to load processor none
No macro or processor named 'none' found

This command should output something like this (omitted lines are denoted by ...). In this output the base directory :file:`$HOME/quick-start` was replaced by $BASE.

?
Error: Failed to load processor none
No macro or processor named 'none' found

The last step is to install the BSP.

Error: Failed to load processor none
No macro or processor named 'none' found

This command should output something like this (omitted lines are denoted by ...). In this output the base directory :file:`$HOME/quick-start` was replaced by $BASE.

?
Error: Failed to load processor none
No macro or processor named 'none' found
Note: See TracBrowser for help on using the repository browser.