Skip to content

Build Development Environment

Set up the development environment The SDK of the GX8002 chip needs to be compiled in the Linux environment. This article mainly describes how to build the development and compilation environment of the SDK.

Note

For windows developers, Ubuntu can be installed using VirtualBox virtual machine software and read the following tools to install and compile the SDK.

The following is the software and hardware required for the development process:

1. SDK tool chain installation*

  • click on the link (http://yun.nationalchip.com:10000/l/HFjTus) and download in local ~/Downloads/.
  • Installation:
    • Create a new installation directory folder:
      $ sudo mkdir -p /opt/csky-abiv2-elf/
      $ cd /opt/csky-abiv2-elf/
      
    • Unzip the downloaded package from the above link to the current directory:
      $ sudo tar xvf ~/Downloads/csky-elfabiv2-tools-x86_64-minilibc-*.tar.gz
      
    • Then edit ~/.profile or ~/.bashrc and add /opt/csky-abiv2-elf/bin to the PATH path

2. Install the NPU tool chain (The algorithm engineer needs to install)*

Please read NPU compiler installation

3. Obtain SDK*

'LVP SDK' is hosted on 'GtiLab' private repository, please read Register GitLab account and give the 'GitLab' account to our sales manager, and our project manager will release the code of the account.

3.1 Download the code*

  • Enter the GitLab project and copy the git address of the project as shown in the figure.

  • Get the code:

    $ git clone git@gitlab.com:nationalchip/lvp_tws.git
    

4. Serial port upgrade tool*

For the GX8002 chip, we provide serial port upgrade tools for Linux and Windows environments. See Serial Port Upgrade for more information about their use.

5. Serial port recording tool*

For the GX8002 chip, we provide serial port recording tools for Linux and Windows environments. See Serial Port Recording for more information about their use.

6. Development board (Grus_Dev_V1.x)*

Grus_Dev_V1.x is a general development platform for GX8002 public version, which is suitable for developers to carry out hardware design and software development in various product forms. For detailed hardware specifications and hardware design data, please read GX8002_DEV development board Kit.