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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: GNAT GPL Edition for 8Bit AVR microcontrollers Date: Wed, 07 Sep 2016 12:04:02 +0100 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="90a7515de723fda2443060f3e878f4b0"; logging-data="1990"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+69xBNRG6VfjqgMk0q/tm08CZAgUVQUtw=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:z8Cd2aAGMaT0YnZz9MRdOYYBE+w= sha1:rjloIYzKYQ87yPi4e7svp1GtGrg= Xref: news.eternal-september.org comp.lang.ada:31722 Date: 2016-09-07T12:04:02+01:00 List-Id: fabien.chouteau@gmail.com writes: > Hi, > On Tuesday, September 6, 2016 at 11:30:50 PM UTC+2, jordanl...@gmail.com wrote: >> Hi All, >> >> I am currently working on a Project that involves programming a >> device (using ATmega328P) using the Ada programming language as well >> as SPARK Tools or Ravenscar profiles if possible to verify and >> validate the software. Provided you can get a compiler (as Fabien suggested, or, if you're able to run on Windows, try GNAT GPL 2012 from libre.adacore.com) you will be able to use the SPARK tools; see [1], especially chapter 19. The natural way of handling SPARK uses aspects, and you'd need a recent compiler to support that (FSF GCC 6, GNAT GPL 2016). FSF GCC 6 appears to have AVR support, so you could build your own cross-compiler. But the ATmega328P has 32kB flash, 2kB sram, so your chances of getting Ravenscar to fit are, practically, zero. [1] http://www.inspirel.com/articles/Ada_On_Cortex.html