]> oss.titaniummirror.com Git - tinyos-2.x.git/log
tinyos-2.x.git
14 years agoAdded SPI support. Now working using the loopback feature (UCLISTEN bit).
smckown [Wed, 10 Sep 2008 22:15:35 +0000 (22:15 +0000)]
Added SPI support.  Now working using the loopback feature (UCLISTEN bit).
Also fixed a relocation error problem due to packed structures and placement
of instantiations in text page via "const static ...".  No change to text
or data page sizes at compilation.  Since msp430_usci_xxx_t will never be on
the stack, removal of the packed attribute was the way to work around what
appears to be a compiler problem.

14 years agoFix up atomic warnings for robug in MSp430UartP.nc.
smckown [Tue, 9 Sep 2008 18:10:36 +0000 (18:10 +0000)]
Fix up atomic warnings for robug in MSp430UartP.nc.

14 years agoAdd support for the cp210x chipset, which is simply a debounced version status
smckown [Tue, 9 Sep 2008 17:55:51 +0000 (17:55 +0000)]
Add support for the cp210x chipset, which is simply a debounced version status
of the chip's USB_SUSPENDn pin.

14 years agoImplement support for the BQ2403x charge controller family. Only tested with
smckown [Tue, 9 Sep 2008 16:50:07 +0000 (16:50 +0000)]
Implement support for the BQ2403x charge controller family.  Only tested with
the BQ24032.

14 years agoUpdate HplMsp430Interrupt(P|C) to support msp430 parts with pullup/pulldown
smckown [Tue, 9 Sep 2008 16:49:27 +0000 (16:49 +0000)]
Update HplMsp430Interrupt(P|C) to support msp430 parts with pullup/pulldown
resistors.

14 years agoFix up copyright info on tos/chips/msp430/pins/HplMsp430GeneralIORenP.nc.
smckown [Tue, 9 Sep 2008 14:47:01 +0000 (14:47 +0000)]
Fix up copyright info on tos/chips/msp430/pins/HplMsp430GeneralIORenP.nc.
Attribution must be presented to file from which this one was derived.

14 years agoAdjust tmicore platform to NOT use tos/chips/msp430/clock2. This code is
smckown [Tue, 9 Sep 2008 14:36:03 +0000 (14:36 +0000)]
Adjust tmicore platform to NOT use tos/chips/msp430/clock2.  This code is
more efficient in code size, but it may not work for all msp430s.

14 years agoMove the clock components back into msp430/timer. It appears that supporting
smckown [Tue, 9 Sep 2008 14:32:48 +0000 (14:32 +0000)]
Move the clock components back into msp430/timer.  It appears that supporting
the new basic clock module+ is so straightforward we don't need to separate it
out.  Moving things back reduces change to the main tree, making it more likely
for the changes to be accepted.

14 years agoTrack changes to clock/Msp430ClockP.nc in clock2/Msp430ClockP.nc
smckown [Tue, 9 Sep 2008 14:27:20 +0000 (14:27 +0000)]
Track changes to clock/Msp430ClockP.nc in clock2/Msp430ClockP.nc

14 years agoImplement auto-set of SMCLK divider. SMCLK will be properly set to 1 binary
smckown [Tue, 9 Sep 2008 14:26:52 +0000 (14:26 +0000)]
Implement auto-set of SMCLK divider.  SMCLK will be properly set to 1 binary
MHz if the DCOCLK is set to 1, 2, 4 or 8 binary MHz.

14 years agoMake Msp430ClockC a generic so that the target DCO clock and the ACLK can be
smckown [Tue, 9 Sep 2008 14:17:06 +0000 (14:17 +0000)]
Make Msp430ClockC a generic so that the target DCO clock and the ACLK can be
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    ||

14 years agoPropagate changes from msp430/clock/Msp430ClockP.nc to is sibling in
smckown [Tue, 9 Sep 2008 13:51:35 +0000 (13:51 +0000)]
Propagate changes from msp430/clock/Msp430ClockP.nc to is sibling in
msp430/clock2.

14 years agoThese changes allow a BC+ equipped msp430 to properly calibrate.
smckown [Tue, 9 Sep 2008 13:47:02 +0000 (13:47 +0000)]
These changes allow a BC+ equipped msp430 to properly calibrate.

14 years agoProper support for the new basic_clock+ peripheral. Default UART baud rate is
smckown [Tue, 9 Sep 2008 04:35:28 +0000 (04:35 +0000)]
Proper support for the new basic_clock+ peripheral.  Default UART baud rate is
115200, 8 data bits, no parity, 1 stop bit.  tmicore overrides the default MCLK
setting of 4MHz (binary) in favor of 8MHz (binary).  The updated clock init
code ensures SMCLK is 1MHz (binary) when DCOCLK is 1MHz, 2MHz, 4MHz or 8MHz.

14 years agoThe msp430 now has two basic clock peripherals. Add tos/chips/msp430/clock and
smckown [Tue, 9 Sep 2008 02:30:44 +0000 (02:30 +0000)]
The msp430 now has two basic clock peripherals.  Add tos/chips/msp430/clock and
move basic clock and clock configuration files from timer to clock directories.
Update .platform files accordingly.

14 years agoLet's let the compiler type system work for us. Instead of having a single
smckown [Mon, 8 Sep 2008 23:41:18 +0000 (23:41 +0000)]
Let's let the compiler type system work for us.  Instead of having a single
msp430_usci_config_t that is a union of the types for each mode, instead we
now have separate types.

14 years agoReplace the special-purpose Msp430UsciConfigure interface with the
smckown [Mon, 8 Sep 2008 23:31:14 +0000 (23:31 +0000)]
Replace the special-purpose Msp430UsciConfigure interface with the
parameterized AsyncConfigure interface.  Too bad that this interface doesn't
exist in standard TOS.

14 years agoUpdate Msp430UartA0C.nc to match recent changes in Msp430UartA1C. Spruce up
smckown [Mon, 8 Sep 2008 23:20:41 +0000 (23:20 +0000)]
Update Msp430UartA0C.nc to match recent changes in Msp430UartA1C.  Spruce up
SPI support files, but they still aren't ready for prime-time.

14 years agoMintor tweaks to usci
smckown [Mon, 8 Sep 2008 23:11:16 +0000 (23:11 +0000)]
Mintor tweaks to usci

14 years agoUpdate the tmicore platform's clock initialization. If DCO constants are in
smckown [Mon, 8 Sep 2008 23:10:45 +0000 (23:10 +0000)]
Update the tmicore platform's clock initialization.  If DCO constants are in
INFOA, it uses them.  If not, is uses the standard mecthod of calibrating the
DCO off of ACLK.  For tmicore, DCOCLK = MCLK = 8MHz.  We add additional code to
set SMCLK = 1MHz.  If the constants are used, the 1MHz = 10^6HZ.  If the
internal cal routines are used, 1MHz = 2^20Hz.

14 years agoUSCI UART output on USCI_A1 is working, using ACLK as BRCLK. Baud rate
smckown [Mon, 8 Sep 2008 21:35:08 +0000 (21:35 +0000)]
USCI UART output on USCI_A1 is working, using ACLK as BRCLK.  Baud rate
problems using SMCLK, suggesting that SMCLK is not the frequency we expect.

14 years agoReverse unwanted changes made to MoteClockC.nc in last commit.
smckown [Mon, 8 Sep 2008 21:33:22 +0000 (21:33 +0000)]
Reverse unwanted changes made to MoteClockC.nc in last commit.

14 years agoP1.1, BSL_TX, must be an input, since it is tied to P3.6 UC_TX, which is the
smckown [Mon, 8 Sep 2008 21:31:38 +0000 (21:31 +0000)]
P1.1, BSL_TX, must be an input, since it is tied to P3.6 UC_TX, which is the
output.

14 years agoisRen() requires a bool return value.
smckown [Mon, 8 Sep 2008 21:30:47 +0000 (21:30 +0000)]
isRen() requires a bool return value.

14 years agoMore USCI work.
smckown [Mon, 8 Sep 2008 16:34:32 +0000 (16:34 +0000)]
More USCI work.

14 years agoComment about USCI pin mapping problems.
smckown [Sun, 7 Sep 2008 18:21:57 +0000 (18:21 +0000)]
Comment about USCI pin mapping problems.

14 years agoAdd getOut() and getOutRaw() methods. get() and getRaw() work off PORTxIN.
smckown [Sun, 7 Sep 2008 18:21:30 +0000 (18:21 +0000)]
Add getOut() and getOutRaw() methods.  get() and getRaw() work off PORTxIN.
But there are times when PORTxIN and PORTx (PxOUT) may be different, such as
is the case when using pull-up or pull-down resistors via PORTxREN (PxREN)
available on newer msp430's.

14 years agoAdd some SPI implementation.
smckown [Sun, 7 Sep 2008 18:09:37 +0000 (18:09 +0000)]
Add some SPI implementation.

14 years agoMore work on USCI peripheral support.
smckown [Sun, 7 Sep 2008 17:29:56 +0000 (17:29 +0000)]
More work on USCI peripheral support.

14 years agoCommit interim usci work. Not even close to complete yet, but don't want to lose it.
smckown [Sun, 7 Sep 2008 01:20:29 +0000 (01:20 +0000)]
Commit interim usci work.  Not even close to complete yet, but don't want to lose it.

14 years agoCleanups for using defs to support msp430's with a single USCI.
smckown [Sun, 7 Sep 2008 01:19:55 +0000 (01:19 +0000)]
Cleanups for using defs to support msp430's with a single USCI.

14 years agoThe tmicore platform has usci peripherals not usarts. Still building the usci code.
smckown [Sat, 6 Sep 2008 03:54:46 +0000 (03:54 +0000)]
The tmicore platform has usci peripherals not usarts.  Still building the usci code.

14 years agoFix typo in recent updates to HplMsp430GeneralIOC.nc causing Port6 interface
smckown [Sat, 6 Sep 2008 01:07:25 +0000 (01:07 +0000)]
Fix typo in recent updates to HplMsp430GeneralIOC.nc causing Port6 interface
not defined for some msp430's.

14 years agoBetter ifdefs around peripheral specific bits in McuSleepC.nc.
smckown [Thu, 4 Sep 2008 22:03:11 +0000 (22:03 +0000)]
Better ifdefs around peripheral specific bits in McuSleepC.nc.

14 years agoInitial support for the tmicore platform, an msp430-based board.
smckown [Thu, 4 Sep 2008 21:51:37 +0000 (21:51 +0000)]
Initial support for the tmicore platform, an msp430-based board.

14 years agoNew msp430 features: (1) support pull-up/pull-down resistors on newer parts
smckown [Thu, 4 Sep 2008 21:47:06 +0000 (21:47 +0000)]
New msp430 features: (1) support pull-up/pull-down resistors on newer parts
via an enhancement to Msp430HplGeneralIOC.  (2) use newer mspgcc definitions
for a more generic ifdef'ed inclusion of interfaces in Msp430HplGeneralIOC.
Initial definition support in Msp430HplGeneralIOC for USCI peripherals.

14 years agoUpdate motelist to support cp2103 detection.
smckown [Thu, 4 Sep 2008 16:13:21 +0000 (16:13 +0000)]
Update motelist to support cp2103 detection.

14 years agoIncorporate new modular tos-bsl.
smckown [Tue, 2 Sep 2008 15:02:26 +0000 (15:02 +0000)]
Incorporate new modular tos-bsl.

14 years agoUpdate git tag release_tinyos_2_1_0_0 for consistency with CVS tag of same name. tinyos/2.1.0
R. Steve McKown [Mon, 30 Nov 2009 21:48:12 +0000 (14:48 -0700)]
Update git tag release_tinyos_2_1_0_0 for consistency with CVS tag of same name.

Note that the CVS checkout at tag release_tinyos_2_1_0_0 was made without
any keyword expansion, since the git mirror of tinyos CVS also does no
expansion.

15 years agoUpdate the scripts for 2.1. release_tinyos_2_1_0_0
scipio [Wed, 6 Aug 2008 18:44:07 +0000 (18:44 +0000)]
Update the scripts for 2.1.

15 years agoJarfile for 2_1_0, using Java 1.5.
scipio [Wed, 6 Aug 2008 16:31:58 +0000 (16:31 +0000)]
Jarfile for 2_1_0, using Java 1.5.

15 years agoIf there's no -comm, use the default.
scipio [Wed, 6 Aug 2008 16:20:46 +0000 (16:20 +0000)]
If there's no -comm, use the default.

15 years agoSupports shimmer too?
scipio [Wed, 6 Aug 2008 16:16:26 +0000 (16:16 +0000)]
Supports shimmer too?

15 years agoFix 4bitle.
scipio [Wed, 6 Aug 2008 16:09:06 +0000 (16:09 +0000)]
Fix 4bitle.

15 years agoSmall increase to stack size
klueska [Wed, 6 Aug 2008 03:58:41 +0000 (03:58 +0000)]
Small increase to stack size

15 years agoAdded noise model.
scipio [Tue, 5 Aug 2008 18:40:43 +0000 (18:40 +0000)]
Added noise model.

15 years agoDo a platform check.
scipio [Mon, 4 Aug 2008 22:33:32 +0000 (22:33 +0000)]
Do a platform check.

15 years ago- changed component names
janhauer [Sat, 2 Aug 2008 16:56:21 +0000 (16:56 +0000)]
- changed component names
- added note about documentation

15 years agoPause a bit before the next sample
liang_mike [Sat, 2 Aug 2008 02:47:51 +0000 (02:47 +0000)]
Pause a bit before the next sample

15 years agoMake the -comm parameter a little clearer.
scipio [Fri, 1 Aug 2008 19:47:11 +0000 (19:47 +0000)]
Make the -comm parameter a little clearer.

15 years agoaccount for bug fix in newer Linux Kernels
andreaskoepke [Fri, 1 Aug 2008 17:30:23 +0000 (17:30 +0000)]
account for bug fix in newer Linux Kernels

15 years agoupdate misleading comment
gnawali [Fri, 1 Aug 2008 03:54:47 +0000 (03:54 +0000)]
update misleading comment

15 years agoPhilip not Phil.
scipio [Tue, 29 Jul 2008 07:26:48 +0000 (07:26 +0000)]
Philip not Phil.

15 years agoUpdate to oscilloscope.jar file
klueska [Sat, 26 Jul 2008 02:38:50 +0000 (02:38 +0000)]
Update to oscilloscope.jar file

15 years agoremoving unnecessary jar file from cvs
klueska [Sat, 26 Jul 2008 02:37:11 +0000 (02:37 +0000)]
removing unnecessary jar file from cvs

15 years agoUpdates to files after running the majority of the telosb rc3 tests
klueska [Sat, 26 Jul 2008 02:32:43 +0000 (02:32 +0000)]
Updates to files after running the majority of the telosb rc3 tests

15 years agoFixed the leds address for shimmer. BlinkFail now works on shimmer.
konradlorincz [Fri, 25 Jul 2008 19:43:35 +0000 (19:43 +0000)]
Fixed the leds address for shimmer.  BlinkFail now works on shimmer.

15 years agotxt extension
gnawali [Fri, 25 Jul 2008 18:23:25 +0000 (18:23 +0000)]
txt extension

15 years agoproper fix for short packets
idgay [Fri, 25 Jul 2008 16:27:52 +0000 (16:27 +0000)]
proper fix for short packets

15 years agosyntax
idgay [Fri, 25 Jul 2008 16:23:04 +0000 (16:23 +0000)]
syntax

15 years agowarning fixes
maxmul [Fri, 25 Jul 2008 10:18:22 +0000 (10:18 +0000)]
warning fixes

15 years agohack... blink both the telosb and shimmer LEDs
regehr [Fri, 25 Jul 2008 04:08:44 +0000 (04:08 +0000)]
hack... blink both the telosb and shimmer LEDs

15 years agofix spelling
regehr [Fri, 25 Jul 2008 03:01:45 +0000 (03:01 +0000)]
fix spelling

15 years agoChange declaration of elemenent_data[0] in struct to *elemente_data
klueska [Fri, 25 Jul 2008 02:20:00 +0000 (02:20 +0000)]
Change declaration of elemenent_data[0] in struct to *elemente_data

15 years agofix to apps to get them to compile on all supported platforms
klueska [Thu, 24 Jul 2008 23:53:46 +0000 (23:53 +0000)]
fix to apps to get them to compile on all supported platforms

15 years agoUpdate to get rid of compile time warnings about no newline at end of file
klueska [Thu, 24 Jul 2008 23:52:23 +0000 (23:52 +0000)]
Update to get rid of compile time warnings about no newline at end of file

15 years agoUpdate to add all supported platforms for compile
klueska [Thu, 24 Jul 2008 21:18:33 +0000 (21:18 +0000)]
Update to add all supported platforms for compile

15 years agoAdd tosthreads active message support for tda5250
liang_mike [Thu, 24 Jul 2008 20:44:04 +0000 (20:44 +0000)]
Add tosthreads active message support for tda5250

15 years agoAdded support for using the radio on mica2dot and shimmer platforms
klueska [Thu, 24 Jul 2008 20:40:47 +0000 (20:40 +0000)]
Added support for using the radio on mica2dot and shimmer platforms

15 years agothreads.extra
klueska [Thu, 24 Jul 2008 20:38:01 +0000 (20:38 +0000)]
threads.extra

15 years agoAdd cc1000 to mica2dot
liang_mike [Thu, 24 Jul 2008 20:30:49 +0000 (20:30 +0000)]
Add cc1000 to mica2dot

15 years agoAdd tosthreads active message support to eyesIFX
liang_mike [Thu, 24 Jul 2008 20:07:21 +0000 (20:07 +0000)]
Add tosthreads active message support to eyesIFX

15 years agoAdd tosthreads active message support to tinynode
liang_mike [Thu, 24 Jul 2008 19:52:46 +0000 (19:52 +0000)]
Add tosthreads active message support to tinynode

15 years agoUpdate to support more platforms
klueska [Thu, 24 Jul 2008 19:31:54 +0000 (19:31 +0000)]
Update to support more platforms

15 years agoAdded a note to README that MAC interface naming deviates from TEP3 recommended pract...
janhauer [Thu, 24 Jul 2008 11:06:23 +0000 (11:06 +0000)]
Added a note to README that MAC interface naming deviates from TEP3 recommended practise. Fixed a timing issue.

15 years agoDecrease the threads' stack size
liang_mike [Thu, 24 Jul 2008 03:58:13 +0000 (03:58 +0000)]
Decrease the threads' stack size

15 years agonuke a return in a function returning void
regehr [Thu, 24 Jul 2008 03:43:11 +0000 (03:43 +0000)]
nuke a return in a function returning void

15 years agofix a warning
regehr [Thu, 24 Jul 2008 03:40:32 +0000 (03:40 +0000)]
fix a warning

15 years agoFix safe tinyos warnings
liang_mike [Thu, 24 Jul 2008 02:02:58 +0000 (02:02 +0000)]
Fix safe tinyos warnings

15 years agoadded matlab script that calculates mean timesync error and updated doc
kusy [Wed, 23 Jul 2008 20:34:41 +0000 (20:34 +0000)]
added matlab script that calculates mean timesync error and updated doc

15 years agoremove testing junk
idgay [Wed, 23 Jul 2008 17:27:09 +0000 (17:27 +0000)]
remove testing junk

15 years agoRemove need for volatiles in scheduler by fixing McuSleep.sleep to tell
idgay [Wed, 23 Jul 2008 17:25:42 +0000 (17:25 +0000)]
Remove need for volatiles in scheduler by fixing McuSleep.sleep to tell
system that memory may change when interrupts are enabled

15 years agoadd eyesIFX platform
andreaskoepke [Wed, 23 Jul 2008 08:08:10 +0000 (08:08 +0000)]
add eyesIFX platform

15 years agoadd support for LowPowerListening interface as good as possible
andreaskoepke [Wed, 23 Jul 2008 08:07:25 +0000 (08:07 +0000)]
add support for LowPowerListening interface as good as possible

15 years agoForce printf messages to 28 bytes regardless of what TOSH_DATA_LENGTH is set to
klueska [Wed, 23 Jul 2008 01:46:43 +0000 (01:46 +0000)]
Force printf messages to 28 bytes regardless of what TOSH_DATA_LENGTH is set to

15 years agodo not distinguish between windows and linux usage, assume that . is on the classpath
sallai [Tue, 22 Jul 2008 21:19:19 +0000 (21:19 +0000)]
do not distinguish between windows and linux usage, assume that . is on the classpath

15 years agoLPL fixes, thanks to Francois Ingelrest and Roland Flury for the help
maxmul [Tue, 22 Jul 2008 11:21:32 +0000 (11:21 +0000)]
LPL fixes, thanks to Francois Ingelrest and Roland Flury for the help

15 years agoadded thread support for tinynode platform
maxmul [Tue, 22 Jul 2008 09:12:14 +0000 (09:12 +0000)]
added thread support for tinynode platform

15 years agoloosen layer dependency
andreaskoepke [Tue, 22 Jul 2008 07:22:52 +0000 (07:22 +0000)]
loosen layer dependency

15 years agoiris tosthreads support fix
sallai [Mon, 21 Jul 2008 23:16:04 +0000 (23:16 +0000)]
iris tosthreads support fix

15 years agofix printf in safe mode on avr targets
sallai [Mon, 21 Jul 2008 23:14:04 +0000 (23:14 +0000)]
fix printf in safe mode on avr targets

15 years agoset up iris specific search path
sallai [Mon, 21 Jul 2008 23:09:56 +0000 (23:09 +0000)]
set up iris specific search path

15 years agoiris specific updates
sallai [Mon, 21 Jul 2008 23:08:35 +0000 (23:08 +0000)]
iris specific updates

15 years agogenerated
idgay [Mon, 21 Jul 2008 18:23:15 +0000 (18:23 +0000)]
generated

15 years agomore updates to 109
idgay [Mon, 21 Jul 2008 18:20:36 +0000 (18:20 +0000)]
more updates to 109

15 years agorenaming directories to lower cases
janhauer [Mon, 21 Jul 2008 15:18:16 +0000 (15:18 +0000)]
renaming directories to lower cases

15 years agorenaming directories to lower cases
janhauer [Mon, 21 Jul 2008 14:56:58 +0000 (14:56 +0000)]
renaming directories to lower cases

15 years agorenaming directories to lower cases
janhauer [Mon, 21 Jul 2008 14:42:51 +0000 (14:42 +0000)]
renaming directories to lower cases

15 years agoAdd two includes to avoid errors on GCC 4.3.
razvanm [Sun, 20 Jul 2008 22:47:34 +0000 (22:47 +0000)]
Add two includes to avoid errors on GCC 4.3.

15 years agoUpdate the authors list to include David Purdy.
razvanm [Sun, 20 Jul 2008 22:16:50 +0000 (22:16 +0000)]
Update the authors list to include David Purdy.