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!.POSTED!not-for-mail From: Brian Drummond Newsgroups: comp.lang.ada Subject: Re: How to configure GNAT GPL on x86-64 Linux for ARM ELF development Date: Sat, 26 May 2018 23:58:17 -0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 26 May 2018 23:58:17 -0000 (UTC) Injection-Info: h2725194.stratoserver.net; posting-host="ccb6990c31cf96b1a74326cb32650cc6"; logging-data="20739"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Ktu+EdWjQ5SlLc7KcCwQy9BeIZq64um0=" User-Agent: Pan/0.141 (Tarzan's Death; 168b179 git.gnome.org/pan2) Cancel-Lock: sha1:D008GrOc3QbHIM8NRnDW4z7lSWg= Xref: reader02.eternal-september.org comp.lang.ada:52711 Date: 2018-05-26T23:58:17+00:00 List-Id: On Sat, 26 May 2018 05:06:40 +0000, Adam Jensen wrote: > On Fri, 25 May 2018 10:50:07 +0000, Brian Drummond wrote: > >> On Fri, 25 May 2018 04:45:16 +0000, Adam Jensen wrote: >> >>> Is it common for developers to create their own run-time system for >>> embedded platforms? My inclination would be to look for hardware based >>> on 1) RTS availability/quality and 2) toolkit complexity/completeness >>> (completeness implies useful documentation). >> >> Not common, no. But RTS availability (esp. SPARK RTS) has to start >> somewhere, and for the MSP430 I didn't really develop one, just adapt >> from AVR-Ada. >> >> With remarkably little feedback on that project, I admit I've put >> remarkably little effort into pushing it further. But I want it for my >> own purposes, the watch is just a pretty by-product. > > Super cool. Are your project's documents posted/hosted anywhere for > others to view and use? https://sourceforge.net/projects/msp430ada/ It's somewhat stuck in the past, using Peter Bigot's rather nice MSP430 backend, because gcc's own MSP430 backend built into newer versions have a considerably poorer code generator (last time I looked a couple of years ago). Revisiting it is on my to-do list, hopefully it has improved. > They have the "Make with Ada" competition: > > > And the Adacore University: > Both good forms of publicity, though I wonder to what extent they manage to bring in new people as opposed to reaching to the converted. (and I know you've been involved with at least one Ada project for a few years :-) > The Nucleo-144 board was selected as a gentle starter kit to develop > some confidence and familiarity with the tool-chain and the work-flow. > It was a total failure in this role. However, I have been keeping notes > and at some point I might create a tutorial for Ada/Spark development on > Ubuntu x86_64 targeting the ARM MCU on a Nucleo-144 board. After that, I > will probably move to a platform with more resources. Eventually, I need > a processor coupled with an FPGA - the FPGA is where most of the hard > real- time activity (traction with physics) should take place, IMO. You'll know all about the bottlenecks between a nice fast FPGA engine and any embedded CPU then. -- Brian