D in AVR backend

Manu turkeyman at gmail.com
Sat Sep 21 03:25:35 PDT 2013


On 21 September 2013 19:34, Marcelo <mpolitzer.c at gmail.com> wrote:

> Hello I've just successfully lit a LED with a atmega88 using GDC.
> (AVR is a 8bit micro controller with 16bits pointers)
>
> I had to change GDC to accept a zero critsize and implemented
> these stubs for volatile operations on the memmory mapped IO.
>
> extern (C) void _d_criticalenter() {}
> extern (C) void _d_criticalexit() {}
>
> The toolchain is using newlib for now.
> My next step is to try making it with the avr-libc, and then get the IRQs
> working with the prologue and epilogue generated by it.
>
> Regards, Marcelo
>

[Like]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20130921/c6ec4f7c/attachment.html>


More information about the D.gnu mailing list