SDK Download
Overview
The Zephyr SDK for Realtek Ameba-IoT series products adopts a multi-repository management approach. The main manifest repository is hosted on GitHub: https://github.com/Ameba-AIoT/nuwa.
The SDK consists of multiple Git repositories and is managed uniformly using the west tool. The specific versions of the repositories for each SDK release are determined by the current revision of the main manifest repository.
Installing the west Tool
To use this manifest repository, the west tool must be installed first.
west is written in Python 3 and distributed via PyPI. Please use pip3 to install or upgrade west:
$ pip3 install --user -U west
$ pip3 install -U west
Download Ameba NUWA Project SDK
Clone the main manifest repository:
west init -m git@github.com:Ameba-AIoT/nuwa.gitRun the following command to clone all project repositories. The complete set of Git repositories and their directory structure is defined in the manifest file:
west updateCreate a symbolic link to
nuwa.py. This Python script wraps the west commands. For more information about west commands, refer to the Zephyr official documentation: West (Zephyr’s meta-tool) :ln -sf tools/meta_tools/nuwa.py nuwa.py
Note
west update only updates the projects listed in west.yml and does not update the main manifest repository that contains west.yml. To update everything, you can use either of the following two methods:
Navigate into the main manifest repository, perform a Git update (e.g.,
git pull), then runwest updateto fetch the updatedwest.ymland synchronize all other projects accordingly.Use the wrapped command:
./nuwa.py update