From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: GNAT GPL 2015 Troubles
Date: Sun, 21 Jun 2015 04:55:31 -0500
Date: 2015-06-21T04:55:31-05:00 [thread overview]
Message-ID: <86d20p2xnw.fsf@stephe-leake.org> (raw)
In-Reply-To: ly616itbw6.fsf@pushface.org
Simon Wright <simon@pushface.org> writes:
> It would be a lot easier to navigate this IF ADACORE WOULD STOP USING
> "use"!!! It would be far simpler to understand
>
> procedure Initialize_Clocks is
>
> HSECLK : constant Integer := Integer (HSE_Clock (MCU_ID.DEV_ID));
> MCU_ID_Cp : constant MCU_ID_Register := MCU_ID;
>
> if they hadn't said
>
> with System.STM32F4; use System.STM32F4; << MCU_ID
> with System.STM32F4.RCC;
> with System.BB.Parameters; use System.BB.Parameters; << HSE_Clock
Does ada-mode navigation help here? Since these are pre-compiled files,
C-c C-d should always show the declaration of these identifiers, even if
your full project does not yet compile.
--
-- Stephe
next prev parent reply other threads:[~2015-06-21 9:55 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-20 18:38 GNAT GPL 2015 Troubles RasikaSrinivasan
2015-06-20 19:31 ` Simon Wright
2015-06-21 9:55 ` Stephen Leake [this message]
2015-06-21 11:13 ` Simon Wright
2015-06-21 16:00 ` RasikaSrinivasan
2015-06-21 16:21 ` Simon Wright
2015-06-23 14:07 ` Stephen Leake
2015-06-23 17:07 ` Simon Wright
2015-06-23 19:09 ` Simon Wright
2015-06-23 23:25 ` RasikaSrinivasan
2015-06-24 5:14 ` Pascal Obry
2015-06-24 11:34 ` David Botton
2015-06-23 13:35 ` Stephen Leake
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox