comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: gnat ARM - predefined packages
Date: Tue, 27 Jan 2015 21:55:57 +0000
Date: 2015-01-27T21:55:57+00:00	[thread overview]
Message-ID: <ly1tmfhor6.fsf@pushface.org> (raw)
In-Reply-To: cd220532-55a4-4701-b9ce-a05b7d7850e6@googlegroups.com

"RasikaSrinivasan@gmail.com" <RasikaSrinivasan@gmail.com> writes:

> thanks.
>
> i haven't installed the native gnat on my windows system. gps is quite
> functional - have done a couple of demo projects with the discovery
> board already. i am planning to move to a mac development shortly.

Hmm. I have the native compiler and the cross compiler installed in the
same place, and while gprbuild is perfectly happy with this and the
internal 'for Target use "arm-eabi";' GPS isn't; nor does it pass the
Default_Switches ("ada") "--RTS=" to the compiler.

GPS seems to be far too complicated a tool to use without support.

> i am using the RTS provided by AdaCore. will experiment with yours
> shortly.

I can get the AdaCore demo to build with my RTS, with a little
difficulty (interrupt names changed, I didn't realise a main program can
have a priority) but it doesn't run; possibly some problem with clock
configuration, anyway it looks as though it's stuck in an interrupt.

> quit bizarre but i don't have a file called a-intnam.ads on my system
> that I can find. (Still learning Win 8!)

I was looking at GPS so that I could see how you can navigate from
something's use to its declaration. I *think* you

* click on the object of interest (in this case, EXTI0_IRQ)
* menu Navigate > Goto Declaration

I know that the Linux version of the cross compiler has the RTS files in
some bizarre location; if you've installed in C:\GNAT2014 they _should_
be in C:\GNAT2014\lib\gcc\arm-eabi\4.7.4\rts-ravenscar-sfp-stm32f4.

I kept a copy in my RTS project, see
http://sourceforge.net/p/stm32f4-gnat-rts/code/ci/default/tree/ravenscar-sfp-stm32f4/adainclude/a-intnam.ads


  parent reply	other threads:[~2015-01-27 21:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-27 16:09 gnat ARM - predefined packages RasikaSrinivasan
2015-01-27 16:49 ` Bob Duff
2015-01-27 16:49 ` Simon Wright
2015-01-27 16:50   ` Simon Wright
2015-01-27 18:29     ` RasikaSrinivasan
2015-01-27 19:56       ` Bob Duff
2015-01-27 21:55       ` Simon Wright [this message]
2015-01-28  7:03         ` Egil H H
2015-01-28  7:52           ` Simon Wright
2015-01-28  8:41             ` J-P. Rosen
2015-01-28 13:11               ` Simon Wright
2015-01-28 17:30                 ` RasikaSrinivasan
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox