[9fans] Arm Thumb compiler for Cortex-M

2020-11-05 Thread Thaddeus Woskowiak
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 -

Re: [9fans] Arm Thumb compiler for Cortex-M

2020-11-05 Thread Charles Forsyth
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 1

Re: [9fans] Arm Thumb compiler for Cortex-M

2020-11-05 Thread Don A. Bailey
Any source available? > On Nov 5, 2020, at 6:11 PM, Charles Forsyth 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 fai

Re: [9fans] Arm Thumb compiler for Cortex-M

2020-11-05 Thread Charles Forsyth
It's utils/tc in the Inferno tree. 5a does both ARM32 and Thumb (because it's abstract assembly), as does 5l. On Fri, Nov 6, 2020 at 12:28 AM Don A. Bailey wrote: > Any source available? > > On Nov 5, 2020, at 6:11 PM, Charles Forsyth > wrote: > >  > There was a 5[ac] variant for Inferno (ta,

Re: [9fans] Arm Thumb compiler for Cortex-M

2020-11-05 Thread Charles Forsyth
tc is different because the register allocation and code generation strategies are different from normal ARM On Fri, Nov 6, 2020 at 12:46 AM Charles Forsyth wrote: > It's utils/tc in the Inferno tree. 5a does both ARM32 and Thumb (because > it's abstract assembly), as does 5l. > > On Fri, Nov 6,

Re: [9fans] Arm Thumb compiler for Cortex-M

2020-11-05 Thread Don A. Bailey
Where the heck is the inferno tree? > On Nov 5, 2020, at 6:48 PM, Charles Forsyth wrote: > >  > tc is different because the register allocation and code generation > strategies are different from normal ARM > >> On Fri, Nov 6, 2020 at 12:46 AM Charles Forsyth >> wrote: >> It's utils/tc in t

Re: [9fans] Arm Thumb compiler for Cortex-M

2020-11-05 Thread Charles Forsyth
http://vitanuova.com/inferno/downloads.html On Fri, Nov 6, 2020 at 12:51 AM Don A. Bailey wrote: > Where the heck is the inferno tree? > > On Nov 5, 2020, at 6:48 PM, Charles Forsyth > wrote: > >  > tc is different because the register allocation and code generation > strategies are different

Re: [9fans] Arm Thumb compiler for Cortex-M

2020-11-05 Thread Don A. Bailey
Oh right. Thanks, Charles > On Nov 5, 2020, at 6:59 PM, Charles Forsyth wrote: > >  > http://vitanuova.com/inferno/downloads.html > >> On Fri, Nov 6, 2020 at 12:51 AM Don A. Bailey wrote: >> Where the heck is the inferno tree? >> On Nov 5, 2020, at 6:48 PM, Charles Forsyth wrote