EBo <e...@sandien.com> writes:

> If you do get a 9p stack working on the Arduino let me know.  If/when
> you do I'll offer to contribute some stepper code that properly deals
> with motor accel/decel, speed limiting, etc.  I may even port a
> runtime polymorphic RS274* (g-code) interpreter I wrote a decade ago
> for it.  That would be fun to get a 9p sensor platform up and running.

I was thinking about writing 9P client/servers for Arduino.  Developing
for Arduino is SURPRISINGLY easy--at least on Linux--you just install
the gcc avr cross-compiler and avrdude, untar the Arduino library
source, tweak the Makefile, cut-and-paste some skeleton code, #include
standard stuff you want to use, run make, and use the open source
program avrdude to upload the image to the microcontroller over the FTDI
USB serial interface.  I've done a lot on Linux, and it really suprised
me how straightforward it was programming the Arduino.

I looked around to see if there was a canonical 9P implementation that I
could use as a starting point.  Alas, I found about a brazillian
different implementations, in about as many languages.  If there was
canonical 9P client/serever skeleton code (in C, pseudocode, or some
other language) with "fill-in-your handler" placeholders, it would be
really straightforward to implement 9P clients/servers on Arduino.

...with one caveat, related to underspecification of the 9P protocol,
which I will ask about in a separate thread: "9P specification: minimum
number of fids".

Reply via email to