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!mx02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: STM32F4 GNAT Run Time System - roadmap Date: Mon, 07 Dec 2015 16:49:10 +0000 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="6f4ba2ce0f80cf6975f919f4f22c2ad9"; logging-data="14487"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19M9ezNks8r+KkrpMrircmxqgGbHpCQ0Io=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:V2m+32mo6ibRteTs1TobQ6hdEC4= sha1:YjayKvZtecwet+1282HOviU4sYE= Xref: news.eternal-september.org comp.lang.ada:28684 Date: 2015-12-07T16:49:10+00:00 List-Id: Jere writes: > I am currently looking at an M0+ chip, which as far as I can tell, has > no GNAT cross compiler's available (nor runtimes). It does have a GCC > port for 4.9.3 I think, but not GNAT. Speaking from the perspective > of developing on a Windows machine. > > At some point I guess I will have to dig in and figure out how to > build GNAT for the m0+ using windows, then I'll have to figure out the > runtime, but I am light years from understanding that stuff at the > moment. I think it'd be simple enough to make an M0+ compiler (once one's found the proper incantation); the problem I had was getting one compiler to generate M3 or M4F code as required. I think the ARM branch at https://launchpad.net/gcc-arm-embedded can do it, but the changes haven't been rolled in to the GCC trunk; and there are apparently problems building Ada with that source tree; and they are up to 4.9.3 only. Of course the work I've done has been on Mac OS X; perhaps look at TDM-GCC, starting at http://getadanow.com/#get_windows If your chip has FreeRTOS you might be able to work from my http://sourceforge.net/projects/cortex-gnat-rts/ - there are 12 or so board-specific sources, though I think that at least two of the files could be moved to common.