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-Thread: 103376,df6b9475ff19c894 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!newsfeed.stueberl.de!feed.news.tiscali.de!news.belwue.de!news.uni-stuttgart.de!carbon.eu.sun.com!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: Martin Dowie Newsgroups: comp.lang.ada Subject: Re: Embedded Date: Fri, 19 Aug 2005 23:02:53 +0000 (UTC) Organization: BT Openworld Message-ID: References: <1124485055.715288.205290@g43g2000cwa.googlegroups.com> NNTP-Posting-Host: host81-154-188-69.range81-154.btcentralplus.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com 1124492573 6914 81.154.188.69 (19 Aug 2005 23:02:53 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Fri, 19 Aug 2005 23:02:53 +0000 (UTC) In-Reply-To: <1124485055.715288.205290@g43g2000cwa.googlegroups.com> X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) Xref: g2news1.google.com comp.lang.ada:4206 Date: 2005-08-19T23:02:53+00:00 List-Id: Lanarcam wrote: > Suppose you have requirements for a basic embedded system such > as a few digital I/O, analog I/O, RSxxx communication links, > alphanumeric LCD, etc. > > The usual way is to select a microcontroller with the required > I/O and based on the complexity some amount of RAM and ROM. > > You often choose a microcontroller from a family you are > familiar with. You then select an OS or no OS, depending > on the requirements. yup > If you decide to write the code in Ada, how do you know > there will be a compiler that will target the microcontroller? > > Do you have to ask every vendor or is there a list of > supported CPU for each compiler? Well, other that 'C' (which always has a compiler for any target [not necessarily ISO C]), that's what you have to do for any language! > How will the choice of Ada affect the amount of RAM and ROM > needed? Shouldn't affect it too much at all these days - might have in the passed (Ada83). But the footprints I've seen with various Ada95 compilers within the last 10 years have all been acceptable. Make sure the binder/linker can remove unused subroutines - that advice is good for all languages not just Ada! Otherwise you may run into problems if the predefined language library is used and is large. Cheers -- Martin