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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,69431b06fe9a3239 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!f11g2000vbx.googlegroups.com!not-for-mail From: Lucretia Newsgroups: comp.lang.ada Subject: Re: How do I disable elaboration code on this Date: Sun, 10 Apr 2011 02:06:46 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <58bc4fb4-5f6a-48d6-9c98-0dde7ac619df@p16g2000vbo.googlegroups.com> <87ipunqpyv.fsf@ludovic-brenta.org> NNTP-Posting-Host: 94.197.127.231 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1302426406 21431 127.0.0.1 (10 Apr 2011 09:06:46 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 10 Apr 2011 09:06:46 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: f11g2000vbx.googlegroups.com; posting-host=94.197.127.231; posting-account=L2-UcQkAAAAfd_BqbeNHs3XeM0jTXloS User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux armv7l; en-GB; rv:1.9.2.3pre) Gecko/20100723 Firefox/3.5 Maemo Browser 1.7.4.8 RX-51 N900,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:19712 Date: 2011-04-10T02:06:46-07:00 List-Id: > > That would be true if the vector was built in a separate C or ASM file, > > but Luke wants to do the whole thing in Ada and then write it to > > Flash. See above: "Basically, I want to write the startup code for > > Cortex-M3 in Ada with no assembly." > > Maybe I misunderstood, but I think the code the OP presented is the Ada to > access the ISRs in flash from Ada, not code to create them. What Simon said. What I want is to generate the table. The dummy isr is require for now. I use a custom linker script to generate the elf. Do I need to force the access types to C convention? Thanks, Luke