From 519e9d318b8708ee9cd8a63c177ec70b8adb87b8 Mon Sep 17 00:00:00 2001 From: r-studio Date: Mon, 7 Sep 2009 14:05:02 +0000 Subject: [PATCH] added support for mulle in net programing --- tos/lib/net/Deluge/extra/NetProgC.nc | 8 ++++++-- tos/lib/net/Deluge/extra/NetProgM.nc | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/tos/lib/net/Deluge/extra/NetProgC.nc b/tos/lib/net/Deluge/extra/NetProgC.nc index 462ff7da..9857964a 100644 --- a/tos/lib/net/Deluge/extra/NetProgC.nc +++ b/tos/lib/net/Deluge/extra/NetProgC.nc @@ -53,7 +53,11 @@ implementation { components LedsC; NetProgM.Leds -> LedsC; - components CC2420ControlP, ActiveMessageAddressC; - NetProgM.CC2420Config -> CC2420ControlP; + components ActiveMessageAddressC; NetProgM.setAmAddress -> ActiveMessageAddressC; + +#if !defined(PLATFORM_MULLE) + components CC2420ControlP; + NetProgM.CC2420Config -> CC2420ControlP; +#endif } diff --git a/tos/lib/net/Deluge/extra/NetProgM.nc b/tos/lib/net/Deluge/extra/NetProgM.nc index e77ebeed..95f4d30b 100644 --- a/tos/lib/net/Deluge/extra/NetProgM.nc +++ b/tos/lib/net/Deluge/extra/NetProgM.nc @@ -40,7 +40,9 @@ module NetProgM { interface InternalFlash as IFlash; interface Crc; interface Leds; +#if !defined(PLATFORM_MULLE) interface CC2420Config; +#endif async command void setAmAddress(am_addr_t a); interface ReprogramGuard; } -- 2.39.2