comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Getting started with bare-board development
Date: Wed, 16 Nov 2016 10:30:03 +0100
Date: 2016-11-16T10:30:03+01:00	[thread overview]
Message-ID: <o0h8uq$1q21$1@gioia.aioe.org> (raw)
In-Reply-To: o0fgra$fm2$1@dont-email.me

On 2016-11-15 18:32, Adam Jensen wrote:

> It still seems to me that the ability to compartmentalize the
> emulated/simulated/HIL environment from the workstation's environment
> would be helpful, if not essential, at various stages of development and
> verification.
>
> Does this make sense or is my view still somewhat askew?

Of course it does. We use GNAT project files for this with scenario 
variables controlling the choice of the tool-chain (e.g. cross-compiler) 
and source code directories (to handle target dependencies). It works 
pretty well.

>> Whatever OS/platform-dependent parts requiring test under an emulator,
>> they are quite minuscule or non-existent if an OS is used. Which is also
>> the reason why bare-board targets should be avoided where possible.
>
> I can appreciate how it might be desirable for the workstation and the
> embedded target to provide the same OS/RTS environmental abstractions
> (for a software application developer's convenience), but the class of
> embedded software that I have in mind probably needs to have deep
> integration with the hardware, and the hardware definitely will have
> very deep traction with reality.

AdaCore did some good job abstracting basic hardware interfaces missing 
in the standard library. I mean sockets, OS basic I/O, COM ports.

Most of other things are either:

1. hardware-specific. These are a part of the developing itself. Thus we 
would likely have to mock/simulate them anyway.

2. domain-specific. These are abstracted by other means, by a middleware 
in my case. So in the end they don't hinder switching from the 
workstation to target and back.

In short, it is not that horrific or complicated as it appears.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

  reply	other threads:[~2016-11-16  9:30 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-11 22:19 Getting started with bare-board development Adam Jensen
2016-11-11 22:43 ` Maciej Sobczak
2016-11-12  9:45 ` G.B.
2016-11-12 16:14   ` Adam Jensen
2016-11-12 19:15     ` artium
2016-11-12 21:37       ` Adam Jensen
2016-11-13  4:01     ` Jeffrey R. Carter
2016-11-13 20:03       ` Adam Jensen
2016-11-13 21:04         ` Jeffrey R. Carter
2016-11-13 22:00           ` Adam Jensen
2016-11-14  8:11             ` Paul Rubin
2016-11-14 23:03               ` Adam Jensen
2016-11-14  9:04             ` Dmitry A. Kazakov
2016-11-14 23:35               ` Adam Jensen
2016-11-15  8:38                 ` Dmitry A. Kazakov
2016-11-15  9:58                   ` Niklas Holsti
2016-11-15 17:32                   ` Adam Jensen
2016-11-16  9:30                     ` Dmitry A. Kazakov [this message]
2016-11-15  0:06             ` Jeffrey R. Carter
2016-11-14 18:17     ` Simon Wright
2016-11-14 22:52       ` Adam Jensen
2016-11-12 20:59 ` Brian Drummond
2016-11-15  1:14 ` antispam
2016-11-15  4:20   ` Adam Jensen
2016-11-19 22:46     ` antispam
2016-11-15 19:34 ` Robert Eachus
2016-11-15 22:07   ` Adam Jensen
replies disabled

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