Skip to content

100askTeam/dshanpixcanmv-mpy-superproject_k230_rtsmart

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Instructions

Requirements

Compile Requirements

Ensure your system has the necessary packages installed:

sudo apt install autoconf bison flex gcc libncurses5-dev pkg-config libconfuse-dev libssl-dev python3 python3-pip python-is-python3 cmake libyaml-dev scons mtools bzip2

Additionally, install Python packages using pip:

pip3 install pycryptodome gmssl scons==3.1.2

Repo Requirements

To manage the source code, install the repo tool:

  1. Create a directory for the repo binary and add it to your PATH:

    mkdir -p ~/.bin
    export PATH="${HOME}/.bin:${PATH}"
  2. Download the repo script and make it executable:

    curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo
    chmod a+rx ~/.bin/repo
  3. Persist the PATH change by adding it to your shell configuration file (e.g., ~/.bashrc):

    echo 'export PATH="${HOME}/.bin:${PATH}"' >> ~/.bashrc
    source ~/.bashrc

Building the Project

Get the Source Code

Initialize and sync the repository to get the source code:

repo init -u https://github.com/canmv-k230/manifest
repo sync

Build for a Specific Board

  1. Download the toolchain (only needed the first time):

    make dl_toolchain
  2. List available configurations:

    make list_def
  3. Select a configuration for your board:

    make k230_canmv_defconfig  # Replace with the appropriate defconfig for your board
  4. Start the build process:

    time make log

This process will compile the software, tailored to your selected board configuration.

Releases

No releases published

Packages

No packages published

Languages

  • C 71.7%
  • Shell 7.6%
  • C++ 6.9%
  • Makefile 4.7%
  • Python 2.6%
  • M4 2.2%
  • Other 4.3%