Git Product home page Git Product logo

arduino-sketch-on-galileoedison's Introduction

Introduction

A simple scons script that can be used to compile the Arduino sketches on the Edison/Galileo itself.

Usage

  • Clone this repo in your Galileo or Edison
  • Download the Arduino IDE from here: https://downloadcenter.intel.com/download/24355/Intel-Arduino-IDE-1-6-0
  • Extract the downladed Arduino archive and copy the "Hardware" folder into the folder where this repo was cloned
  • run "scons"
  • This will compile blink.cpp and output sketch.elf
  • Run sketch.elf to see LED connected at port D5 blink using command ./sketch.elf
  • Exit the application any time by hitting ctrl+c

Modifying the scons

The target for compilation can be selected by changing the "board" variable in SConstruct. ALso new or other source files can be added by naming them in the second argument list to env.Program(). You can find more information regarding this here: http://navinbhaskar.blogspot.in/2015/08/compiling-arduino-sketchs-on.html

arduino-sketch-on-galileoedison's People

Contributors

navin-bhaskar avatar

Watchers

André Márcio de Lima Curvello avatar James Cloos 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.