]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Make Msp430ClockC a generic so that the target DCO clock and the ACLK can be
authorsmckown <smckown@4bc1554a-c7f2-4f65-a403-e0be01f0239c>
Tue, 9 Sep 2008 14:17:06 +0000 (14:17 +0000)
committerR. Steve McKown <rsmckown@gmail.com>
Tue, 1 Dec 2009 03:00:52 +0000 (20:00 -0700)
passed in as instantiation variables.  This provides a more TinyOS savvy
mechanism to set desired clocks as opposed to the prior method which involved
overriding macros defined in Msp430DcoSpec.h.  This and other enhancements to
the clock initialization has also slightly reduced executable sizes.  Below
is the Blink application from TinyOS 2.1.0, compiled with the plain vanilla
2.1.0 and with the clock init modifications for all msp430 platforms in the
standard distribution:

Compiled ROM sizes in bytes

|| Platform  || 2.1.0 || updated ||
||           ||       ||         ||
|| eyesIFX   || 2570  || 2510    ||
|| shimmer   || 2522  || 2462    ||
|| telosa    || 2538  || 2478    ||
|| telosb    || 2634  || 2574    ||
|| tinynode  || 2896  || 2838    ||


No differences found