Configuration

[中文]

After the plugin is installed, click on the BEKEN icon in the sidebar to start using the plugin.

Before using the plugin, please follow the instructions to perform the corresponding configuration.

Click on the BEKEN icon to enter the plugin, select BASE-FUNC -> Config, and enter the plugin configuration page as shown below:

初始

初始

Environment Configuration

Environment configuration mainly involves configuring various tool paths required for plugin functionality.

Toolchain

  1. Click on ToolChain in the configuration, then click on Download, which will redirect you to the download link for ToolChain. Download the toolchain.

toolchain_download

toolchain_download

toolchain_download2

toolchain_download2

  1. After downloading, unzip the arminoToolChain.zip file. Click on ToolChain in the configuration, then click on Set, and select the extracted arminoToolChain directory. The plugin will detect the relevant tools in the ToolChain and display the detection results. If there are no errors in the detection results, it means that the ToolChain configuration is successful!

toolchain_download4

toolchain_download4

Note: ToolChain configuration is a global configuration, shared by all BEKEN projects.

BKFIL

  1. Click on BKFIL in the configuration, then click on Download, which will redirect you to the download link for BKFIL. Choose the desired version of BKFIL and click on the Download button on the page to download it.

  2. After downloading, unzip the downloaded .zip file. Click on BKFIL in the configuration, then click on Set, and select the extracted bk_loader.exe file.

    bkfil_download

    bkfil_download

Note: BKFIL configuration is a global configuration, shared by all BEKEN projects.

Project Configuration

After the environment configuration is completed, project configuration can be done.

SDK

  1. In the SDK configuration, a default gitlab repository address is provided. You can also click on the input box to edit and customize the git repository address. Click the Download button to download.

    sdk_download_0

    sdk_download_0

  2. When downloading, you need to enter your gitlab username and password, then select the desired tag for download. The plugin will open the vscode terminal to download.

Project

After downloading the SDK, you can open the project in VSCode, and the Project will read the data from the current project.

project_config

project_config

soc

soc read path: Root/middleware/soc

Project

project read path: Root/projects

Build cmd

The Build cmd configuration provides a default Build command, but you can also click on the input box to edit and customize the Build command.

Device

device

device

Serial

The UART port used for Download or Erase.

Baudrate

The baud rate used for Download or Erase.