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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.107.14.10 with SMTP id 10mr141569ioo.18.1518085543553; Thu, 08 Feb 2018 02:25:43 -0800 (PST) X-Received: by 10.157.11.124 with SMTP id p57mr8466otd.5.1518085543452; Thu, 08 Feb 2018 02:25:43 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.unit0.net!peer03.am4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!w142no693772ita.0!news-out.google.com!k194ni2495itb.0!nntp.google.com!o66no695186ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 8 Feb 2018 02:25:43 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=193.163.1.106; posting-account=Srm5lQoAAAAEMX9rv2ilEKR6FDPapmSq NNTP-Posting-Host: 193.163.1.106 References: <40a33f37-7a25-4587-a80e-2ef5f7528264@googlegroups.com> <9f4aa92f-f3bf-44f8-8316-c66e7eb0f4bc@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Reducing the cost of real-time software through a cyclic task abstraction for Ada From: Mark Lorenzen Injection-Date: Thu, 08 Feb 2018 10:25:43 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 2009 X-Received-Body-CRC: 1598416770 Xref: reader02.eternal-september.org comp.lang.ada:50328 Date: 2018-02-08T02:25:43-08:00 List-Id: On Wednesday, February 7, 2018 at 11:04:33 PM UTC+1, Simon Wright wrote: > I ws interested to see the claim that AdaCore BB RTS won't allow an MCU > to enter a low-power mode. I've not had occasion to try it out, but > FreeRTOS (which my Cortex GNAT RTS[1] runs on) does support this. Yes this claim seems rubbish to me. It is true that the AdaCore BB run-time idle loop is a busy loop which doesn't enter low-power mode, but this can be implemented by a lowest-priority task with an infinite loop entering low-power mode. On a LEON3 platform we assigned the lowest priority to the environment task and implemented such an infinite loop in the main program. It works very well. Regards, Mark L