Skip to content

oresat/oresat-cand

Repository files navigation

oresat-cand

A CAN system service for OreSat Linux cards.

Setup

Install dependencies

# Arch Linux
sudo pacman -S zeromq meson ninja

# Debian
sudo apt install libzmq3-dev meson ninja-build

Install oresat-configs

pip install --user oresat-configs

Initialize CANopenLinux git submodule

git submodule update --init --recursive

Setup build directory

meson setup build

Compile

cd build/
meson compile

Run

./oresat-cand -i can0

Unit Tests

Unit tests are done with Ceedling.

To install Ceedling, install Ruby with your system package manager

# Arch Linux
sudo pacman -S ruby ruby-stdlib

# Debian Linux
sudo apt install ruby-full

Install Ceedling with Gem (Ruby package manager)

gem install ceedling

Run Ceedling

ceedling test:all

Build Debian package

Install dependencies

sudo apt install debhelper build-essential dh-make

Build deb package

./makedeb.sh

About

A CAN system service for OreSat Linux cards.

Resources

License

Stars

Watchers

Forks

Packages

No packages published