comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Getting started with bare-board development
Date: Mon, 14 Nov 2016 18:17:52 +0000
Date: 2016-11-14T18:17:52+00:00	[thread overview]
Message-ID: <lyh97a6i3z.fsf@pushface.org> (raw)
In-Reply-To: o07f4o$9r4$1@dont-email.me

Adam Jensen <hanzer@riseup.net> writes:

> * How does one develop and verify a Board Support Package (device
> drivers, bootloader, etc.)?

The Cortex-M4 boards developed for e.g.PixRacer[1], based on STM32F427,
support DFU[2] and JTAG.

Starting from AdaCore's STM32F429 offering, only a very few packages
need to be modified for the BSP: setting up the board's clocks to use a
24 MHz crystal rather than 8 MHz, and terminal i/o via UART7 rather than
USART1.

[1] https://pixhawk.org/modules/pixracer
[2] https://en.wikipedia.org/wiki/USB#Device_Firmware_Upgrade

> * Do the various typical embedded platform profiles (e.g., Ravenscar)
> require any Run-Time System implementation or extension?

Yes, indeed! you can see AdaCore's implementations at [3].

[3] https://github.com/AdaCore/embedded-runtimes

> * Is the BSP and RTS the kind of software that might/should be
> implemented in Spark?

AdaCore have certainly added pre- and post-conditions on a couple of the
tasking RTS components. My feeling is that it would be quite hard to
retrofit SPARK to their RTS. This may be conditioned by trying to use
SPARK to prove exception freedom for device drivers - but things like
volatility, pointers and time would be much better addressed in a
context that had budget for training and support.


  parent reply	other threads:[~2016-11-14 18:17 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
2016-11-15  0:06             ` Jeffrey R. Carter
2016-11-14 18:17     ` Simon Wright [this message]
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