Skip to content

Seeed-Studio/sscma-example-sg200x

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSCMA Example for SG200X

This repository provides a compilation framework to support running applications on the ReCamera platform.

Prerequisites

This project depends on the reCamera-OS. Please make sure to clone and set up the reCamera-OS from the following repository:

ReCamera-OS GitHub Repository

Compilation Instructions

Follow the steps below to compile and package the project:

1. Clone the Repository

git clone https://github.com/Seeed-Studio/sscma-example-sg200x
cd sscma-example-sg200x
git submodule update --init

2. Set the Necessary Paths

  • 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

3. Build the Application

Navigate to the solution directory, configure the build, and compile the project:

cd solutions/helloworld
mkdir build && cd build
cmake ..
make

4. Package the Application

To package the application, run the following command in the build directory:

cpack