Code Monkey home page Code Monkey logo

ebsp-empty-project's Introduction

Empty project for EBSP programs

This repository can serve as a template for EBSP programs. This README will help you get started on running and writing EBSP programs on your Parallella. We will assume you have access to the following, it should be enough to follow the getting started guide found on the Parallella website.

  • A (16-core) Parallella board.
  • Installation of version 2016.3 of the ESDK, and an environment variable EPIPHANY_HOME should be set to the proper path.

By default all the build tools we need should be available. If this is not the case, installing make, git and a recent version of gcc should be enough.

Cloning the repository

Open a terminal, or ssh into the Parallella, and run the command:

$ git clone https://github.com/coduin/ebsp-empty-project.git <your project>

Where <your project> should be substituted with a suitable name for your project. Afterwards, you can cd into the empty project's directory:

$ cd <your project>

Inside this directory you will find a directory ext, which contains the relevant headers and libraries for EBSP, and a directory src containing the code for the EBSP program. Also, a Makefile is provided which will compile the project using default settings. To build the "Hello World" program that is include by default simply run:

$ make

This will compile the host program and a kernel. When you run the host program using:

$ bin/host_program

It will load the kernel ecore_program on each Epiphany core. You should see the following output:

$08: Hello World from processor 8 / 16
$01: Hello World from processor 1 / 16
$07: Hello World from processor 7 / 16
...

Next steps

ebsp-empty-project's People

Contributors

jwbuurlage avatar tombana 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.