This repository provides a compilation framework to support running applications on the ReCamera platform.
This project depends on the reCamera-OS. Please make sure to clone and set up the reCamera-OS from the following repository:
Follow the steps below to compile and package the project:
git clone https://github.com/Seeed-Studio/sscma-example-sg200x
cd sscma-example-sg200x
git submodule update --init
-
Set the SDK path:
export SG200X_SDK_PATH=<PATH_TO_RECAMERA-OS>/output/sg2002_recamera_emmc/
-
Set the compiler path:
export PATH=<PATH_TO_RECAMERA-OS>/host-tools/gcc/riscv64-linux-musl-x86_64/bin:$PATH
Navigate to the solution directory, configure the build, and compile the project:
cd solutions/helloworld
mkdir build && cd build
cmake ..
make
To package the application, run the following command in the build directory:
cpack