comp.lang.ada
 help / color / mirror / Atom feed
From: Mark Lorenzen <mark.lorenzen@gmail.com>
Subject: Re: Reducing the cost of real-time software through a cyclic task abstraction for Ada
Date: Thu, 8 Feb 2018 02:25:43 -0800 (PST)
Date: 2018-02-08T02:25:43-08:00	[thread overview]
Message-ID: <dddcf3e2-9752-4d2a-96d2-6925616195fe@googlegroups.com> (raw)
In-Reply-To: <lyvaf8mp76.fsf@pushface.org>

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


  reply	other threads:[~2018-02-08 10:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-05  0:27 Reducing the cost of real-time software through a cyclic task abstraction for Ada Shark8
2018-02-06 14:13 ` guyclaude.burger
2018-02-07 22:04   ` Simon Wright
2018-02-08 10:25     ` Mark Lorenzen [this message]
2018-02-09 21:03       ` Shark8
2018-02-07 18:25 ` Lucretia
2018-02-07 19:12   ` Shark8
2018-02-07 21:25     ` Lucretia
replies disabled

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