Tero's Arduino Blog

Using Arduino with Ada

Blinking LED

Introduction

Blinking the built-in led is one of the simplest things we can do on Arduino, so it serves as a nice starting point.

The built-in led is connected to digital pin 13 in Arduino way of naming. AVR-Ada itself does not support Arduino naming convention, but instead uses standard …

[more]

Automating avr-gnat and AVR-Ada installation

For those, who don't want to follow my manual build instructions, I made a script which automates the steps.

You can use the script like this:

wget https://hg.sr.ht/~tkoskine/avr-ada-build-script/archive/tip.tar.gz
tar zxvf tip.tar.gz
cd avr-ada-build-script-tip/
sh -x build-avr-ada-environment.sh

The script …

[more]

Building avr-gnat for AVR-Ada

None of the Linux distributions ship Ada-enabled avr-gcc (avr-gnat) by default. And building GNAT for AVR a bit tricky. So, to help the situation I have tried to gather a little help for that.

To build AVR-Ada applications, you need following software packages

  • avr-binutils
  • avr-gcc + avr-gnat
  • avr-libc
  • avr-ada itself

Since …

[more]

« Page 8 / 8


Copyright © 2012, 2013 Tero Koskinen - Theme Skeleton; Blogging engine Pelican; Powered by Python