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
adamdunkels
d3131e1811
Print link-local IPv6 address when booting the node
2009-10-29 22:10:59 +00:00
adamdunkels
f03caa357e
Allow reprogramming invidual nodes with 'make file.upload MOTE=x' where x is the mote number just like with make login
2009-10-29 22:10:21 +00:00
nifi
831f16cf61
Fixed COOJA quickstart to run COOJA from current directory
2009-10-28 13:39:15 +00:00
fros4943
99a540fd0d
macro renamed to SPI_IS_ENABLED() to avoid confusions
2009-10-27 15:33:24 +00:00
fros4943
6b36cd9de9
added macro for checking whether SPI is ENABLED
2009-10-27 15:25:02 +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
kasunch
ca6c8818b1
Two comment fixes
2009-10-22 15:48:20 +00:00
nifi
178548413e
added option to specify JTAG port for programming
2009-10-22 09:27:46 +00:00
adamdunkels
29e8dae88c
Added X-MAC support for IPv6/SICSlowpan nodes, added 802.15.4 default framing to X-MAC
2009-10-19 20:55:52 +00:00
fros4943
bf1920386a
increased log buffer size with uIP SLIP
2009-10-19 18:00:49 +00:00
oliverschmidt
caaa790add
cc65 2.13. comes with secondary linker configs. The 'apple2enh-reboot.cfg' is more or less what was previously engineered as part of Contiki for the Apple2 - now moved into the cc65 distro.
2009-10-18 10:06:44 +00:00
oliverschmidt
18933cc0c3
cc65 2.13. comes with builtin linker configs defining the __STACKSIZE__ symbol as weak. This allows to override the stacksize from the linker command line thus eliminating the need for linker configs maintained by Contiki.
2009-10-18 09:58:21 +00:00
oliverschmidt
d8aee18f6c
cc65 2.13. allows to
...
- explicitly set 80 column mode
- control exit behaviour from the program itself (instead of requiring a loader variant).
2009-10-18 09:37:37 +00:00
oliverschmidt
d30ccbe81d
cc65 2.13. allows to explicitly set 80 column mode.
2009-10-18 09:35:07 +00:00
oliverschmidt
31eb62821f
cc65 2.13. features a default-per-target mouse driver so there's no need to deal with their names in Contiki anymore.
2009-10-18 09:33:08 +00:00
adamdunkels
79d7c366a3
Rime polite announcements should be used when IPv6 is enabled, and not used otherwise
2009-10-18 07:15:33 +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
kasunch
1ee52635c8
1. Changed fuse bits to preserve EEPROM through the chip erase when uploading a new OS image.
...
2. Added a new make rule to erase EEPROM through the chip erase.
2009-09-24 07:09:31 +00:00
kasunch
71b5872045
Added node id restoring at the boot-up.
2009-09-24 06:53:35 +00:00
kasunch
5e1db8b6fa
Added node id restoring and burning functions.
2009-09-24 06:51:22 +00:00
kasunch
f617b77b87
Added the EEPROM starting address of node id.
2009-09-24 06:45:48 +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
nifi
a71cd04144
reconfigured coffee to use larger sectors and no micrologs, changed the architecture specific erase function accordingly
2009-09-21 14:16:32 +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
kasunch
4319e8b82e
1. Add MAC address displaying during the booting.
...
2. Set LEDs to turn on at different stages of the booting process.
2009-09-13 21:42:43 +00:00
kasunch
7444c41da9
Adding device driver files for the Dallas Semiconductor DS2401 chip to the CONTIKI_TARGET_SOURCEFILES list.
2009-09-13 21:28:48 +00:00
kasunch
e2224a8384
Device driver for the Dallas Semiconductor DS2401 chip.
2009-09-13 21:21:16 +00:00
oliverschmidt
392c3aa2b6
Updated URL from Loader 1.3 to Loader 1.4.
2009-09-13 19:59:34 +00:00
oliverschmidt
daf29d0a87
Supply prototype even if there's no implementation (yet) to keep compiler happy.
2009-09-13 19:07:34 +00:00
zdshelby
ec02eab6bc
- Upgraded the Sensinode platform to use sicslowmac.c
...
- Improved the rime address setup, setting the RF driver addresses (byte order may not be correct)
2009-09-11 08:03:42 +00:00
adamdunkels
bddd31abf2
Fixed compiler warnings
2009-09-09 21:06:51 +00:00
zdshelby
c4ae18e37b
Initial commit of Sensinode platform files.
2009-09-08 20:06:28 +00:00
zhitao
bdce08d39d
augmented CFS compliance for a RAM-based, one-file-only file system in Cooja.
2009-09-08 15:08:20 +00:00
kasunch
1bede62d2a
Initial files of the MICAz port.
2009-09-08 08:59:29 +00:00
joxe
ae8bd7a7b6
added inclusion of radio Makefile for the raven platforms
2009-09-07 12:06:33 +00:00
nifi
d4b619bcc5
Renamed SPI_WAITFOREOTxBUF to SPI_WAITFORTxREADY for clarity and generalized SPI transmission status checks to work with both AVR and MSP430
2009-09-07 11:31:26 +00:00
nvt-se
9d7bdad864
use CLOCK_CONF_SECOND.
2009-09-04 13:59:37 +00:00
nvt-se
fed4a58102
return the amount of seconds elapsed in clock_seconds()
2009-09-04 13:57:17 +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
nvt-se
a21dece53f
removed unused state codes and unused printf statements
2009-09-03 12:57:57 +00:00
nifi
3a8ee769cb
Changed to monitor the UART transmitter buffer ready flag instead of the UART transmitter empty flag. This almost doubles the speed of transmitting data to CC2420. Patch by James Brown.
2009-08-31 12:06:34 +00:00
nvt-se
ebd91b9f9d
Removed deprecated dir cache macro.
2009-08-30 20:36:32 +00:00
adamdunkels
b71faae330
ext-sensor: new driver for external sensors (e.g. Phidgets) on the Sentilla JCreate, developed by Marcus Lunden
2009-08-25 16:24:49 +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
oliverschmidt
f606253f58
Minor adjustment to predominant coding style.
2009-08-09 20:51:19 +00:00
dak664
d5047f43c1
Change ip4 addresses to agree with wiki
2009-08-08 11:42:05 +00:00
dak664
283d288f1a
Allow hello-world to build, fix makefile ignoring rf230bb
2009-07-26 12:10:38 +00:00
dak664
8ea4b747d0
Add httpd_s* function layer and HTTPD_STRING_ATTR for strings in different memory types
2009-07-24 15:41:52 +00:00
dak664
a41efba6b4
Add makefsdata.h, remove httpd-fsdata.c, make now creates with /tools/ makefsdata.
2009-07-23 17:43:51 +00:00
dak664
928bbc206a
Add static coffee file system to webserver
2009-07-23 16:16:07 +00:00
dak664
c1b7375a5a
*** empty log message ***
2009-07-23 16:13:48 +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
dak664
af981496b1
Optional complemented writes/reads and faster word reads
2009-07-15 22:10:08 +00:00
dak664
8e3c2e6334
Passed tests on Raven 1284p in 3 seconds with 56KB program memory disk
2009-07-14 19:23:22 +00:00
nvt-se
b0431cc688
removed obsolete offset type definitions.
2009-07-13 20:02:16 +00:00
ksb
292e69a468
Missing file
2009-07-11 15:23:24 +00:00
ksb
3c3714c178
Use IP over Rime
2009-07-11 15:07:59 +00:00
ksb
88669e1675
Test application for USB mass storage
2009-07-11 14:53:02 +00:00
matsutsuka
2aa41337bc
followed the name change of serial-line.c
2009-07-09 18:28:20 +00:00
matsutsuka
9a752dab15
aligned the usage of LOADER_UNLOAD macro with other sources
2009-07-09 18:24:56 +00:00
dak664
49989dbe45
Add rf230bb radio driver with conditional make on RF230BB=1
2009-07-08 15:26:17 +00:00
nifi
c436b99887
added configuration of MAC driver
...
added missing initialization of serial-line
added periodic DCO/CPU speed re-synch
2009-07-07 13:06:56 +00:00
nvt-se
1e0ca9ceac
Made the use of micro logs configurable to make file modifications
...
more efficient on storage types that support inline updates.
The sky platform uses logs, and the native platform uses no logs.
2009-06-29 13:30:16 +00:00
nvt-se
828439c922
code style compliancy
2009-06-29 12:46:49 +00:00
nifi
05d4bc4532
allow UIP_CONF_ROUTER to be set as compilation flag
2009-06-29 09:54:39 +00:00
joxe
1cc33ac451
configured routing to off for sky-IPv6
2009-06-26 12:01:23 +00:00
joxe
e16d4b0f06
fixed IPV6 flags for sky
2009-06-26 12:00:49 +00:00
nvt-se
b912a41ea3
use polite announcements when running Rime over UDP.
2009-06-24 16:44:26 +00:00
nifi
912aba7280
added init function in MAC driver for easier configuration
2009-06-22 11:14:11 +00:00
dak664
17da57e989
All static strings to flash, add wildcard to file-stats cgi
2009-06-19 17:11:28 +00:00
dak664
6c30271ade
Fix html compliance, use wildcard in file-stats cgi
2009-06-19 17:09:51 +00:00
nifi
16a9656abd
Bugfix: output function was not called with latest version of tcpip. Identified by Pierre de Vos.
2009-06-01 15:13:30 +00:00
nvt-se
a7faaa9aaa
a bit more documentation.
2009-05-26 14:34:22 +00:00
fros4943
300f3396ac
allow contiki motes to handle several contiki events each tick + corrected variables types
2009-05-26 14:08:51 +00:00
nvt-se
cd00bd3fdc
switched to calm mode as default.
2009-05-26 13:23:59 +00:00
nvt-se
06a2fc40ec
switched to 32-bit iteration variable for long-running tests.
2009-05-26 13:03:44 +00:00
nvt-se
0f6954cc43
added test options for stressing the card and for switching blocks randomly.
2009-05-26 13:00:37 +00:00
nvt-se
28619eabc0
bug fix with sdspi select.
...
code style fixes.
2009-05-26 13:00:07 +00:00
nvt-se
e9d279620f
more protection against interrupts that might spoil SPI sequences.
...
made coding style more like that of contiki.
2009-05-26 12:15:46 +00:00
nvt-se
09a1c115fe
initial test port of Coffee for the MSB-430 platform.
2009-05-25 14:14:32 +00:00
nvt-se
8f7f7fb896
enabled random I/O in the SD driver.
2009-05-25 14:13:47 +00:00
nvt-se
da91d87ae6
switch of interrupts while writing and reading to the SPI. avoids
...
desynchronization problems.
2009-05-25 13:19:04 +00:00
fros4943
faec70dee0
test app update: print sensor type
2009-05-19 17:54:08 +00:00
fros4943
d54176205c
decreased default elfloader memory usage for sky platform
2009-05-18 10:32:56 +00:00
nvt-se
bcc5084564
removed delay because while loop waits until completion anyway.
2009-05-15 13:54:08 +00:00
nvt-se
f9b35795c7
minor refactoring.
2009-05-14 12:18:49 +00:00
adamdunkels
bc6c9410cc
Print out the gateway's IP address more prominently
2009-05-12 17:32:49 +00:00
adamdunkels
00890caca8
Make sure that symbols.c is included in every native cpu build, not just the native target
2009-05-12 17:23:23 +00:00
nvt-se
74e9bc8789
Added flash reads and writes to energest.
2009-05-11 15:26:24 +00:00
adamdunkels
900480959b
Increased the default number of queue buffers: there usually is plenty of RAM left, so we should be able to afford it
2009-05-10 21:15:16 +00:00
joxe
6a7bc4c3a5
added mcu-chip temperature to accelerometer sensor - value 3
2009-05-08 16:03:50 +00:00
adamdunkels
6fcca2d545
Initialize ctimer, add IPv6 address configuration for the aaaa prefix
2009-04-29 11:49:27 +00:00
adamdunkels
e6215712ca
When a node is configured as an IP gateway, we switch off the power-saving MAC protocolto improve performance and to avoid problems with the serial communication that X-MACs use of rtimers can cause
2009-04-29 11:46:20 +00:00
adamdunkels
064f4488d4
Increase default CPU speed from 2.4576 MHz to 3.9 MHz. Communication works better, at a low power cost
2009-04-29 11:43:48 +00:00
adamdunkels
bbab7ba55c
When the tmote-bsl binary is found, program only one mote at once (parallel programming with tmote-bsl doesn't seem to work)
2009-04-29 11:42:56 +00:00
fros4943
9f299c277e
added experimental slip support for contiki motes
2009-04-23 09:15:51 +00:00
fros4943
9bd3d07510
implemented slip_arch_writeb() function
2009-04-23 09:02:06 +00:00
fros4943
b65014d1be
bugfix by Wolf-Bastian Pttner: check buffer size at incoming radio data
2009-04-16 14:38:41 +00:00
fros4943
bc6704079c
cc2420 checksums temporarily disabled, due to timing problems with the x-mac unicast optimization
2009-04-16 14:34:51 +00:00
adamdunkels
2e37fca49f
Check for tmote-bsl-linux binary under linux, and use it is available
2009-04-10 07:43:29 +00:00
adamdunkels
2545fd9069
Hack to make DS2411 ID useable as an Ethernet MAC address (remove multicast bit)
2009-04-10 00:40:08 +00:00
adamdunkels
3415ff26bd
Added CC2420 checksums to non-ipv6 packets. Set a conservative TCP MSS
2009-04-10 00:39:19 +00:00
nvt-se
172ffb74c7
fix compiler warnings. patch from Jesper Karlsson.
2009-04-08 14:56:00 +00:00
nifi
b41b79e3a9
Disable timestamp when using 802.15.4 frames (CC2420_CONF_TIMESTAMPS adds timestamp to radio packets).
2009-04-06 17:18:20 +00:00
nifi
900d8d8e17
changed to use HC01 compression for uip6
2009-04-06 16:01:11 +00:00
nifi
8b41f3a6a8
set rime addr size to 8 for uip6, restored clock resolution
2009-04-06 14:59:49 +00:00
nifi
76b7bf43d0
added setup for uip6 with 802.15.4 frames and routing using Rime
2009-04-06 14:12:58 +00:00
nifi
a36e529df1
added configuration for panid
2009-04-06 13:31:00 +00:00
nvt-se
f53560f6a5
enabled multihop routing, increased uip buffer size.
2009-04-06 13:23:14 +00:00
nifi
c1d490b6a7
added workaround for memcpy/memset bug in mspgcc
2009-04-06 13:07:37 +00:00
adamdunkels
58331e6802
Made tick resultion more fine-grained to support a shorter LPP listen time
2009-04-03 11:46:48 +00:00
fros4943
b730fb329d
changed upload rules due to problems on linux platforms
2009-04-02 11:15:30 +00:00
fros4943
3b3580e439
disabled writing IP addresses from inside COOJA, since the these should rather be determined by Contiki
2009-04-01 18:11:48 +00:00
fros4943
aa736322e1
removed unused uip/uaodv cooja comm stack. mesh-uip should be used instead
2009-04-01 17:17:55 +00:00
fros4943
3665422d8d
simplified cooja communication stacks initialization + added uipv6 stack
2009-04-01 13:50:12 +00:00
fros4943
6a99a82516
copied uipv6 configuration from native platform
2009-04-01 13:46:56 +00:00
fros4943
1c031504e5
no need to initialize serial line
2009-04-01 13:46:16 +00:00
fros4943
892bfb5678
moved radio-uip link functionality directly to comm stack sources
2009-04-01 13:45:41 +00:00
fros4943
eddd8350c5
renamed radio driver
2009-04-01 13:44:34 +00:00
fros4943
afed9bb2d0
icnlude packet radio by default
2009-04-01 13:39:54 +00:00
nifi
c6b15c289e
* show radio channel at startup
...
* only initialize timesynch when timesynch is enabled
2009-03-31 13:25:50 +00:00
nvt-se
e90149b7b4
avoid switching mode when tx or rx is active.
...
based on suggestions from Frederik Hermans and some code from Jesper Karlsson.
2009-03-30 14:07:34 +00:00
fros4943
5f1fda0406
removed unused variables + writing serial data in timeevent
2009-03-26 16:23:47 +00:00
fros4943
dda6de8438
+ clock stub functions
2009-03-26 16:22:36 +00:00
fros4943
ac22ad5081
changed the Makefile rules for uploading to sky-nodes.
...
the earlier approach caused problems sometimes, resulting in command succeeding without all nodes being reprogrammed
2009-03-26 13:29:44 +00:00
nvt-se
04bd414e1c
enabled LPP by default.
2009-03-26 12:51:55 +00:00
nvt-se
90b9b9bae3
configure LPP parameters with slightly longer listen time since the CC1020
...
driver switches from TX mode to RX mode rather slowly.
decreased CCA check timeout.
2009-03-26 12:47:12 +00:00
nvt-se
25cc327acc
avoid hanging in TX mode after CCA check failed.
...
minor memory savings.
2009-03-25 15:25:05 +00:00
nvt-se
96fbf3b853
use old style C comments.
...
convert printf to PRINTF.
remove unnecessary MS_DELAY calls from setupTX and setupRX.
2009-03-24 15:32:26 +00:00
nvt-se
15c447e57e
remove some unnecessary instructions and function calls. patch from Jesper Karlsson.
2009-03-24 15:13:11 +00:00
nvt-se
143c7f9cea
switched from serial to serial_line. patch from Jesper Karlsson.
2009-03-24 15:02:03 +00:00
fros4943
c76f34ff98
minor serial test application update
2009-03-21 15:47:40 +00:00
fros4943
9c9165dc90
start cooja with more memory to avoid outofmemory problems when running mspsim-based simulations
2009-03-20 13:23:44 +00:00
nvt-se
6b22fa60e8
- avoid costly rx state initialization if the radio is already on.
...
- code formatting.
2009-03-19 14:43:31 +00:00
nvt-se
8f85355f02
print the MAC protocol name when starting the node
2009-03-19 14:14:06 +00:00
nvt-se
b9ef907690
enable serial line tools using the same commands as the sky platform's Makefile
2009-03-17 22:27:14 +00:00
nvt-se
7e329ab467
removed obsolete file.
2009-03-17 22:20:04 +00:00
adamdunkels
b1cd9c207a
Removed serial.c, which is obsoleted by serial-line.c, which in turn now resides in Makefile.include
2009-03-17 21:51:13 +00:00
adamdunkels
727c5a2dbe
Renamed serial module to serial-line
2009-03-17 20:32:22 +00:00
adamdunkels
b20f0884ed
Renamed serial module to serial-line
2009-03-17 20:19:11 +00:00
adamdunkels
0076bfe8a5
Changed the name of the 'serial' module to 'serial-line' to signify that the module is about lines of data from the serial port, not individual bytes, and to make sdcc happy
2009-03-17 15:56:32 +00:00
nvt-se
7f3def31b7
removed duplicate inclusion of header, and sorted the entries.
2009-03-17 15:02:19 +00:00
nvt-se
6d0fc26ec1
disabled unstable SD driver.
2009-03-17 15:01:40 +00:00
fros4943
d6ebba536c
minor 64 bit fix: divide by sizeof(unsigned long) instead of constant 4
2009-03-13 14:40:07 +00:00
adamdunkels
65eb5fd4e8
Renamed the rimebuf module to packetbuf to signal that the module is used outside of a pure Rime context (e.g., the sicslowpan code uses it).
2009-03-12 21:58:20 +00:00
dak664
932fc9f748
Remove tab that was preventing cgi invokation
2009-03-12 21:37:22 +00:00
adamdunkels
5920a86312
Moved the Raven-specific applications from the generic apps/ directory to the platform-specific platform/avr-raven/apps
2009-03-12 19:15:23 +00:00
fros4943
99b9e80de9
make all quickstart target phony
2009-03-12 17:48:23 +00:00
fros4943
72fdf5b379
make quickstart goal precious
2009-03-12 15:12:50 +00:00
fros4943
063bf88f90
cooja quickstart should be started from normal cooja working directory, otherwise config relative paths won't work
...
+
cygwin path fix for quickstart
2009-03-12 13:04:10 +00:00
nvt-se
80bbc92ffe
patch from Jesperk Karlsson. ensures that the fp_uart_handler type is known
...
in the header.
2009-03-12 12:23:22 +00:00
fros4943
5d27841807
+ contiki app object
2009-03-11 08:40:37 +00:00
fros4943
bcb34297df
reimplemented quickstart functionality
2009-03-11 07:45:54 +00:00
fros4943
0bc10750bc
added rule for .cooja target.
...
compiling for cooja is now similar to other platforms, for example:
make hello-world.cooja TARGET=cooja
2009-03-10 21:23:38 +00:00
julienabeille
0395ff5f39
sicslowpan Typo
2009-03-09 08:19:07 +00:00
c_oflynn
41c19115d2
fix compiling ravenusb platform
2009-03-06 15:21:45 +00:00
adamdunkels
3848bba210
Added support for serial data input
2009-03-06 00:13:56 +00:00
adamdunkels
8afff893f1
Removed old \mainpage documentation to avoid confusion with the main \mainpage
2009-03-02 22:04:14 +00:00
fros4943
3774395c82
cfs example updated
2009-03-02 09:44:07 +00:00
fros4943
286065b584
cfs updated
2009-03-02 09:34:47 +00:00
adamdunkels
e3043b1be2
Enable communication power accounting for xmac by default
2009-03-01 20:43:37 +00:00
adamdunkels
ac9ab9c582
#include lib/random.h
2009-03-01 20:42:10 +00:00
nvt-se
47d70f2ae3
Switched name to CFS_CONF_OFFSET_TYPE to emphasize that it is a configurable option.
2009-03-01 12:00:00 +00:00
nvt-se
b47221672a
switched cfs offset type to signed long to allow backward movements with cfs_seek.
2009-02-28 13:41:16 +00:00
fros4943
9c8c4898f7
updating cooja cfs stubs according to recent commits
2009-02-27 16:06:25 +00:00
nvt-se
9f8f773b43
use unsigned long as cfs offset type.
2009-02-27 14:53:15 +00:00
oliverschmidt
03e7eb2535
Fixed comment (just to make sure that committing still works after all these months).
2009-02-27 07:57:13 +00:00
nvt-se
9b548619ed
removed redundant definitions.
2009-02-25 23:57:13 +00:00
adamdunkels
d761dfebd1
Bugfix: reduced the size of the uIP buffer to account for MAC header space
2009-02-25 10:23:03 +00:00
nvt-se
c148e2e7ea
Do not include codeprop.h by default.
2009-02-23 14:44:26 +00:00
nifi
0db6403c5d
removed unnecessary reference to codeprop.h
2009-02-21 11:23:54 +00:00
adamdunkels
7781bbea58
Enabled X-MAC announcements by default, disabled polite broadcast announcements by default
2009-02-14 22:52:24 +00:00
adamdunkels
585620c102
Reverted the recent change from random_rand() to rand(). It turned out that
...
since libc rand() returns a signed int, there were frequently problems with
timer values wrapping. By reverting to random_rand(), we can provide a
random generator that returns an unsigned and the timer problems are solved.
2009-02-11 11:08:53 +00:00
fros4943
f1fc4c879f
cfs_coffee_get_fd_set() was renamed
2009-02-09 10:09:13 +00:00
nvt-se
d0a546b049
A long refactoring session yielded the following.
...
Technical changes:
* Factored out file specific information from the file descriptor
structure into a new file structure.
- Useful file metadata can be stored after the file is closed.
- File descriptors become much smaller.
- Significantly reduces the need to scan for the file end.
* Use correct types in all function signatures.
* Removed the directory cache.
Results:
* Enormous speed increase when opening cached files (10x-20x.)
* Multiple fd:s pointing to the same file have the correct semantics.
* About 100 bytes smaller ROM size.
* Slightly smaller static RAM size.
2009-02-08 17:08:13 +00:00
adamdunkels
440899e4cb
Seed rand() with the node ID + MAC address
2009-02-07 16:49:36 +00:00
adamdunkels
5cf0c25ca6
A few more minor fixes
2009-02-04 20:58:05 +00:00
adamdunkels
96882c402a
Fixed conformance to Contiki code style :)
2009-02-04 20:55:41 +00:00
joxe
9689a579be
added DCO/CPU speed re-synch each 30 seconds
2009-02-04 19:32:20 +00:00
fros4943
c16921f108
checkpointing library implemented for the sky platform (cfs interface is currently not optimized)
2009-02-04 17:51:49 +00:00
zhitao
5789bf5596
Modified comments for receiver filter bandwidth settings
2009-02-02 08:52:49 +00:00