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: Inspirels Ada on cortex tutorial linker issue Date: Mon, 25 Jul 2016 09:07:51 +0100 Organization: A noiseless patient Spider Message-ID: References: <24d4ffc3-3915-4102-96ae-68d11d881443@googlegroups.com> <240a0f13-0a34-475f-999f-ba7f47be069f@googlegroups.com> <8f1332f8-89cc-4616-9834-1d2ffcfe7a4a@googlegroups.com> <97a5b5a7-4127-4610-b6a2-07f1a434a5cb@googlegroups.com> <0f7d1cd7-bde9-4fe0-80e0-332e886586e4@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="1cb8779fb08c1b31c8309afcb9b531dc"; logging-data="32231"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/dSriUHVVdOyKnZoX3Sa4+aeML8apuT4k=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:xeyB11lUhsl3/GiZdypZYv6q8W0= sha1:47oF8TCTI66hBAZFkALaacImXG0= Xref: news.eternal-september.org comp.lang.ada:31150 Date: 2016-07-25T09:07:51+01:00 List-Id: Devin writes: > pragma Restrictions (No_Task_At_Interrupt_Priority); > > in order to get it to compile, it causes an error: > > fatal error: system.ads is incorrectly formatted > unrecognized or incorrect restrictions pragma: No_Task_At_Interrupt_Priority > compilation abandoned That's a GNAT implementation-defined restriction. Interrupt and task priorities are different things even if the ARM makes them numerically adjacent. > In openocd I get a warning saying that there are no flash banks found > for addresses 10000000 and 10000100 and it says it writes 0 bytes from > file program.bin and resets the target. The Nucleo32 then starts > running the same firmware that it shipped with. I haven't used openocd, so no ideas. > Thank you very much for all your help, Simon. That's OK!