From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: GNAT GPL 2015 Troubles References: Date: Sun, 21 Jun 2015 04:55:31 -0500 Message-ID: <86d20p2xnw.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt) Cancel-Lock: sha1:V/QCMHlvp2WJIo/ED+tYa/QPYKM= MIME-Version: 1.0 Content-Type: text/plain X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 5227555868a15e97f808408727 X-Received-Bytes: 1428 X-Received-Body-CRC: 3762557471 Xref: news.eternal-september.org comp.lang.ada:26395 Date: 2015-06-21T04:55:31-05:00 List-Id: Simon Wright 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