Code Monkey home page Code Monkey logo

elkpi-sdk's Introduction

elkpi-sdk

Yocto cross-compiling toolchains for Elk on Raspberry Pi

This is a meta-repository to host the Yocto toolchain needed to cross-compile binaries for Elk on Raspberry Pi 3 64bit using your host computer.

The latest toolchain installer is available under the Releases section.

Instructions

On pretty much any modern Linux distribution, you can simply run the self-extracting shell script and enter the desired extraction path when prompted. Then, simply source the environment script:

$ source /path/to/environment-setup-cortexa7t2hf-neon-vfpv4-elk-linux-gnueabi

and you're ready to go. The environment script modifies the default toolchain for the session, so just e.g. running make or cmake will generate a binary for the target architecture.

By default, -g is added to the C/C++ compiler flags. If you want to compile binaries without symbols, just override the environment variables CFLAGS and CXXFLAGS, or run $STRIP on the generated binary.

Instructions (macOS / Windows)

If you're not running Linux on your host development machine, the first option is to run a Virtual Machine using e.g. VirtualBox or VMWare. Any recent Linux distribution will be ok to setup the toolchain.

Another option is to use Docker to setup a lightweight container more integrated with your host setup. This could also be useful for Linux if you want to isolate various toolchain environments from each other.

To setup the toolchain with Docker, you can use the CROPS eSDK container following the instructions on the main repository. In this repo you can find dedicated installation instructions for macOS.

elkpi-sdk's People

Contributors

stez-mind avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.