How to: Cross compiling for the Onion Omega 2S(+)

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/rust

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Truly a developer’s best friend
  • talent.io - Download talent.io’s Tech Salary Report
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • cross

    “Zero setup” cross compilation and “cross testing” of Rust crates

    Install cross, a “Zero setup” cross compilation and “cross testing” of Rust cratesfor more information about this tool, read the README on the GitHub repo

  • source

    Onion's fork of OpenWRT's source build system. The firmware for the Omega2, Omega2+, and Omega2 Pro is based on the openwrt-18.06 branch. (by OnionIoT)

    # This is the "base image". Luckily the cross-rs team already provides this as a way FROM ghcr.io/cross-rs/mips-unknown-linux-musl:latest # Install some dependencies to build the toolchain RUN apt update && apt install -y git wget subversion build-essential libncurses5-dev zlib1g-dev gawk flex quilt git-core unzip libssl-dev python-dev python-pip libxml-parser-perl time # Clone the Onion toolchain repository RUN git clone https://github.com/OnionIoT/source.git

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts