9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Thaddeus Woskowiak <tswoskowiak@gmail.com>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] Arm Thumb compiler for Cortex-M
Date: Sat, 7 Nov 2020 09:22:37 -0500	[thread overview]
Message-ID: <CAG3JMta+uAEE8-0wN+SBTgQ87s2dAz=926A5e1z3wfcs2=zd-A@mail.gmail.com> (raw)
In-Reply-To: <CAOw7k5htqngB3FGaLdcF9WSrKVhr-qc3FO2ZuYPZdtrxn5Z2bA@mail.gmail.com>

On Thu, Nov 5, 2020 at 7:12 PM Charles Forsyth
<charles.forsyth@gmail.com> wrote:
>
> There was a 5[ac] variant for Inferno (ta, tc) that produced Thumb code, and 5l could link Thumb and ARM32 code.
> That wasn't extended once Thumb-2 was issued, since it was different enough to require a fair amount of work and we had no immediate application on the Cortex.
>
>
> On Thu, Nov 5, 2020 at 11:38 PM Thaddeus Woskowiak <tswoskowiak@gmail.com> wrote:
>>
>> I would like to know if anyone is working on or exists an Arm Thumb
>> compiler so one could use plan 9 to program Arm Cortex M0/3/4/7
>> microcontrollers directly. I know of Charles Forsyth's xc AVR compiler
>> which is also interesting. Though I have yet to try it out.
>>
>> -taw
>>
>> ------------------------------------------
>> 9fans: 9fans
>> Permalink: https://9fans.topicbox.com/groups/9fans/Tc22ac8ae61456f10-M53d9114f6a2c6402ef14fd63
>> Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
>
> 9fans / 9fans / see discussions + participants + delivery options Permalink

Charles, Thank you for the information. So Thumb compiling and
assembly is handled by tc and ta respectively while 5l can handle
linking both thumb code and arm 32.

I guess my next question is: does this mean Inferno can run on certain
Cortex-M micros since it can run MMU-less? (provided enough memory of
course) And has this been done before?

  parent reply	other threads:[~2020-11-07 14:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-05 23:36 Thaddeus Woskowiak
2020-11-06  0:10 ` [9fans] " Charles Forsyth
2020-11-06  0:27   ` Don A. Bailey
2020-11-06  0:46     ` Charles Forsyth
2020-11-06  0:47       ` Charles Forsyth
2020-11-06  0:49         ` Don A. Bailey
2020-11-06  0:58           ` Charles Forsyth
2020-11-06  1:16             ` Don A. Bailey
2020-11-07 14:22   ` Thaddeus Woskowiak [this message]
2020-11-07 15:03     ` Charles Forsyth
2020-11-07 21:22       ` Anthony Martin
2020-11-08  1:45         ` Charles Forsyth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAG3JMta+uAEE8-0wN+SBTgQ87s2dAz=926A5e1z3wfcs2=zd-A@mail.gmail.com' \
    --to=tswoskowiak@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).