Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This application note explains how to build the Barebone AZ-N1 BSP from the git repository and run it.

Setting Up Linux Host

...

Perform the following steps to set up Linux host and build BSP.

  1. Clone a BSP repository:

    Code Block
    git clone https://github.com/voxelbotics/riscv-ble-bsp.git
    cd riscv-ble-bsp
    
  2. Create a build directory and run CMake to generate Makefiles:

    Code Block
    mkdir build
    cd build
    cmake -DCMAKE_TOOLCHAIN_FILE="../riscv-cross-linux.cmake" -DCMAKE_BUILD_TYPE=Debug ..
    
  3. Run make to build the BSP:

Code Block
make

Building Specific Libraries and Demos

Building BSP

  • To build all the projects included in the BSP, run make without specifying a target. :

    Code Block
    make
  • To build a specific library or demo, run make specifying target name (<target_name>):

    Code Block
    make <target_name>

...