Git Product home page Git Product logo

avrdude-build-script's Introduction

avrdude build scripts for Arduino/Genuino

This is the build script for the avrdude tool used in the Arduino IDE.

The latest version available is 6.3.

As soon as avrdude ships a new version, we pull the source code, patch it with some user contributed patches and deliver it with the Arduino IDE. Therefore, the resulting binaries may differ significantly from upstream, you should start blaming us if things are not working as expected :)

Building

Just run:

./package-avrdude.bash

Setup has been done on partially set up development machines. If you find any package missing from the following list, please open an issue at once!

Debian requirements

sudo apt-get install build-essential bison subversion zip automake flex pkg-config

Mac OSX requirements

You need to install MacPorts: https://www.macports.org/install.php. Once done, open a terminal and type:

sudo port selfupdate
sudo port upgrade outdated
sudo port install wget +universal
sudo port install automake +universal
sudo port install autoconf +universal
sudo port install gpatch +universal
sudo port install libusb +universal

Windows cross-compile from Linux requirements

sudo apt-get install gcc-mingw-w64-i686

When building you must set the env var CROSS_COMPILE to mingw for example:

CROSS_COMPILE=mingw ./package_avrdude.bash

cross compile with mingw has been tested on Ubuntu 14.04 (mingw-w64 4.8), different versions of mingw may behave differently and fail to build.

Windows requirements

WARNING: the script for native Cygwin or Mingw builds has been started and abandoned in favor of cross compile with mingw (see section above). Please consider this part of the build script as a best effort bonus (it may work as it may, very probably, not work).

You need to install Cygwin: http://www.cygwin.com/. Once you have run setup-x86.exe, use the Search text field to filter and select for installation the following packages:

  • git
  • wget
  • unzip
  • zip
  • bison
  • flex
  • make
  • patch
  • automake
  • autoconf
  • gcc-g++

You also need to install MinGW: http://www.mingw.org/. Once you have run mingw-get-setup.exe, select and install (clicking on "Installation" -> "Apply changes") the following packages:

  • mingw-developer-toolkit
  • mingw32-base
  • mingw32-gcc-g++
  • msys-base
  • msys-zip

Upstream credits

Build process ported from Debian. Thank you guys for your awesome work.

Credits

Consult the list of contributors here and here.

License

The bash scripts are GPLv2 licensed. Every other software used by these bash scripts has its own license. Consult them to know the terms.

avrdude-build-script's People

Contributors

cmaglie avatar facchinm avatar nvswarren avatar sconaway 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.