Local Deployment

[中文]

Build Environment Setup

Note

The Armino build environment requires Ubuntu 20.04 LTS or higher, CentOS 7 or higher, Archlinux or Debian 11 or higher. This section will use Ubuntu 20.04 LTS as an example to introduce the setup of the entire build environment.

The build environment can be installed using an environment installation script or manually. It is recommended to use the installation script method. If there is no installation script in the SDK directory, you can download the installation script from the Beken server.

  • Script Installation:

    If the installation script exists in the SDK, enter the SDK directory and execute the installation script. Follow the script instructions to complete the build environment installation:

    cd ~/armino/bk_idk_controller
    sudo bash tools/env_tools/setup/armino_env_setup.sh
    

    If the installation script does not exist in the SDK, you can download and execute it from this link.

  • Manual Installation:

    For manual installation, please refer to link

Note

The toolchain default path is defined in the middleware/soc/bk7239/bk7239.defconfig file. If you change the toolchain path, you need to reconfigure the toolchain path in the configuration file:

CONFIG_TOOLCHAIN_PATH="/opt/gcc-arm-none-eabi-10.3-2021.10/bin"

Build Project

Enter the following command in the terminal to compile the Armino default project. PROJECT is an optional parameter, which defaults to app. The default project starts WiFi, BLE, initializes common drivers, and starts the Armino default CLI program:

cd ~/armino/bk_idk_controller
make bk7239