comp.lang.ada
 help / color / mirror / Atom feed
From: "Rego, P." <pvrego@gmail.com>
Subject: Basic installation problem with avr-ada for Windows
Date: Wed, 19 Oct 2011 13:12:34 -0700 (PDT)
Date: 2011-10-19T13:12:34-07:00	[thread overview]
Message-ID: <26601238.585.1319055154087.JavaMail.geo-discussion-forums@yqoo7> (raw)

Hi, 
I'm trying to install avr-ada for Windows but got some problem. So I did:
1) Got and run installer from <a ref="http://sourceforge.net/projects/avr-ada/files/avr-ada/bin_windows/AVR-Ada-1.1.0.exe/download?_test=goal">AVR-Ada site</a>. It install the folder C:\avr-ada with the tools.
2) So I put on the PATH env variable c:\avr-ada\bin
3) Created the code examples build.gpr and led_on.adb on the folder C:\avrtest 

-- build.gpr
with "avr.gpr";
project Build is
   for Main use ("led_on");
   for Languages use ("Ada");
   for Object_Dir use "obj";
   for Exec_Dir use ".";
   package Builder renames AVR.Builder;
   package Compiler renames AVR.Compiler;
   package Binder renames AVR.Binder;
   package Linker renames AVR.Linker;
   for Source_Files use ("led_on.adb");  
end Build;

-- led_on.adb
with AVR; use AVR;
with AVR.MCU;
procedure LED_On is
   LED : Boolean renames MCU.PortB_Bits (3);
begin
   MCU.DDRB_Bits := (others => DD_Output);
   LED := Low;
end LED_On;

So what did I forget to set?



             reply	other threads:[~2011-10-19 20:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-19 20:12 Rego, P. [this message]
2011-10-20  4:40 ` Basic installation problem with avr-ada for Windows Rego, P.
2011-10-20  8:27 ` Rolf
2011-10-20 11:02   ` Simon Wright
2011-10-20 11:17   ` Rego, P.
2011-10-20 12:31     ` Rolf
2011-10-22  0:32       ` Rego, P.
2011-10-22 13:08         ` Rego, P.
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox