Yup, we had a portion of TinyOS running on an HCS08. It worked, but we had to use CodeWarrior. We were using the demo version, which was just barely sufficient to compile and install Blink and CntToLeds -- and it would artificially fail on anything larger. We decided we didn't want to subject users to additional thousands of dollars in licensing fees just to use the platform, so we switched to the MSP430 which has the MSPGCC toolchain.
GCC-based toolchains play nicer with nesC, which is a derivative of GCC. We had circumvented this problem with the HCS08 by having nesC only produce the output C source, app.c. We then mangled it into something acceptable by CodeWarrior with an intermediate perl script, then compiled that. That's the compiling logic you'll see in tools/make/hc08/ -- though it's unsupported and quite possibly decayed since the last time we used it (read: it may not work without some tweaking). Otherwise, to our knowledge, there's nothing preventing HCS08 from working well with TinyOS with some amount of elbow grease. We are quite happy with the TI MSP430 family, however, and we have enough cleaning up in TinyOS to better support two platforms (atmega and msp430), so we currently don't have any plans to go back to the HCS08 ourselves. Cory On Fri, 9 Jul 2004 17:02:28 +0200 (MEST), Mads Bondo Dydensborg <[EMAIL PROTECTED]> wrote: > Hi all > > I have been asked about TinyOS support for the Motorola 908HCS08 GT60 CPU. > I can see that early Telos revision used a CPU from this family. In fact, > there seems to be code from these days (jan 2004) in tos/beta/make/hc08 ? > > It seems Telos moved to the TI CPU because of toolchain troubles? I > noticed one post, from Loren James Rittle about using the Motorola CPU's > but this code seems to not have made it into cvs(?). > > Does anyone have up-to-date information about the feasibility of running > TinyOS on an HCS08 GT60 cpu? > > Thanks in advance, > > Mads _______________________________________________ Tinyos-users mailing list [EMAIL PROTECTED] http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users
