<div dir="ltr">On 21 September 2013 19:34, Marcelo <span dir="ltr"><<a href="mailto:mpolitzer.c@gmail.com" target="_blank">mpolitzer.c@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hello I've just successfully lit a LED with a atmega88 using GDC.<br>
(AVR is a 8bit micro controller with 16bits pointers)<br>
<br>
I had to change GDC to accept a zero critsize and implemented<br>
these stubs for volatile operations on the memmory mapped IO.<br>
<br>
extern (C) void _d_criticalenter() {}<br>
extern (C) void _d_criticalexit() {}<br>
<br>
The toolchain is using newlib for now.<br>
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.<br>
<br>
Regards, Marcelo<br>
</blockquote></div><br></div><div class="gmail_extra">[Like]<br></div></div>