From mboxrd@z Thu Jan 1 00:00:00 1970 To: <9fans@9fans.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Sat, 30 Jul 2011 17:54:39 -0500 From: EBo In-Reply-To: <8639hnv9rk.fsf@cmarib.ramside> References: <20110729202529.19D6EB827@mail.bitblocks.com> <8639hnv9rk.fsf@cmarib.ramside> Message-ID: User-Agent: RoundCube Webmail/0.4-trunk Subject: Re: [9fans] Maybe a weird Plan 9 project. Topicbox-Message-UUID: 090c8f12-ead7-11e9-9d60-3106f5b1d025 On Sat, 30 Jul 2011 19:38:55 +0000, smiley@icebubble.org wrote: > 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 had some trouble in the past with the cross-compilation tools, but I have not had time to do anything fun like this for a year or two. Back before that I had 6+ compilers installed for cross platform work, and it was a bit twitchy. Other than getting them all installed, yes they were easy to use. > 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. I know that Eric recently submitted some 9p stuff up stream to the kernel folks. I would start by looking at npfs's source -- which BTW, provides a 9p file system on Linux. Seriously though, if you start working on an Arduino client let me know and I'll help if time and legal constraints allow. EBo --