Commit Graph

205 Commits

Author SHA1 Message Date
Adam Dunkels ec8c7e9be0 Cleanup of the node-id.h files. The node-id.h file contains
declarations of functions for setting and getting a node ID number, a
functionality that exists on many platforms. Since this functionality
was not considered part of the Contiki core, each platform defined its
own node-id.h file. This commit attempts to clean this up by
collecting the node-id.h into a core/sys/node-id.h file that replaces
the old node-id.h files from the platform directories.
2012-11-20 19:59:46 +01:00
Adam Dunkels 944537fccf Removed all old RCS tags in the Contiki source tree. Those RCS tags are not used any more, as we are now using git to manage the Contiki source tree 2012-10-26 15:54:49 +02:00
Niclas Finne 1b13b69814 Added support for mspgcc 4.6+ that no longer supports generic MCU identifiers such as msp430x1611 2012-04-10 16:05:10 +02:00
Niclas Finne a8e8e6f51d io and signal have been moved into contiki include file 2012-03-07 23:05:10 +01:00
Niclas Finne 684c3edfa6 Cross compiler interrupt service routine compatibility definitions for MSP430 based platforms based on isr_compat.h by Steve Underwood. 2012-03-07 23:04:52 +01:00
Ilya Dmitrichenko 9c99d46e24 Simplified host OS platform detection in Makefiles 2012-02-25 10:09:33 -05:00
Joakim Eriksson 5b1d9617c4 moved io and signal and IAR-GCC checks from driver files into contiki include file 2011-09-26 10:38:41 +02:00
Adam Dunkels 25c28e06cc Removed the obsolete MAC_CONF_CHANNEL_CHECK_RATE (now replaced with NETSTACK_CONF_RDC_CHANNEL_CHECK_RATE) 2011-09-05 20:42:12 +02:00
Niclas Finne dc426d789b msp430.h has been merged with msp430def.h for code to compile with IAR compiler 2011-06-07 18:54:57 +02:00
Niclas Finne 41dd2d09f4 Added missing include 2011-05-10 15:28:30 +02:00
Fredrik Osterlind 499c13a357 removed execute flag of source files (avoids diff problems with egit) 2011-03-01 18:16:42 +01:00
nvt-se 4003c3a8c9 do2unix conversion 2011-01-05 17:02:15 +00:00
zhitao af7b81efdb resolved conflict with type declaration 2010-12-01 10:19:58 +00:00
nvt-se 0fc1c00f09 Use LPP for radio duty cycling. 1 Hz channel check rate 2010-03-04 15:04:28 +00:00
nvt-se 20cae40694 use CSMA 2010-03-04 14:36:48 +00:00
nvt-se 2aa9d22f34 Switched to the NETSTACK API. 2010-03-04 14:16:30 +00:00
nvt-se 32c5fcb583 avoid broadcast storms during the test 2010-02-05 11:52:37 +00:00
nifi e1c6c4993a Removed references to irq, which is not used with the new sensor APIs 2010-01-14 18:13:33 +00:00
nvt-se 7a9e9c72a1 switched to new radio return values 2009-11-13 12:38:14 +00:00
nvt-se b909a62265 Reduced application buffer size for SD and switched parameter in cfs-coffee-arch.c 2009-11-11 14:59:33 +00:00
nvt-se 8c040be133 Changed the name of the declaration of the default block size. Reduced the OCR reading timeout. 2009-11-07 01:05:23 +00:00
nvt-se 7aac2d90fb specify that energest.h is in the sys directory. 2009-11-06 17:18:47 +00:00
nvt-se 31850d2e29 wait for RX before reading, and ensure that the byte is read out by using a volatile dummy variable 2009-11-06 15:40:15 +00:00
nvt-se 731e1da844 increase the I/O rate and use etimer_restart to maintain a uniform wait time between iterations 2009-11-06 15:11:52 +00:00
nvt-se f59e89cfb9 Fixed the problem of reads from the SPI where the first byte was sometimes lost.The SPI read function now only generates an idle symbol if there is not a byte
already in the reception buffer.
2009-11-06 14:02:59 +00:00
nvt-se 84f2a077de the return value should be checked against the size of sd_buf instead of buf 2009-11-03 16:18:37 +00:00
nvt-se 9b4cd05e1f Patch from David Gustafsson: break out SPI functions and fix bug in capacity
calculation.

Removed expensive modulo operations from sd_read and sd_write because the block size is now a variable. (nvt)
2009-11-03 15:21:43 +00:00
nvt-se 4a0973a95f specify the number of queuebufs that we want to use in the MSB430 platform by default 2009-10-26 16:11:24 +00:00
nvt-se ed4ee1b5af continue the test by resetting the etimer even if sd_write returns an error. 2009-10-01 16:40:25 +00:00
nvt-se 3e41c7d564 removed the immaterial sd_get_block_size function. 2009-09-24 12:09:26 +00:00
nvt-se fc34a4572b Removed the deprecated COFFEE_DIR_CACHE_ENTRIES parameter. 2009-09-22 16:31:36 +00:00
nvt-se 3b205a8912 removed compiler warning about missing declaration. 2009-09-22 16:27:17 +00:00
nvt-se 19d697fd37 use megabyte unit for printing SD card capacity. 2009-09-22 16:24:03 +00:00
nvt-se aef32d8144 moved synchronization word definition to the right place.
removed memcpy call for a two byte copy. also led to a relocation error
in some versions of the mspgcc linker.
2009-09-22 16:20:39 +00:00
nvt-se ce32792812 define U1IFG if it is missing. 2009-09-22 16:04:03 +00:00
nvt-se f698ce2577 Adapted the simple SD test to the new driver and its interface. 2009-09-22 15:37:18 +00:00
nvt-se 12c6dbb7c6 switched to emulated random I/O functions in the SD driver 2009-09-22 15:36:33 +00:00
nvt-se 1fb5841454 introduced WITH_SD parameter. added missing variable. 2009-09-22 15:35:45 +00:00
nvt-se ea56edc5c2 added a simple driver for using SD devices through the SPI. 2009-09-22 15:20:51 +00:00
nvt-se 4fd4cb1238 Architecture-dependent Coffee functions for SD cards. 2009-09-17 14:37:32 +00:00
nvt-se 20f449c3e8 micro logs are not needed in SD memory. 2009-09-17 14:19:06 +00:00
nvt-se 519532183f do not enable Coffee until the new SD driver is in place. 2009-09-17 13:28:41 +00:00
nvt-se 84b0ec7798 Removed unstable SD driver (to be replaced.) 2009-09-17 13:24:49 +00:00
nvt-se cd96248306 only turn off if we are not in CC1020_OFF state. (patch by Jesper Karlsson) 2009-09-04 11:00:48 +00:00
nifi e41de15c85 use nodeid 0 if no nodeid has been set 2009-08-24 15:44:45 +00:00
nvt-se 5e0d762e79 Call BIC_SR_IRQ to properly go switch of IRQ mode in the saved flag in the stack. 2009-08-17 11:32:17 +00:00
nvt-se 34a6fc82a3 Backup all the infomem before erasing the segment. Thanks to Frederik Hermans for reporting this. 2009-07-21 16:56:33 +00:00
nvt-se 828439c922 code style compliancy 2009-06-29 12:46:49 +00:00
nvt-se a7faaa9aaa a bit more documentation. 2009-05-26 14:34:22 +00:00
nvt-se cd00bd3fdc switched to calm mode as default. 2009-05-26 13:23:59 +00:00