[Tinyos-devel] Re: [nescc-devel] nesC 1.2.5 available
henri dubois-ferriere
henridf at gmail.com
Mon Jun 12 11:20:39 PDT 2006
On 09/06/06, David Gay <dgay42 at gmail.com> wrote:
> 1.2.5 doesn't build on cygwin. I'll release 1.2.6 next week, which
> comes with a few other bug fixes too (I'm waiting in case some other
> bug shows up between now and Monday ;-)).
>
I'll take that bait: I think there's a bug in the wiring checks.
Simplest way to see is to compile e.g. RadioCountToLeds for tinynode
(make tinynode).
you will have the warning " interface XE1205PhyP.SplitControl
underwired", even though it is wired (as can be seen either by
checking the app.c, or going through the code:
tos/platforms/tinynode/ActiveMessageC.nc
tos/chips/xe1205/XE1205ActiveMessageC.nc
tos/chips/xe1205/XE1205SendReceiveP.nc
tos/chips/xe1205/XE1205Phy{C,P}.nc
Henri
> David Gay
>
> On 6/5/06, David Gay <dgay42 at gmail.com> wrote:
> > From sourceforge, as usual. There should be an rpm coming to
> > www.tinyos.net soon (Kristin, can you do this?)
> >
> > Changes in nesC 1.2.5
> > =====================
> > - nescc-mig now generates C (ncg has supported C since 1.1.2)
> > - add __builtin_offsetof keyword to make recent gcc's happy,
> > and update the gcc-specific asm syntax to reflect recent
> > gcc changes
> > - allow types defined in interface files to be used immediately in generic
> > interface arguments (e.g., interface Timer<TMilli>, where TMilli is
> > defined in Timer.nc)
> > - updates to automatic inlining - code should be slightly smaller
> > - @spontaneous() attribute is automatically added to the __nesc_XXX
> > functions used by the compiler
> > - atomic optimisation (experimental): if you specify -fnesc-optimize-atomic,
> > two optimisations are performed:
> > o outermost atomics call __nesc_disable/enable_interrupt, which can assume
> > that interrupts are initially enabled
> > o "simple" atomic statements have no overhead (interrupts are not disabled)
> > simple atomic statements are those:
> > - with no accesses to shared state
> > - or, at most one access to one byte of shared state
> > - bug fixes
> >
> > --
> > David Gay
> > david.e.gay at intel.com
> >
>
>
> _______________________________________________
> nescc-devel mailing list
> nescc-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nescc-devel
>
More information about the Tinyos-devel
mailing list