From f1d9c650fdb9777649aca375abd1ea6fd29f54d0 Mon Sep 17 00:00:00 2001 From: smckown Date: Mon, 8 Sep 2008 21:31:38 +0000 Subject: [PATCH] P1.1, BSL_TX, must be an input, since it is tied to P3.6 UC_TX, which is the output. --- tos/platforms/tmicore/MoteClockC.nc | 3 +++ tos/platforms/tmicore/MotePlatformC.nc | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/tos/platforms/tmicore/MoteClockC.nc b/tos/platforms/tmicore/MoteClockC.nc index 46da184e..395707a4 100644 --- a/tos/platforms/tmicore/MoteClockC.nc +++ b/tos/platforms/tmicore/MoteClockC.nc @@ -35,9 +35,12 @@ * @author R. Steve McKown */ +#if 0 #define MS430DCOSPEC_H #define TARGET_DCO_KHZ 8192 // the target DCO clock rate in binary kHz +//#define TARGET_DCO_KHZ 4096 // the target DCO clock rate in binary kHz #define ACLK_KHZ 32 // the ACLK rate in binary kHz +#endif configuration MoteClockC { provides interface Init as MoteClockInit; diff --git a/tos/platforms/tmicore/MotePlatformC.nc b/tos/platforms/tmicore/MotePlatformC.nc index 25622f99..7477a562 100644 --- a/tos/platforms/tmicore/MotePlatformC.nc +++ b/tos/platforms/tmicore/MotePlatformC.nc @@ -46,8 +46,8 @@ implementation { /* Port 1: 7:BQSTAT2, 6:BQSTAT1, 5:-, 4:-, 3:CP_CTS, 2:CP_RTS, 1:BSL_TX, 0:- */ P1SEL = 0; /* 0 0 0 0 0 0 0 0 */ - P1OUT = 0x3b; /* 0 0 1 1 1 0 1 1 */ - P1DIR = 0x3b; /* 0 0 1 1 1 0 1 1 */ + P1OUT = 0x39; /* 0 0 1 1 1 0 0 1 */ + P1DIR = 0x39; /* 0 0 1 1 1 0 0 1 */ /* Port 2: 7:-, 6:-, 5:nBUTTON, 4:nUSB_SUSPEND, 3:-, 2:BSL_RX, 1:nUSBPG, 0:nSOLARPG */ P2SEL = 0; /* 0 0 0 0 0 0 0 0 */ -- 2.39.2