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: ANN: GNAT GPL 2015 Atmel SAM4S Ravenscar patches Date: Wed, 29 Jul 2015 19:35:21 +0100 Organization: A noiseless patient Spider Message-ID: References: <2681e2fb-97b8-4910-82e9-28091ee793d5@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="fbe1d5b0173017f7cc2ccfa8ad3bc8c1"; logging-data="914"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19a9swkrTVVDzwTXcceZd9zyjYv9khECXE=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:RvffPB97uXB+mT8g1g0XWF4gp7c= sha1:3RzTz7IOCbMZ673SOfC8+4M7Upk= Xref: news.eternal-september.org comp.lang.ada:27138 Date: 2015-07-29T19:35:21+01:00 List-Id: Tero Koskinen writes: > Do you mean sections like this: > https://github.com/patricknoffke/ada-mcu/blob/master/bb-runtimes-gpl-2015.patch#L4164 Without looking at your section too hard (but I do agree, mainly), what about https://github.com/patricknoffke/ada-mcu/blob/master/gnat-gpl-2015-src.patch#l273 I took care only to import code from FSF GCC; I suspect the "bb" design is intended to support many MCUs with pure Ada, but as an unfunded person I found it fairly straightforward to work with FreeRTOS. For what it's worth, the Arduino Due port of my work has only 4 Ada source files different from the corresponding STM32F429I (all to do with interrupts) and 3 to initialize the MCU and set up the clock (aside from the clock, the MCU is largely self-initializing, which helps).