<div dir="ltr"><div><br></div>With MicroPython, they use a C library called HAL to access it - I'm not sure of all the details, but I could find out.<div><br></div><div>USB is basically just like a hardware serial port I think, so it shouldn't be hard.</div><div><br></div><div>- Jon</div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 20, 2015 at 3:11 PM, Craig Latta <span dir="ltr"><<a href="mailto:craig@netjam.org" target="_blank">craig@netjam.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> It would be better if the REPL could be done through either a hardware<br>
> serial port, or the USB/serial interface.<br>
<br>
</span> Cool, I've supported hardware serial ports, too. I think USB would<br>
be straightforward, but I haven't done it before.<br>
<span class=""><br>
> The tricky part in all this, once you have the VM and image actually<br>
> running, is to interface with all the hardware capabilities of the<br>
> chip.<br>
<br>
</span> How are they accessible?<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
-C<br>
<br>
--<br>
Craig Latta<br>
<a href="http://netjam.org" target="_blank">netjam.org</a><br>
<a href="tel:%2B31%20%20%206%202757%207177" value="+31627577177">+31 6 2757 7177</a> (SMS ok)<br>
<a href="tel:%2B%201%20415%20%20287%203547" value="+14152873547">+ 1 415 287 3547</a> (no SMS)<br>
<br>
<br>
</div></div></blockquote></div><br></div></div></div>