comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: STM32F4 GNAT Run Time System - roadmap
Date: Mon, 07 Dec 2015 16:31:27 +0000
Date: 2015-12-07T16:31:27+00:00	[thread overview]
Message-ID: <ly1taygqzk.fsf@pushface.org> (raw)
In-Reply-To: c6ace540-c022-49d7-b7f6-94405db70b23@googlegroups.com

Jere <jere.groups@gmail.com> writes:

> I am fairly new to the ARM arena, so this may be a stupid question but
> what exactly does svd2Ada generate based off of the SVD files?  From
> the description and what I saw in the git repo it sounds like it makes
> something like a BSP?

The SVD corresponds to the chip reference manual, and gives
register/field descriptions for the manufacturer-specific devices (so
not for e.g.NVIC). So the atsam3x8e SVD outputs

atsam3x8e-adc.ads
atsam3x8e-can.ads
atsam3x8e-chipid.ads
atsam3x8e-dacc.ads
atsam3x8e-dmac.ads
atsam3x8e-ebi.ads
atsam3x8e-efc.ads
atsam3x8e-emac.ads
atsam3x8e-hsmci.ads
atsam3x8e-interrupts.ads
atsam3x8e-matrix.ads
atsam3x8e-pio.ads
atsam3x8e-pmc.ads
atsam3x8e-pwm.ads
atsam3x8e-spi.ads
atsam3x8e-ssc.ads
atsam3x8e-sysc.ads
atsam3x8e-tc.ads
atsam3x8e-trng.ads
atsam3x8e-twi.ads
atsam3x8e-uart.ads
atsam3x8e-uotghs.ads
atsam3x8e-usart.ads
atsam3x8e.ads

where atsam3x8e.ads defines types for bitfields and, for example,

   PIOA_Base: constant := 16#400E0E00#;

for device register base addresses; and the others define specific
register definitions for devices.

Not all the generated files compile without error;

   compilation of atsam3x8e-adc.ads failed
   compilation of atsam3x8e-chipid.ads failed
   compilation of atsam3x8e-uotghs.ads failed

and, for the first,

atsam3x8e-adc.ads:525:07: reserved word "in" cannot be used as identifier
atsam3x8e-adc.ads:526:07: reserved word "out" cannot be used as identifier
atsam3x8e-adc.ads:531:15: expecting expression or component association
atsam3x8e-adc.ads:532:07: declaration expected

(the first two are the actual problem). So, work to be done.

  reply	other threads:[~2015-12-07 16:31 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
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 [this message]
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