From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cd9e5d2534af13d4 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-19 06:34:08 PST Message-ID: <3E5394B2.5050808@cogeco.ca> From: "Warren W. Gay VE3WWG" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Driving Servos (was: Great opportunity for Ada application) References: <3E4D2C7E.2010306@cogeco.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 19 Feb 2003 09:29:06 -0500 NNTP-Posting-Host: 198.96.47.195 X-Complaints-To: abuse@sympatico.ca X-Trace: news20.bellglobal.com 1045664947 198.96.47.195 (Wed, 19 Feb 2003 09:29:07 EST) NNTP-Posting-Date: Wed, 19 Feb 2003 09:29:07 EST Organization: Bell Sympatico Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!torn!webster!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Xref: archiver1.google.com comp.lang.ada:34227 Date: 2003-02-19T09:29:06-05:00 List-Id: Bernd Trog wrote: > "Warren W. Gay VE3WWG" wrote: >>But it's hard to imagine an Ada95 program fitting into >>a 2KB EPROM however.. > > Well, its all about the runtime library... > > When you say 'pragma No_Run_Time' and provide > your own Put_Line(S : in String) a "Hello World" shrinks to: > >>avr-size hello_world.elf > > text data bss dec hex filename > 326 16 1 343 157 hello_world.elf > > Which leaves 1.7 kbyte available for usefull stuff on my > current uC, for example. > > Bernd My point simply was that there isn't much EPROM to play with at a high level. Depending upon the assignment's complexity however, as you have pointed out, it isn't impossible. -- Warren W. Gay VE3WWG http://home.cogeco.ca/~ve3wwg