Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Human beings were created by water to transport it uphill.


devel / comp.lang.ada / Working around -freestanding limitations?

SubjectAuthor
* Working around -freestanding limitations?Hou Van Boere
+* Re: Working around -freestanding limitations?Simon Wright
|`* Re: Working around -freestanding limitations?Hou Van Boere
| +* Re: Working around -freestanding limitations?DrPi
| |`- Re: Working around -freestanding limitations?Hou Van Boere
| `* Re: Working around -freestanding limitations?Hou Van Boere
|  `* Re: Working around -freestanding limitations?DrPi
|   `- Re: Working around -freestanding limitations?Hou Van Boere
+* Re: Working around -freestanding limitations?Niklas Holsti
|+* Re: Working around -freestanding limitations?Hou Van Boere
||`- Re: Working around -freestanding limitations?DrPi
|`* Re: Working around -freestanding limitations?DrPi
| `* Re: Working around -freestanding limitations?Hou Van Boere
|  `* Re: Working around -freestanding limitations?DrPi
|   `* Re: Working around -freestanding limitations?Hou Van Boere
|    `* Re: Working around -freestanding limitations?DrPi
|     `* Re: Working around -freestanding limitations?Hou Van Boere
|      `- Re: Working around -freestanding limitations?DrPi
`* Re: Working around -freestanding limitations?philip...@gmail.com
 `- Re: Working around -freestanding limitations?Hou Van Boere

1
Working around -freestanding limitations?

<9f2d643e-b610-4931-bd70-342b52c11566n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9447&group=comp.lang.ada#9447

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ac8:59c8:0:b0:3e4:de7a:d532 with SMTP id f8-20020ac859c8000000b003e4de7ad532mr9571140qtf.13.1680351997905;
Sat, 01 Apr 2023 05:26:37 -0700 (PDT)
X-Received: by 2002:a05:6902:1145:b0:b09:6f3d:ea1f with SMTP id
p5-20020a056902114500b00b096f3dea1fmr19789533ybu.4.1680351997736; Sat, 01 Apr
2023 05:26:37 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Sat, 1 Apr 2023 05:26:37 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=108.162.150.35; posting-account=DDNtpAoAAAAV3hXmyMtxrpph6Q7ui96s
NNTP-Posting-Host: 108.162.150.35
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9f2d643e-b610-4931-bd70-342b52c11566n@googlegroups.com>
Subject: Working around -freestanding limitations?
From: houvanboere@gmail.com (Hou Van Boere)
Injection-Date: Sat, 01 Apr 2023 12:26:37 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1503
 by: Hou Van Boere - Sat, 1 Apr 2023 12:26 UTC

Hi Everyone.

I know there are several floss RTOS option for us but I don't really need all of the supports they offer and they just make things more complex.

Here are my goals:

1)I want to build my own circuit board with a microprocessor not microcontroller.

2)I want to run with gcc/gnatmake ... -freestanding

3)I only need the Ada 83 subset, which I guess is pretty close to Ravenscaler

What options do I have? I like to keep things small and simple when possible.

Thanks for reading

Re: Working around -freestanding limitations?

<lycz4nhgis.fsf@pushface.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9450&group=comp.lang.ada#9450

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: simon@pushface.org (Simon Wright)
Newsgroups: comp.lang.ada
Subject: Re: Working around -freestanding limitations?
Date: Sat, 01 Apr 2023 14:35:23 +0100
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <lycz4nhgis.fsf@pushface.org>
References: <9f2d643e-b610-4931-bd70-342b52c11566n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="3e3a64104cc2d7860caec7249d2786af";
logging-data="2037885"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18/WBo/hHAtxFsseANxaPGcHBvfcsv5OjQ="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (darwin)
Cancel-Lock: sha1:/ECz5MCBU6fznpoIk4vbFHvlrVI=
sha1:ku7gUW4nH+b6pgr/Kg+cDjx2DAc=
 by: Simon Wright - Sat, 1 Apr 2023 13:35 UTC

Hou Van Boere <houvanboere@gmail.com> writes:

> 2)I want to run with gcc/gnatmake ... -freestanding

-freestanding isn't an option for gnatmake; where does it come from?

> 3)I only need the Ada 83 subset, which I guess is pretty close to Ravenscaler

The Ada 83 subset is going to be larger than Ravenscar.

If you don't want an RTOS you could use one of the light runtimes,
e.g. light-cortex-m0.

Re: Working around -freestanding limitations?

<69aeb532-f76d-435c-b091-2ba9d6d445c8n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9453&group=comp.lang.ada#9453

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:622a:88:b0:3e1:934d:ba1a with SMTP id o8-20020a05622a008800b003e1934dba1amr12017231qtw.3.1680365574859;
Sat, 01 Apr 2023 09:12:54 -0700 (PDT)
X-Received: by 2002:a81:af5a:0:b0:541:7237:6e6b with SMTP id
x26-20020a81af5a000000b0054172376e6bmr3977628ywj.0.1680365574668; Sat, 01 Apr
2023 09:12:54 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.uzoreto.com!peer01.ams4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Sat, 1 Apr 2023 09:12:54 -0700 (PDT)
In-Reply-To: <lycz4nhgis.fsf@pushface.org>
Injection-Info: google-groups.googlegroups.com; posting-host=108.162.150.35; posting-account=DDNtpAoAAAAV3hXmyMtxrpph6Q7ui96s
NNTP-Posting-Host: 108.162.150.35
References: <9f2d643e-b610-4931-bd70-342b52c11566n@googlegroups.com> <lycz4nhgis.fsf@pushface.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <69aeb532-f76d-435c-b091-2ba9d6d445c8n@googlegroups.com>
Subject: Re: Working around -freestanding limitations?
From: houvanboere@gmail.com (Hou Van Boere)
Injection-Date: Sat, 01 Apr 2023 16:12:54 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1465
 by: Hou Van Boere - Sat, 1 Apr 2023 16:12 UTC

" -freestanding isn't an option for gnatmake; where does it come from?"
Ha ha, chatGPT :)

Could you tell me where to find the light runtimes? I have only worked with Ada on full desktops. Does the FSF version ship with light runtimes?

Re: Working around -freestanding limitations?

<k8r3j4Frpk3U1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9454&group=comp.lang.ada#9454

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: niklas.holsti@tidorum.invalid (Niklas Holsti)
Newsgroups: comp.lang.ada
Subject: Re: Working around -freestanding limitations?
Date: Sat, 1 Apr 2023 19:14:28 +0300
Organization: Tidorum Ltd
Lines: 38
Message-ID: <k8r3j4Frpk3U1@mid.individual.net>
References: <9f2d643e-b610-4931-bd70-342b52c11566n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net EU9VfB0y4zOy8B25dEeElwJ8XFIobWXBiu0n0S7zSaIV9qj8bR
Cancel-Lock: sha1:59orYLt2OGUBfhrh90WHQ/2mogI=
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:102.0)
Gecko/20100101 Thunderbird/102.6.1
Content-Language: en-US
In-Reply-To: <9f2d643e-b610-4931-bd70-342b52c11566n@googlegroups.com>
 by: Niklas Holsti - Sat, 1 Apr 2023 16:14 UTC

On 2023-04-01 15:26, Hou Van Boere wrote:
> Hi Everyone.
>
> I know there are several floss RTOS option for us but I don't really
> need all of the supports they offer and they just make things more
> complex.

Certainly using most RTOS from Ada is more complex than using an Ada RTS
from Ada.

Do you want to use tasking at all? Or just a single thread?

> Here are my goals:
>
> 1)I want to build my own circuit board with a microprocessor not microcontroller.

Can you explain why? Input/output is often more complex with a
microprocessor (I assume you mean something that could run a PC or a
tablet) than with a microcontroller. A microprocessor may need a lot of
complex initialization and driver SW which you can get in some RTOS but
not in an Ada RTS. And I believe that circuit-board design is more
complex for microprocessors than for microcontrollers, however I have no
experience with either case.

> 2)I want to run with gcc/gnatmake ... -freestanding
>
> 3)I only need the Ada 83 subset, which I guess is pretty close to Ravenscaler

I see the Ada 83 tasking features as almost orthogonal to Ravenscar. Ada
83 has no protected objects, and all inter-task communication must be
done with rendez-vous using task entries. Ravenscar forbids task entries
and rendez-vous and substitutes protected objects. Both work, but
Ravenscar is perhaps more resistant to deadlock errors.

Re: Working around -freestanding limitations?

<u09m5s$mmk$2@shakotay.alphanet.ch>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9456&group=comp.lang.ada#9456

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!news.alphanet.ch!alphanet.ch!.POSTED!not-for-mail
From: 314@drpi.fr (DrPi)
Newsgroups: comp.lang.ada
Subject: Re: Working around -freestanding limitations?
Date: Sat, 1 Apr 2023 18:29:45 +0200
Organization: Posted through news.alphanet.ch
Message-ID: <u09m5s$mmk$2@shakotay.alphanet.ch>
References: <9f2d643e-b610-4931-bd70-342b52c11566n@googlegroups.com>
<lycz4nhgis.fsf@pushface.org>
<69aeb532-f76d-435c-b091-2ba9d6d445c8n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 1 Apr 2023 16:29:48 -0000 (UTC)
Injection-Info: shakotay.alphanet.ch; posting-account="dr.pi";
logging-data="23252"; mail-complaints-to="usenet@alphanet.ch"; posting-host="bda8ab3c43e8ad8cb626bfebe8390999.nnrp.alphanet.ch"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.9.1
Cancel-Lock: sha256:eN2xvinAimUGQArOL0bHDUhGTZQSHPqFdOeIexqrc0s=
In-Reply-To: <69aeb532-f76d-435c-b091-2ba9d6d445c8n@googlegroups.com>
Content-Language: en-GB
 by: DrPi - Sat, 1 Apr 2023 16:29 UTC

Le 01/04/2023 à 18:12, Hou Van Boere a écrit :
> " -freestanding isn't an option for gnatmake; where does it come from?"
> Ha ha, chatGPT :)
>
I guess it is -ffreestanding :
https://stackoverflow.com/questions/17692428/what-is-ffreestanding-option-in-gcc

Re: Working around -freestanding limitations?

<ae0f574f-2c35-44b6-bf7f-0a549996f68bn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9457&group=comp.lang.ada#9457

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:622a:1a94:b0:3d4:63fa:3db4 with SMTP id s20-20020a05622a1a9400b003d463fa3db4mr5273286qtc.5.1680367347455;
Sat, 01 Apr 2023 09:42:27 -0700 (PDT)
X-Received: by 2002:a25:2351:0:b0:b81:a13:50c3 with SMTP id
j78-20020a252351000000b00b810a1350c3mr3260298ybj.2.1680367347312; Sat, 01 Apr
2023 09:42:27 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Sat, 1 Apr 2023 09:42:26 -0700 (PDT)
In-Reply-To: <k8r3j4Frpk3U1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=108.162.150.35; posting-account=DDNtpAoAAAAV3hXmyMtxrpph6Q7ui96s
NNTP-Posting-Host: 108.162.150.35
References: <9f2d643e-b610-4931-bd70-342b52c11566n@googlegroups.com> <k8r3j4Frpk3U1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ae0f574f-2c35-44b6-bf7f-0a549996f68bn@googlegroups.com>
Subject: Re: Working around -freestanding limitations?
From: houvanboere@gmail.com (Hou Van Boere)
Injection-Date: Sat, 01 Apr 2023 16:42:27 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2679
 by: Hou Van Boere - Sat, 1 Apr 2023 16:42 UTC

Thanks for your feedback Niklas. I am new to Ravenscar(just spelled it wrong today), this is very helpful.

It would be nice to have threads but I am not sure I actually need them.

I have serviced scientific instruments for 24 years now. I want to start fabricating them. I will have some bumps along the way with PCB design but I am confident that it will work out.

I have been playing around with Ada since 2012 but I still have lots to learn and I don't program in the day so it is not my strong suit. The hardware side should work out but I am worried about the software end of things. Ada is lovely but massive. There are so many features, so many libraries(some of which are abandoned). There are only so many hours in a day.

I have a subset of the language I like and if I can just control CPU address and data lines, I shouldn't need a RTOS. Trying several of them out could take a great deal of time.

I don't seem to have any extra runtimes with my install:

gnatls -v

GNATLS 11.2.0
Copyright (C) 1997-2021, Free Software Foundation, Inc.

Source Search Path:
<Current_Directory>
/usr/lib64/gcc/x86_64-slackware-linux/11.2.0/adainclude

Object Search Path:
<Current_Directory>
/usr/lib64/gcc/x86_64-slackware-linux/11.2.0/adalib

Project Search Path:
<Current_Directory>
/usr/x86_64-slackware-linux/lib/gnat
/usr/x86_64-slackware-linux/share/gpr
/usr/share/gpr
/usr/lib/gnat

Re: Working around -freestanding limitations?

<9e663ce3-d098-4147-a228-b03c66cfc3cdn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9458&group=comp.lang.ada#9458

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:6214:1934:b0:5ad:e0b4:9003 with SMTP id es20-20020a056214193400b005ade0b49003mr5522876qvb.2.1680367550956;
Sat, 01 Apr 2023 09:45:50 -0700 (PDT)
X-Received: by 2002:a81:af24:0:b0:546:4456:78f9 with SMTP id
n36-20020a81af24000000b00546445678f9mr4325554ywh.3.1680367550788; Sat, 01 Apr
2023 09:45:50 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Sat, 1 Apr 2023 09:45:50 -0700 (PDT)
In-Reply-To: <u09m5s$mmk$2@shakotay.alphanet.ch>
Injection-Info: google-groups.googlegroups.com; posting-host=108.162.150.35; posting-account=DDNtpAoAAAAV3hXmyMtxrpph6Q7ui96s
NNTP-Posting-Host: 108.162.150.35
References: <9f2d643e-b610-4931-bd70-342b52c11566n@googlegroups.com>
<lycz4nhgis.fsf@pushface.org> <69aeb532-f76d-435c-b091-2ba9d6d445c8n@googlegroups.com>
<u09m5s$mmk$2@shakotay.alphanet.ch>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9e663ce3-d098-4147-a228-b03c66cfc3cdn@googlegroups.com>
Subject: Re: Working around -freestanding limitations?
From: houvanboere@gmail.com (Hou Van Boere)
Injection-Date: Sat, 01 Apr 2023 16:45:50 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1303
 by: Hou Van Boere - Sat, 1 Apr 2023 16:45 UTC

yes thanks -ffreestanding, -freestanding was a typo, sorry

Re: Working around -freestanding limitations?

<b2271508-253c-4a8c-8ac4-871f6258e3b5n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9459&group=comp.lang.ada#9459

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:6214:162e:b0:56e:952e:23ec with SMTP id e14-20020a056214162e00b0056e952e23ecmr2829148qvw.2.1680367828818;
Sat, 01 Apr 2023 09:50:28 -0700 (PDT)
X-Received: by 2002:a81:b388:0:b0:545:8202:bbcf with SMTP id
r130-20020a81b388000000b005458202bbcfmr14601643ywh.9.1680367828611; Sat, 01
Apr 2023 09:50:28 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Sat, 1 Apr 2023 09:50:28 -0700 (PDT)
In-Reply-To: <69aeb532-f76d-435c-b091-2ba9d6d445c8n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=108.162.150.35; posting-account=DDNtpAoAAAAV3hXmyMtxrpph6Q7ui96s
NNTP-Posting-Host: 108.162.150.35
References: <9f2d643e-b610-4931-bd70-342b52c11566n@googlegroups.com>
<lycz4nhgis.fsf@pushface.org> <69aeb532-f76d-435c-b091-2ba9d6d445c8n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b2271508-253c-4a8c-8ac4-871f6258e3b5n@googlegroups.com>
Subject: Re: Working around -freestanding limitations?
From: houvanboere@gmail.com (Hou Van Boere)
Injection-Date: Sat, 01 Apr 2023 16:50:28 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1501
 by: Hou Van Boere - Sat, 1 Apr 2023 16:50 UTC

" Could you tell me where to find the light runtimes? I have only worked with Ada on full desktops. Does the FSF version ship with light runtimes?"

I am just answering my own question to avoid wasting people's time. I fount this:
https://github.com/AdaCore/bb-runtimes

Re: Working around -freestanding limitations?

<u09nk1$sse$1@shakotay.alphanet.ch>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9460&group=comp.lang.ada#9460

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!news.alphanet.ch!alphanet.ch!.POSTED!not-for-mail
From: 314@drpi.fr (DrPi)
Newsgroups: comp.lang.ada
Subject: Re: Working around -freestanding limitations?
Date: Sat, 1 Apr 2023 18:54:20 +0200
Organization: Posted through news.alphanet.ch
Message-ID: <u09nk1$sse$1@shakotay.alphanet.ch>
References: <9f2d643e-b610-4931-bd70-342b52c11566n@googlegroups.com>
<k8r3j4Frpk3U1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 1 Apr 2023 16:54:25 -0000 (UTC)
Injection-Info: shakotay.alphanet.ch; posting-account="dr.pi";
logging-data="29582"; mail-complaints-to="usenet@alphanet.ch"; posting-host="bda8ab3c43e8ad8cb626bfebe8390999.nnrp.alphanet.ch"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.9.1
Cancel-Lock: sha256:HYmT6sRIyJjafc9nXjfZEo4XwMdwme3oMlfQ82Lvk3k=
Content-Language: en-GB
In-Reply-To: <k8r3j4Frpk3U1@mid.individual.net>
 by: DrPi - Sat, 1 Apr 2023 16:54 UTC

>> 1)I want to build my own circuit board with a microprocessor not
>> microcontroller.
>
>
> Can you explain why? Input/output is often more complex with a
> microprocessor (I assume you mean something that could run a PC or a
> tablet) than with a microcontroller. A microprocessor may need a lot of
> complex initialization and driver SW which you can get in some RTOS but
> not in an Ada RTS. And I believe that circuit-board design is more
> complex for microprocessors than for microcontrollers, however I have no
> experience with either case.

Nowadays, microprocessors are rare. Even x86 microprocessors could be
named microcontrollers since they integrate many (not all) peripherals.

High end microcontrollers are very complex to initialize. Especially
since they integrate security functionalities (like secure boot), SDRAM
controllers, PCIe controllers, Gigabit Ethernet controllers, 3D GPUs,
video encoders/decoders, camera interface, LCD interface, HDMI interface...

Even middle range microcontrollers are (very) complex.

Manufacturers provide drivers source code (in C) for all peripherals.
They also provide tools to graphically set chip configuration and output
C code to help the programmer.

Complexity depends on the chip you choose.

Re: Working around -freestanding limitations?

<u09nmb$sse$2@shakotay.alphanet.ch>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9461&group=comp.lang.ada#9461

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!news.alphanet.ch!alphanet.ch!.POSTED!not-for-mail
From: 314@drpi.fr (DrPi)
Newsgroups: comp.lang.ada
Subject: Re: Working around -freestanding limitations?
Date: Sat, 1 Apr 2023 18:55:36 +0200
Organization: Posted through news.alphanet.ch
Message-ID: <u09nmb$sse$2@shakotay.alphanet.ch>
References: <9f2d643e-b610-4931-bd70-342b52c11566n@googlegroups.com>
<lycz4nhgis.fsf@pushface.org>
<69aeb532-f76d-435c-b091-2ba9d6d445c8n@googlegroups.com>
<b2271508-253c-4a8c-8ac4-871f6258e3b5n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 1 Apr 2023 16:55:39 -0000 (UTC)
Injection-Info: shakotay.alphanet.ch; posting-account="dr.pi";
logging-data="29582"; mail-complaints-to="usenet@alphanet.ch"; posting-host="bda8ab3c43e8ad8cb626bfebe8390999.nnrp.alphanet.ch"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.9.1
Cancel-Lock: sha256:MgmqBpCxvRRqBaUg0SyuOHgnygJhwWODCRx7NJlZvh0=
Content-Language: en-GB
In-Reply-To: <b2271508-253c-4a8c-8ac4-871f6258e3b5n@googlegroups.com>
 by: DrPi - Sat, 1 Apr 2023 16:55 UTC

Le 01/04/2023 à 18:50, Hou Van Boere a écrit :
> " Could you tell me where to find the light runtimes? I have only worked with Ada on full desktops. Does the FSF version ship with light runtimes?"
>
> I am just answering my own question to avoid wasting people's time. I fount this:
> https://github.com/AdaCore/bb-runtimes
The best way is to use Alire https://alire.ada.dev/

Re: Working around -freestanding limitations?

<0d3897f4-f977-4240-9126-e057225af4f6n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9462&group=comp.lang.ada#9462

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ac8:7c48:0:b0:3bf:b9d9:675f with SMTP id o8-20020ac87c48000000b003bfb9d9675fmr11929004qtv.10.1680368329713;
Sat, 01 Apr 2023 09:58:49 -0700 (PDT)
X-Received: by 2002:a25:abee:0:b0:b68:7a4a:5258 with SMTP id
v101-20020a25abee000000b00b687a4a5258mr20115804ybi.3.1680368329521; Sat, 01
Apr 2023 09:58:49 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Sat, 1 Apr 2023 09:58:49 -0700 (PDT)
In-Reply-To: <u09nk1$sse$1@shakotay.alphanet.ch>
Injection-Info: google-groups.googlegroups.com; posting-host=108.162.150.35; posting-account=DDNtpAoAAAAV3hXmyMtxrpph6Q7ui96s
NNTP-Posting-Host: 108.162.150.35
References: <9f2d643e-b610-4931-bd70-342b52c11566n@googlegroups.com>
<k8r3j4Frpk3U1@mid.individual.net> <u09nk1$sse$1@shakotay.alphanet.ch>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0d3897f4-f977-4240-9126-e057225af4f6n@googlegroups.com>
Subject: Re: Working around -freestanding limitations?
From: houvanboere@gmail.com (Hou Van Boere)
Injection-Date: Sat, 01 Apr 2023 16:58:49 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1427
 by: Hou Van Boere - Sat, 1 Apr 2023 16:58 UTC

Thanks DrPi

I will probably stick with what I know. Most of the instruments I work on have Motorola chips and parallel buses. I don't think i will use SPi, IC2 or dozens of other protocols/features found in most modern circuit boards.

Re: Working around -freestanding limitations?

<205844a7-d9f5-4755-b292-bc0d41f66769n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9463&group=comp.lang.ada#9463

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:622a:1a8c:b0:3de:5a32:7b81 with SMTP id s12-20020a05622a1a8c00b003de5a327b81mr12024779qtc.0.1680368355563;
Sat, 01 Apr 2023 09:59:15 -0700 (PDT)
X-Received: by 2002:a05:6902:70f:b0:b75:8ac3:d5d2 with SMTP id
k15-20020a056902070f00b00b758ac3d5d2mr20563724ybt.4.1680368355376; Sat, 01
Apr 2023 09:59:15 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Sat, 1 Apr 2023 09:59:15 -0700 (PDT)
In-Reply-To: <u09nmb$sse$2@shakotay.alphanet.ch>
Injection-Info: google-groups.googlegroups.com; posting-host=108.162.150.35; posting-account=DDNtpAoAAAAV3hXmyMtxrpph6Q7ui96s
NNTP-Posting-Host: 108.162.150.35
References: <9f2d643e-b610-4931-bd70-342b52c11566n@googlegroups.com>
<lycz4nhgis.fsf@pushface.org> <69aeb532-f76d-435c-b091-2ba9d6d445c8n@googlegroups.com>
<b2271508-253c-4a8c-8ac4-871f6258e3b5n@googlegroups.com> <u09nmb$sse$2@shakotay.alphanet.ch>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <205844a7-d9f5-4755-b292-bc0d41f66769n@googlegroups.com>
Subject: Re: Working around -freestanding limitations?
From: houvanboere@gmail.com (Hou Van Boere)
Injection-Date: Sat, 01 Apr 2023 16:59:15 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1324
 by: Hou Van Boere - Sat, 1 Apr 2023 16:59 UTC

Thanks for the link

Re: Working around -freestanding limitations?

<u09nu1$sse$3@shakotay.alphanet.ch>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9464&group=comp.lang.ada#9464

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!news.alphanet.ch!alphanet.ch!.POSTED!not-for-mail
From: 314@drpi.fr (DrPi)
Newsgroups: comp.lang.ada
Subject: Re: Working around -freestanding limitations?
Date: Sat, 1 Apr 2023 18:59:42 +0200
Organization: Posted through news.alphanet.ch
Message-ID: <u09nu1$sse$3@shakotay.alphanet.ch>
References: <9f2d643e-b610-4931-bd70-342b52c11566n@googlegroups.com>
<k8r3j4Frpk3U1@mid.individual.net>
<ae0f574f-2c35-44b6-bf7f-0a549996f68bn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 1 Apr 2023 16:59:45 -0000 (UTC)
Injection-Info: shakotay.alphanet.ch; posting-account="dr.pi";
logging-data="29582"; mail-complaints-to="usenet@alphanet.ch"; posting-host="bda8ab3c43e8ad8cb626bfebe8390999.nnrp.alphanet.ch"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.9.1
Cancel-Lock: sha256:dLtF4xh1B3Deem7CGTPsOuosPAymAFMUZ+iAHl56sHo=
Content-Language: en-GB
In-Reply-To: <ae0f574f-2c35-44b6-bf7f-0a549996f68bn@googlegroups.com>
 by: DrPi - Sat, 1 Apr 2023 16:59 UTC

Le 01/04/2023 à 18:42, Hou Van Boere a écrit :
> Thanks for your feedback Niklas. I am new to Ravenscar(just spelled it wrong today), this is very helpful.
>
> It would be nice to have threads but I am not sure I actually need them.
>
> I have serviced scientific instruments for 24 years now. I want to start fabricating them. I will have some bumps along the way with PCB design but I am confident that it will work out.
>
> I have been playing around with Ada since 2012 but I still have lots to learn and I don't program in the day so it is not my strong suit. The hardware side should work out but I am worried about the software end of things. Ada is lovely but massive. There are so many features, so many libraries(some of which are abandoned). There are only so many hours in a day.
>
> I have a subset of the language I like and if I can just control CPU address and data lines, I shouldn't need a RTOS. Trying several of them out could take a great deal of time.
>
> I don't seem to have any extra runtimes with my install:

Today, the easiest route is to use ARM based chips as there are
maintained runtimes for them (through Alire and bbruntimes).

Re: Working around -freestanding limitations?

<u09o2r$sse$4@shakotay.alphanet.ch>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9465&group=comp.lang.ada#9465

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!news.alphanet.ch!alphanet.ch!.POSTED!not-for-mail
From: 314@drpi.fr (DrPi)
Newsgroups: comp.lang.ada
Subject: Re: Working around -freestanding limitations?
Date: Sat, 1 Apr 2023 19:02:15 +0200
Organization: Posted through news.alphanet.ch
Message-ID: <u09o2r$sse$4@shakotay.alphanet.ch>
References: <9f2d643e-b610-4931-bd70-342b52c11566n@googlegroups.com>
<k8r3j4Frpk3U1@mid.individual.net> <u09nk1$sse$1@shakotay.alphanet.ch>
<0d3897f4-f977-4240-9126-e057225af4f6n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 1 Apr 2023 17:02:19 -0000 (UTC)
Injection-Info: shakotay.alphanet.ch; posting-account="dr.pi";
logging-data="29582"; mail-complaints-to="usenet@alphanet.ch"; posting-host="bda8ab3c43e8ad8cb626bfebe8390999.nnrp.alphanet.ch"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.9.1
Cancel-Lock: sha256:XGTnCvdFDqqC8Mhunm1E83BitoMufKTkmer8KfPwSRY=
Content-Language: en-GB
In-Reply-To: <0d3897f4-f977-4240-9126-e057225af4f6n@googlegroups.com>
 by: DrPi - Sat, 1 Apr 2023 17:02 UTC

Le 01/04/2023 à 18:58, Hou Van Boere a écrit :
> Thanks DrPi
>
> I will probably stick with what I know. Most of the instruments I work on have Motorola chips and parallel buses. I don't think i will use SPi, IC2 or dozens of other protocols/features found in most modern circuit boards.
Great chips at their time but I'm afraid you'll have hard time compiling
a dedicated GNAT compiler.

Re: Working around -freestanding limitations?

<8352ced0-14bd-4dfb-9c83-a0e75a42d459n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9466&group=comp.lang.ada#9466

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ac8:5f4a:0:b0:3bf:da0f:ed7c with SMTP id y10-20020ac85f4a000000b003bfda0fed7cmr11070038qta.11.1680369869525;
Sat, 01 Apr 2023 10:24:29 -0700 (PDT)
X-Received: by 2002:a81:c401:0:b0:52b:fd10:4809 with SMTP id
j1-20020a81c401000000b0052bfd104809mr4230049ywi.0.1680369869261; Sat, 01 Apr
2023 10:24:29 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Sat, 1 Apr 2023 10:24:28 -0700 (PDT)
In-Reply-To: <u09o2r$sse$4@shakotay.alphanet.ch>
Injection-Info: google-groups.googlegroups.com; posting-host=108.162.150.35; posting-account=DDNtpAoAAAAV3hXmyMtxrpph6Q7ui96s
NNTP-Posting-Host: 108.162.150.35
References: <9f2d643e-b610-4931-bd70-342b52c11566n@googlegroups.com>
<k8r3j4Frpk3U1@mid.individual.net> <u09nk1$sse$1@shakotay.alphanet.ch>
<0d3897f4-f977-4240-9126-e057225af4f6n@googlegroups.com> <u09o2r$sse$4@shakotay.alphanet.ch>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8352ced0-14bd-4dfb-9c83-a0e75a42d459n@googlegroups.com>
Subject: Re: Working around -freestanding limitations?
From: houvanboere@gmail.com (Hou Van Boere)
Injection-Date: Sat, 01 Apr 2023 17:24:29 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Hou Van Boere - Sat, 1 Apr 2023 17:24 UTC

I am sure you are right but still, you get the general idea.

Thermo Electron has pretty much bought most of the industry out. I will copy and paste, mix and match old stuff to re-implement instruments they don't care about anymore. I don't need to make anything cutting edge. The old stuff was more than good enough

Re: Working around -freestanding limitations?

<u09te6$l3c$1@shakotay.alphanet.ch>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9467&group=comp.lang.ada#9467

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!news.alphanet.ch!alphanet.ch!.POSTED!not-for-mail
From: 314@drpi.fr (DrPi)
Newsgroups: comp.lang.ada
Subject: Re: Working around -freestanding limitations?
Date: Sat, 1 Apr 2023 20:33:36 +0200
Organization: Posted through news.alphanet.ch
Message-ID: <u09te6$l3c$1@shakotay.alphanet.ch>
References: <9f2d643e-b610-4931-bd70-342b52c11566n@googlegroups.com>
<k8r3j4Frpk3U1@mid.individual.net> <u09nk1$sse$1@shakotay.alphanet.ch>
<0d3897f4-f977-4240-9126-e057225af4f6n@googlegroups.com>
<u09o2r$sse$4@shakotay.alphanet.ch>
<8352ced0-14bd-4dfb-9c83-a0e75a42d459n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 1 Apr 2023 18:33:42 -0000 (UTC)
Injection-Info: shakotay.alphanet.ch; posting-account="dr.pi";
logging-data="21612"; mail-complaints-to="usenet@alphanet.ch"; posting-host="bda8ab3c43e8ad8cb626bfebe8390999.nnrp.alphanet.ch"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.9.1
Cancel-Lock: sha256:mOvsWYg74FvZh8eNSMGCCf8wBdjsZp3EBf056hCYRwc=
In-Reply-To: <8352ced0-14bd-4dfb-9c83-a0e75a42d459n@googlegroups.com>
Content-Language: en-GB
 by: DrPi - Sat, 1 Apr 2023 18:33 UTC

Le 01/04/2023 à 19:24, Hou Van Boere a écrit :
> I am sure you are right but still, you get the general idea.
>
> Thermo Electron has pretty much bought most of the industry out. I will copy and paste, mix and match old stuff to re-implement instruments they don't care about anymore. I don't need to make anything cutting edge. The old stuff was more than good enough

Indeed, an interesting project.

You first need a Ada cross-compiler. Here is a link about this :
https://wiki.osdev.org/GNAT_Cross-Compiler

You also need a runtime. This is up to you to code it. You can use
bbruntimes as a template. This can request modifications on your
hardware. For example, the runtime needs a timer to track time. If your
microprocessor do not have an embedded timer, you'll have to add one on
your board.

Other links of interest :
https://forum.ada-lang.io/
https://github.com/ohenley/awesome-ada

Matrix rooms (https://matrix.org/clients) :
Ada news : https://matrix.to/#/#ada-lang:matrix.org
Ada language : https://matrix.to/#/#ada-lang:matrix.org
Alire : https://matrix.to/#/#ada-lang_Alire:gitter.im

Many other resources exist.

Re: Working around -freestanding limitations?

<3a24c40b-09f3-4c3a-af2b-59058ca6891fn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9468&group=comp.lang.ada#9468

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:622a:199a:b0:3db:c138:ae87 with SMTP id u26-20020a05622a199a00b003dbc138ae87mr12081182qtc.6.1680375437016;
Sat, 01 Apr 2023 11:57:17 -0700 (PDT)
X-Received: by 2002:a05:6902:709:b0:a67:c976:c910 with SMTP id
k9-20020a056902070900b00a67c976c910mr15591334ybt.7.1680375436814; Sat, 01 Apr
2023 11:57:16 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Sat, 1 Apr 2023 11:57:16 -0700 (PDT)
In-Reply-To: <u09te6$l3c$1@shakotay.alphanet.ch>
Injection-Info: google-groups.googlegroups.com; posting-host=108.162.150.35; posting-account=DDNtpAoAAAAV3hXmyMtxrpph6Q7ui96s
NNTP-Posting-Host: 108.162.150.35
References: <9f2d643e-b610-4931-bd70-342b52c11566n@googlegroups.com>
<k8r3j4Frpk3U1@mid.individual.net> <u09nk1$sse$1@shakotay.alphanet.ch>
<0d3897f4-f977-4240-9126-e057225af4f6n@googlegroups.com> <u09o2r$sse$4@shakotay.alphanet.ch>
<8352ced0-14bd-4dfb-9c83-a0e75a42d459n@googlegroups.com> <u09te6$l3c$1@shakotay.alphanet.ch>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3a24c40b-09f3-4c3a-af2b-59058ca6891fn@googlegroups.com>
Subject: Re: Working around -freestanding limitations?
From: houvanboere@gmail.com (Hou Van Boere)
Injection-Date: Sat, 01 Apr 2023 18:57:17 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1423
 by: Hou Van Boere - Sat, 1 Apr 2023 18:57 UTC

Thanks for the fantastic help today DrPi

Re: Working around -freestanding limitations?

<u0a0jg$2cl$1@shakotay.alphanet.ch>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9469&group=comp.lang.ada#9469

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!news.alphanet.ch!alphanet.ch!.POSTED!not-for-mail
From: 314@drpi.fr (DrPi)
Newsgroups: comp.lang.ada
Subject: Re: Working around -freestanding limitations?
Date: Sat, 1 Apr 2023 21:27:40 +0200
Organization: Posted through news.alphanet.ch
Message-ID: <u0a0jg$2cl$1@shakotay.alphanet.ch>
References: <9f2d643e-b610-4931-bd70-342b52c11566n@googlegroups.com>
<k8r3j4Frpk3U1@mid.individual.net> <u09nk1$sse$1@shakotay.alphanet.ch>
<0d3897f4-f977-4240-9126-e057225af4f6n@googlegroups.com>
<u09o2r$sse$4@shakotay.alphanet.ch>
<8352ced0-14bd-4dfb-9c83-a0e75a42d459n@googlegroups.com>
<u09te6$l3c$1@shakotay.alphanet.ch>
<3a24c40b-09f3-4c3a-af2b-59058ca6891fn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 1 Apr 2023 19:27:44 -0000 (UTC)
Injection-Info: shakotay.alphanet.ch; posting-account="dr.pi";
logging-data="2453"; mail-complaints-to="usenet@alphanet.ch"; posting-host="bda8ab3c43e8ad8cb626bfebe8390999.nnrp.alphanet.ch"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.9.1
Cancel-Lock: sha256:HFcotyHnS8f3C5T/iTX9gChJd5nf3g6Z++d/EaB0fu0=
In-Reply-To: <3a24c40b-09f3-4c3a-af2b-59058ca6891fn@googlegroups.com>
Content-Language: en-GB
 by: DrPi - Sat, 1 Apr 2023 19:27 UTC

Le 01/04/2023 à 20:57, Hou Van Boere a écrit :
> Thanks for the fantastic help today DrPi
You're welcome :)

Re: Working around -freestanding limitations?

<63838a3b-16d2-4ab3-8df4-9fb02a2b700cn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9476&group=comp.lang.ada#9476

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:620a:2804:b0:746:99e0:92b4 with SMTP id f4-20020a05620a280400b0074699e092b4mr1463723qkp.5.1680711704782;
Wed, 05 Apr 2023 09:21:44 -0700 (PDT)
X-Received: by 2002:a81:ed6:0:b0:541:698b:7bdb with SMTP id
205-20020a810ed6000000b00541698b7bdbmr2248845ywo.2.1680711704264; Wed, 05 Apr
2023 09:21:44 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Wed, 5 Apr 2023 09:21:44 -0700 (PDT)
In-Reply-To: <9f2d643e-b610-4931-bd70-342b52c11566n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=107.77.211.213; posting-account=XGCYegoAAADY19DGgU_zTfTSbVlfUJ_a
NNTP-Posting-Host: 107.77.211.213
References: <9f2d643e-b610-4931-bd70-342b52c11566n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <63838a3b-16d2-4ab3-8df4-9fb02a2b700cn@googlegroups.com>
Subject: Re: Working around -freestanding limitations?
From: philip.munts@gmail.com (philip...@gmail.com)
Injection-Date: Wed, 05 Apr 2023 16:21:44 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2192
 by: philip...@gmail.com - Wed, 5 Apr 2023 16:21 UTC

I would suggest you look at my Linux Simple I/O Library: https://github.com/pmunts/libsimpleio
The Ada binding makes it pretty easy to build test fixtures, control devices, etc. I even used an Ada program to replace a multizone sprinkler controller.

Next, take a look at MuntsOS Embedded Linux: https://github.com/pmunts/muntsos

Together, they make it possible to replace many microcontroller applications with a Raspberry Pi or a BeagleBone or a PocketBeagle. With the Raspberry Pi family, it is very easy to fabricate custom boards using a Raspberry Pi Zero, CM3, or CM4 (least to most complex) as a CPU module. If you run Raspberry Pi OS instead of MuntsOS, it is even self hosting.

Currently I don't have any support for IEEE-488, though I have a USB interface and and old CalComp plotter on the shelf I've been meaning to play around with.

I'll be teaching a workshop at AdaEurope 2023 in Lisbon in June showing how all this works.

Regards, Phil

Re: Working around -freestanding limitations?

<b862bec7-800f-4954-8ea5-97c0763e146bn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9477&group=comp.lang.ada#9477

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ac8:5ac7:0:b0:3de:748e:fd30 with SMTP id d7-20020ac85ac7000000b003de748efd30mr1585279qtd.10.1680720281825;
Wed, 05 Apr 2023 11:44:41 -0700 (PDT)
X-Received: by 2002:a81:ad1c:0:b0:543:9065:b225 with SMTP id
l28-20020a81ad1c000000b005439065b225mr4100573ywh.5.1680720281526; Wed, 05 Apr
2023 11:44:41 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Wed, 5 Apr 2023 11:44:41 -0700 (PDT)
In-Reply-To: <63838a3b-16d2-4ab3-8df4-9fb02a2b700cn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=108.162.150.35; posting-account=DDNtpAoAAAAV3hXmyMtxrpph6Q7ui96s
NNTP-Posting-Host: 108.162.150.35
References: <9f2d643e-b610-4931-bd70-342b52c11566n@googlegroups.com> <63838a3b-16d2-4ab3-8df4-9fb02a2b700cn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b862bec7-800f-4954-8ea5-97c0763e146bn@googlegroups.com>
Subject: Re: Working around -freestanding limitations?
From: houvanboere@gmail.com (Hou Van Boere)
Injection-Date: Wed, 05 Apr 2023 18:44:41 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Hou Van Boere - Wed, 5 Apr 2023 18:44 UTC

Thanks Phil! Huge help

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor