Coder Social home page Coder Social logo

sketchduino's Introduction

sketchduino

The next version of this tool on 07/16/2013 previta to be published at any time, provided that all requirements for the next release is reached.

Build Status PyPy compatible

The Arduino IDE is a very good tool when you are learning to develop for AVR family of microcontrollers, but it becomes a barrier to more structured projects. In view of these difficulties it was decided to create a tool to automate the creation and maintenance of projects.

The sketchduino will create a complete project, a project will be created with the following structure:

  • binary (result of compile processes)
  • lib (custom libraries of projetct future)
  • include (custom libraries of projetct future)
  • src (the code of you project)
  • tmp (temporary files of processes of compiler)

How to install this

To install sketchduino is very simple, as it is a python tool you can install it using the tool easy_install or pip is the second most recommended.

See how we can install using easy_install:

root@host ~/ # easy_install -U sketchduino

With this command will be installed and its dependencies sketchduino Site Packages Python.

Now see how to install using pip:

root@host ~/ # pip install -U sketchduino

With this command will be installed and its dependencies sketchduino Site Packages Python.

Its is compatible

To run this tool you will need a compiler. If you want to build projects with variants of Arduino, you will need to have the installation of the Arduino IDE, if working eat AVR variant you need the AVR toolchain Gnu / GCC Compiler. In the case of using Arduino, there is a limitation in the maximum version 1.0.5 may be used. Is being developed compatibility with the next version of the Arduino IDE but this is not yet ready.

How to use this

The sketchduino is a command line tool, but its use is very simple and can be easyly integrated with some good editor such as Vim and SublimeText. Let's see how to use sketchduino.

user@host ~/ $ sketchduino --help
usage: sketchduino [-h] [--processor MCU] [--clock CLOCK] [--sdk SDK_HOME]
                   [--avr AVR_HOME] --cmd COMMAND [--project PROJECT_HOME]
                   [--programer PROGRAMER] [--variant VARIANT]

The Arduino Sketch utiliter

optional arguments:
  -h, --help            show this help message and exit
  --processor MCU       The name of Microcontroler Unit.
  --clock CLOCK         The clock of Microcontroler Unit in MHz.
  --sdk SDK_HOME        The path for SDK of arduino.
  --avr AVR_HOME        The path for AVR/GNU compiler.
  --cmd COMMAND         The command for Sketch utility.
  --project PROJECT_HOME
                        The home directory for project.
  --programer PROGRAMER
                        The programer hardware for deploy you firmwire.
  --serial SERIAL       The serial port for comunication with hardware.
  --variant VARIANT     The variante of your arduino.

Command Help

The secret of this tool is are your commands and you can see the list of commands with the following command:

user@host ~/ $ sketchduino --cmd help
Start of Arduino Sketch Utility.
-------
 build
    Performs project build according to the settings, only compiles what
    has changed since the last compilation if cache.

 clean
    Performs cleaning the last compilation.

 deploy
    Command not implemented yet.

 variant-list
    List of variantes of projects for arduino and AVR project.

 create
    Handles the project.

 rebuild
    Performs cleaning the cache and performs compile a new build complete.

 show
    Displays current configuration information of the project.

 update
    Handles the project.

 library-list
    Command not implemented yet.

-------
End of Arduino Sketch Utility.

Use sample

sketchduino's People

Contributors

rodrigopmatias avatar

Stargazers

 avatar

Watchers

 avatar

sketchduino's Issues

Makefile not update variant

By changing the variant of the Arduino is not being updated in line ARDUINO_VARIANT Makefile that makes the result of the compilation does not work in Arduinos than the standard variant

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.