comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <dewar@gnat.com>
Subject: Re: Is an RTOS Required for Ada?
Date: 1999/05/16
Date: 1999-05-16T00:00:00+00:00	[thread overview]
Message-ID: <7hmbo3$jhr$1@nnrp1.deja.com> (raw)
In-Reply-To: 19990513150314.13727.00000147@ng-cs1.aol.com

In article <19990513150314.13727.00000147@ng-cs1.aol.com>,
  tramse@aol.com (Tramse) wrote:
> I have an application in which Ada95 is required.  The target
> microcontroller is the Motorola 68336.  It a real simple
> application, it only needs to read/write to fixed addresses
> (ports/data) and respond to a interupts.  We have
> a real fast boot up requirement and small RAM resource (7.5K)
> and can't afford the boot time and RAM requried for a RTOS.
>
> Can we use Ada and compile direct to 68K code without using an
> RTOS (like we could in C)?

Certainly using GNAT, the answer is yes. You simply restrict
your code so that it does not need RTOS services. The pragma
Restriction capability provides a nice way to control these
kind of restrictions so that the compiler enforces them.

You need not go as far as GNORT to achieve this, there are many
library routines which can be used perfectly fine in the kind
of environment you are envisioning. You will not have tasking
available, but you probably don't need it.

Alternatively, as one customer of ours has done, you can
implement your own tiny real time kernel to support the minimal
amount of services that GNAT requires for implementing a
restricted tasking capability corresponding to the Ravenscar
profile.


Robert Dewar
Ada Core Technologies


--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---




      parent reply	other threads:[~1999-05-16  0:00 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-13  0:00 Is an RTOS Required for Ada? Tramse
1999-05-13  0:00 ` Marin David Condic
1999-05-13  0:00 ` Rakesh Malhotra
1999-05-14  0:00   ` Tramse
1999-05-16  0:00     ` Robert Dewar
1999-05-19  0:00       ` Robert A Duff
1999-05-20  0:00         ` Robert Dewar
1999-05-25  0:00           ` George Romanski
1999-05-25  0:00             ` Robert Dewar
1999-05-26  0:00               ` George Romanski
1999-05-28  0:00                 ` Robert Dewar
1999-06-09  0:00                 ` Robert A Duff
1999-06-09  0:00                   ` Robert Dewar
1999-05-28  0:00               ` Rod Chapman
1999-05-28  0:00                 ` Robert Dewar
1999-05-28  0:00                   ` Richard D Riehle
1999-05-28  0:00                     ` David C. Hoos, Sr.
1999-05-20  0:00       ` Tarjei Tj�stheim Jensen
1999-05-20  0:00         ` Larry Kilgallen
1999-05-20  0:00           ` Tarjei Tj�stheim Jensen
1999-05-20  0:00             ` Larry Kilgallen
1999-05-21  0:00             ` Robert Dewar
1999-05-16  0:00 ` Robert Dewar [this message]
replies disabled

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