www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Apps for micrococontrollers

reply Shakirov Ruslan <shakirov.ruslan gmail.com> writes:
--000e0cd29bbe03845604a9af63e2
Content-Type: text/plain; charset=ISO-8859-1

Can I write applications for microcontrollers such as AVR ATMega or ARM7 on
D language?

--000e0cd29bbe03845604a9af63e2
Content-Type: text/html; charset=ISO-8859-1

Can I write applications for microcontrollers such as AVR ATMega or ARM7 on D
language?

--000e0cd29bbe03845604a9af63e2--
Aug 04 2011
next sibling parent reply Adam Ruppe <destructionator gmail.com> writes:
D isn't designed to run in 8 or 16 bit at all, but even with 32 bit,
in theory, it would work, but in practice i don't think any of the
compilers and runtimes are up to it right now.
Aug 04 2011
parent Shakirov Ruslan <shakirov.ruslan gmail.com> writes:
Thanks.
Aug 04 2011
prev sibling next sibling parent Andrew Wiley <wiley.andrew.j gmail.com> writes:
--0016e6d265b189e3e804a9b1907a
Content-Type: text/plain; charset=ISO-8859-1

On Thu, Aug 4, 2011 at 10:37 AM, Adam Ruppe <destructionator gmail.com>wrote:

 D isn't designed to run in 8 or 16 bit at all, but even with 32 bit,
 in theory, it would work, but in practice i don't think any of the
 compilers and runtimes are up to it right now.

GDC's fork of Phobos and DRuntime is mostly ready for ARM, but GDC itself currently has a few bugs there. The most significant one is that it doesn't align struct/class fields correctly per the ARM ABI. --0016e6d265b189e3e804a9b1907a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div class=3D"gmail_quote">On Thu, Aug 4, 2011 at 10:37 AM, Adam Ruppe <spa= n dir=3D"ltr">&lt;<a href=3D"mailto:destructionator gmail.com">destructiona= tor gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" st= yle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> D isn&#39;t designed to run in 8 or 16 bit at all, but even with 32 bit,<br=

compilers and runtimes are up to it right now.<br></blockquote><div><br></d= iv><div>GDC&#39;s fork of Phobos and DRuntime is mostly ready for ARM, but = GDC itself currently has a few bugs there. The most significant one is that= it doesn&#39;t align struct/class fields correctly per the ARM ABI.=A0</di= v> </div><br> --0016e6d265b189e3e804a9b1907a--
Aug 04 2011
prev sibling parent Johannes Pfau <spam example.com> writes:
Andrew Wiley wrote:
On Thu, Aug 4, 2011 at 10:37 AM, Adam Ruppe
<destructionator gmail.com>wrote:

 D isn't designed to run in 8 or 16 bit at all, but even with 32 bit,
 in theory, it would work, but in practice i don't think any of the
 compilers and runtimes are up to it right now.

GDC's fork of Phobos and DRuntime is mostly ready for ARM, but GDC itself currently has a few bugs there. The most significant one is that it doesn't align struct/class fields correctly per the ARM ABI.

could also mean the LPC2000 series, AT91SAM or similar ARM microcontrollers. Without massive changes phobos and druntime won't work on such systems. -- Johannes Pfau
Aug 05 2011