[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Ada samples wanted
- Date: Thu, 14 Oct 1999 08:50:16 +0200 (MET DST)
- From: Kris.Hermans at cs.kuleuven.ac.be (Kris Hermans)
- Subject: Ada samples wanted
Hi,
Thanks for the examples + makefiles, they were very illuminating !
Hopefully Ada/RTEMS will be continued to be documented fully in the near
future !
> Is there anything in particular you are looking for as an example?
Well, actually I'm a researcher at the computer science dept of Leuven
(Belgium) and we are getting into real-time embedded systems. As a start
project (for getting the feeling), we want to drive a (toy) robot built
with FischerTechnik, using an RTOS and written in ADA. RTEMS/GNAT seemed
to us the most obvious choice. The robot is equipped with a serial
interface for reading sensors and driving actuators, so any example for
using a serial port in RTEMS would be welcome. Also, we are thinking of
replacing the serial interface with a parallel interface and using an
interrupt driven approach, so also examples for using the parallel port
will be helpfull (btw, thanks for the interrupt-example ;-)).
>From the sources for bsp for pc386, it looks like there is no support for
the parallel port. Are there any pointers, examples, code, ... for
extending this bsp (I guess I have to write a port driver ?).
Another question I have (I hope I'm not too curious :-)): I'm now
studying the RTEMS C user's guide for learning the API of the various
'managers'. It looks like these are all C-functions (that's why it is
called C user's guide I guess ;-)), what is the deal here for ADA ? Is
there a binding for the interfaces to ADA or must I use the Ada-facilities
for calling C-functions ?
btw: RTEMS4.0.0 is written in C, although some docs give me the impression
there is a 're-write' to ADA. Is this public domain ? And when will it
be released ?
Thanks,
Kris
On Wed, 13 Oct 1999, Joel Sherrill wrote:
> Kris Hermans wrote:
> >
> > Hi all,
> >
> > I'm experimenting with GNAT/RTEMS and already build the hello-world
> > example in ADA. However, there are no real examples in ADA supplied with
> > the sources (though the environment guide states there should be
> > Ada-examples). Is there anyone out there who can give me some useful
> > examples on using ADA with rtems ? Also correct makefiles and
> > configuration files are appreciated ...
>
> I have attached the last snapshot of the Ada examples package as it
> currently is. It is not much more than was there in 4.0 except there
> is an example of Ada interrupts. Ada interrupts did not work in 4.0.
>
> There is a port of the Ada socket bindings to RTEMS and an example of
> that which is not included here.
>
> Is there anything in particular you are looking for as an example?
>
> > Thanks in advance,
> >
> > Kris Hermans.
> >
> > PS: my set-up host (debian linux, pentium 133), target: pc386
> >
>
> --
> Joel Sherrill, Ph.D. Director of Research & Development
> joel at OARcorp.com On-Line Applications Research
> Ask me about RTEMS: a free RTOS Huntsville AL 35805
> Support Available (256) 722-9985