Run rsdk
with Visual Studio Code & devcontainer
First, please install the required dependencies:
sudo apt-get update
sudo apt-get install git qemu-user-static binfmt-support
Then follow Visual Studio Code's documentation to:
Then clone the project with git
:
git clone --recurse-submodules https://github.com/RadxaOS-SDK/rsdk.git
Open the project in Visual Studio Code. A notification will pop up on the corner
asking if you want to reopen in devcontainer. Click yes
and wait for the container
to be set up.
This can be combined with VS Code remote development extension to run rsdk in other systems.
Common issues
-
devcontainer setup paused with
You might be rate limited by GitHub.
messageYou might be rate limited by GitHub. Please follow the instruction listed in the output.
-
Failed to launch devcontainer.
Please edit
.devcintainer/devcontainer.json
, and adjustrunArgs
property.