www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ldc - Status of ARM support

reply Joseph Rushton Wakeling <joseph.wakeling webdrake.net> writes:
Hi all,

Following Kai's excellent talk at DConf 2016, I thought I'd check 
in here to ask what current status is with ARM support.

This question might be answered on Kai's slides, but they're not 
yet linked to from the DConf website ... ;-)

What I'm interested in is the state of support on the ARM 
Cortex-M line.  I've seen the example of a Cortex-M4 project, and 
IIUC it's only the link.ld that is M4-specific; does this mean 
that support is in principle there for the entire Cortex-M line?  
And if so, does that support extend to druntime and phobos, or 
just the compiler itself?

Thanks & best wishes,

     -- Joe
May 16 2016
parent Dan Olson <gorox comcast.net> writes:
Joseph Rushton Wakeling <joseph.wakeling webdrake.net> writes:

 Hi all,

 Following Kai's excellent talk at DConf 2016, I thought I'd check in
 here to ask what current status is with ARM support.

 This question might be answered on Kai's slides, but they're not yet
 linked to from the DConf website ... ;-)

 What I'm interested in is the state of support on the ARM Cortex-M
 line.  I've seen the example of a Cortex-M4 project, and IIUC it's
 only the link.ld that is M4-specific; does this mean that support is
 in principle there for the entire Cortex-M line?  And if so, does that
 support extend to druntime and phobos, or just the compiler itself?

 Thanks & best wishes,

     -- Joe
Hi Joe, what is the target OS or libraries? That makes a difference. I personally haven't tested on a Cortex-M. These are Thumb only and later models are full Thumb-2. I can say Thumb-2 suppport is good in LDC and druntime/phobos; Thumb is not. Support for embedded C libs like newlib is probably lacking, but that is not Cortex-M specific. Related - I'm working on a project based on newlib and FreeRTOS. I may do some of it in D for fun and to further newlib support in druntime/phobos. -- Dan
May 16 2016