Commit graph

1062 commits

Author SHA1 Message Date
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