Thanks for that, that TEP looks useful. I've had a look around and it looks like there is a GNU toolchain for the HC11/12.
I'll give it a go and let everyone know how it goes, if it works then other people might find it useful. Regards Rob On Wed, Mar 4, 2009 at 4:15 AM, Razvan Musaloiu-E. <[email protected]>wrote: > Hi! > > On Tue, 3 Mar 2009, Robert Moore wrote: > > Hi, >> >> I'm looking at building an operating environment for a unique sensor >> network >> setup for some multi-sensing MEMs sensor hardware and single link (power >> and >> data) physical layer that is currently being developed. >> >> I've decided to go with TinyOS because (among other reasons): >> >> a) It's designed for sensor networks, and thus exhibits the right >> properties I desire (e.g. low power etc.); and >> b) The component/wiring based nature of it suits the way I want to >> develop >> this system >> >> Now, the hardware that the nodes in this sensor network will use will >> probably vary, two processors in particular that have been mentioned are >> MSP430 (well suited to TinyOS!) and PPC (on a Virtex 5). >> >> Also, at uni we have a heap of HCS12's, which I'm very familiar with >> using. >> So ideally, I would like to do my initial development work on the HCS12 >> until the hardware is nailed down more concretely (it's a bit up in the >> air >> at the moment). >> >> In light of this I have a few questions: >> >> >> - Is there an authoritive source / tutorial for how to port TinyOS to a >> different platform / CPU (I've had a bit of a look around the TinyOS Wiki >> and the "TinyOS Programming" book, as well as a Google search, but >> nothing >> obvious pops up)? >> > > Have look at this TEP: > http://www.tinyos.net/tinyos-2.1.0/doc/html/tep131.html > > - How long / how much effort would it take to port to a different CPU? >> > > If the CPU is supported by GCC then is should be easier than otherwise. The > 8051 (which is present in CC2430 for example) is not. Martin Leopold managed > to port TinyOS to it by mangling the C code produced by nesC. You can see > the result here: > http://tinyos8051wg.sourceforge.net/ > I recently made an attempt to do it without mangling for SDCC and I made > good progress with it but I haven't finish it yet. :-) > > -- > Razvan ME > > - Has anyone done any work on porting to HCS12 / 68HC11 or similar? >> >> Thanks! >> >> -- >> Robert Moore >> 0400 7777 63 >> Website Designer >> http://www.mooredesign.com.au/ >> Web Support Officer - Curtin University >> http://www.curtin.edu.au/ >> >> -- Robert Moore 0400 7777 63 Website Designer http://www.mooredesign.com.au/ Web Support Officer - Curtin University http://www.curtin.edu.au/
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
