Ruff is a portable operation system that can run on different hardware. Developers can port Ruff to their own hardware.
- Please confirm you have correct version of Ruff OS to match with the toolchain.
- Please ensure your hardware connect to Internet.
- Select Ruff OS that matches with the hardware and toolchain.
- Transmit Ruff OS to the development board. For example, if SSH is supported, it can be done with following command:
scp /path/to/ruffos-<target>-<version>.zip your_pi_user@your_pi_ip:/tmp
- Login your development board
- Extract and run Ruff OS
- Using following command on PC to verify Ruff OS is running:
rap system info <hostip>
If Ruff OS information is shown, Ruff OS is running.
Ruff Board Description describes hardware interfaces (such as GPIO), and on-board devices (such as LED) that application can control. The board is a prerequisite condition for any Ruff app to run on a real board.
Skip this step if your board is added to Rap Registry.
Visit Board - Getting Started for detail information of adding a board.
- Create a new project folder (like
hello-ruff), and then change the directory to the folder， and then use
rapto initialize the application.
Note: Please create your new project folder outside of the Ruff SDK directory.
The board is specified here as a board argument for the init task.
- Fill in information as prompted. You can use default values for all fields.
rapwill initialize the project and download configuration info for the development board, and also generate hardware configuration files.
Please refer to Getting Started to write your own Ruff application.