comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: STM32F4 GNAT Run Time System - roadmap
Date: Sun, 06 Dec 2015 18:34:41 +0000
Date: 2015-12-06T18:34:41+00:00	[thread overview]
Message-ID: <lya8pnh1dq.fsf@pushface.org> (raw)
In-Reply-To: ml96i2$3qs$2@dont-email.me

Brian Drummond <brian@shapes.demon.co.uk> writes:

> Anything that can be done to make adding an MCU easier is
> worthwhile. In the MSP430 case I had a parser for the C header files
> so that all MSP430s were available (to the extent the parser worked)
> but that won't work across multiple manufacturers.
>
> So establishing a framework into which someone can plug in the details
> of a new MCU, or which guides or helps him in doing so, would be
> important.

ARM's CMSIS[1] contains (in the CMSIS-SVD tab) the definition

   "The System View Description (SVD) files provide peripheral
   information and other device parameters in formalized XML based
   format.

   "The SVD file typically matches the information provided by silicon
   vendors in device reference manuals."

AdaCore, as recently noted here, have made some tools available on
Github[2]; one of these is svd2ada.

There are a lot of SVDs archived at [3]. They appear to have come from
the ARM site[1] (but there are more vendors at [3] than at [1]).

svd2ada will process these files (well, I tried the Arduino Due,
ATSAM3X8E, and AdaCore used STM32F4*); I've not done any evaluation yet
aside from noting that they generate the GNAT-specific
Volatile_Full_Access aspect, which is noted in the 'under development'
version of the GCC docs (so, will likely be in GCC 6). Maybe plain
Volatile will do (but users would have to remember to access the whole
register explicitly, rather than leaving it up to the compiler to Do The
Right Thing); that would be an easy-enough patch.

[1]
http://www.arm.com/products/processors/cortex-m/cortex-microcontroller-software-interface-standard.php
[2] https://github.com/AdaCore
[3] https://github.com/posborne/cmsis-svd

  parent reply	other threads:[~2015-12-06 18:34 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-09 12:02 STM32F4 GNAT Run Time System - roadmap Simon Wright
2015-06-09 19:44 ` Tero Koskinen
2015-06-12 17:31   ` MIchael Erdmann
2015-06-12 18:19     ` Simon Wright
2015-06-09 20:08 ` jan.de.kruyf
2015-06-10 17:47   ` Simon Wright
2015-06-10 19:54     ` jan.de.kruyf
2015-06-10 21:11       ` Simon Wright
2015-06-10  8:19 ` jan.de.kruyf
2015-06-10  8:24 ` jan.de.kruyf
2015-06-10 17:55   ` Simon Wright
2015-06-10 19:30     ` jan.de.kruyf
2015-06-10 11:20 ` Brian Drummond
2015-06-10 21:19   ` Simon Wright
2015-06-11 10:10     ` Brian Drummond
2015-06-13 13:21     ` Jedi Tek'Unum
2015-06-13 14:15       ` Dmitry A. Kazakov
2015-06-13 14:55       ` Simon Wright
2015-06-13 17:43         ` Jedi Tek'Unum
2015-12-06 18:34   ` Simon Wright [this message]
2015-12-07 10:39     ` Brian Drummond
2016-01-28 20:52       ` Simon Wright
2016-01-30 14:21         ` Brian Drummond
2015-12-07 15:13     ` Jere
2015-12-07 16:31       ` Simon Wright
2015-12-07 16:49       ` Simon Wright
2015-12-07 17:56         ` Jere
2015-12-07 22:02           ` Simon Wright
2015-12-08 14:03             ` Jere
2015-12-08 15:07               ` Tero Koskinen
2015-12-09  1:46                 ` Jere
2015-12-08  2:11     ` Randy Brukardt
2015-12-09 18:46       ` Simon Clubley
2015-12-09 22:47         ` Randy Brukardt
2015-12-10 18:22           ` Simon Clubley
2015-12-11 14:59       ` AI12-0128 (was: STM32F4 GNAT Run Time System - roadmap) Simon Wright
2015-12-11 21:18         ` Randy Brukardt
2015-06-10 15:20 ` STM32F4 GNAT Run Time System - roadmap Patrick Noffke
2015-06-15 19:03 ` Simon Wright
replies disabled

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