Commit graph

859 commits

Author SHA1 Message Date
adamdunkels 511389ae09 Have to remove PLATFORM_BUILD from the makefile to make code fit into memory 2010-02-04 07:53:52 +00:00
fros4943 c3a2c11bbc added dec64 command 2010-02-04 00:10:48 +00:00
adamdunkels 5be78ce843 The button sensor must be initialized before it is used 2010-02-03 21:11:33 +00:00
adamdunkels b5ea3e297b Readded the shell file module so that the nightly test works 2010-02-03 20:42:23 +00:00
adamdunkels 1a34dbe550 Broke out the base64 commands from the text module 2010-02-03 20:37:29 +00:00
adamdunkels 7d243a8586 Added the telnet code to the list of targets to make them compile when running a bare 'make' 2010-02-03 20:06:40 +00:00
adamdunkels ef29f610f6 Reduced the available commands to make code fit 2010-02-03 20:05:19 +00:00
adamdunkels b9e28ce35b Compressed the Javascript code to improve loading time; placed the uncompressed code in a separate file 2010-02-03 16:46:52 +00:00
adamdunkels 280a8b9327 MAC channel check rate configuration paramter renamed 2010-02-03 16:45:45 +00:00
joxe c9c9d71831 fixed button to toggle light sensor 2010-02-03 09:54:38 +00:00
adamdunkels 1fdfc6fe60 The IPv4 examples work much better with the cxmac power-saving radio protocol; added Makefile flag to get the non-cfs HTTP server 2010-02-03 01:19:25 +00:00
joxe 97b7a9a209 instantiated file-description and fixed style 2010-02-02 21:41:54 +00:00
joxe e198b4508b added activation of button sensor and activation and deactivation / toggle of light sensor 2010-02-02 21:17:32 +00:00
adamdunkels b8892a7be0 Removed directory; contents are now under contikiprojects 2010-02-02 19:56:31 +00:00
adamdunkels 53d93eb83f Removed Coffee to reduces the size to make it compile successfully 2010-02-02 19:41:49 +00:00
adamdunkels 50b2118731 Send to node 1.0 instead of 41.41, to make the example work better in Cooja. 2010-02-02 16:36:46 +00:00
oliverschmidt ce48ac2d94 Added high-level config macros for the C128 (due to lack of memory no DNS support for the webbrowser). 2010-02-01 21:15:36 +00:00
nifi 72f42bffd3 added missing include 2010-02-01 17:40:33 +00:00
adamdunkels 7df2613226 Ensure that uIPv6 always is compiled and used 2010-02-01 11:52:52 +00:00
oliverschmidt 8c47eaf3b7 Added email client example. 2010-01-31 21:46:39 +00:00
oliverschmidt 8c93dd3e99 Added IRC client example. 2010-01-31 18:28:43 +00:00
nifi c1a4a83f44 Updated to match the new sensors API and fixed argument that should be const 2010-01-31 16:47:44 +00:00
oliverschmidt 57ce5f8fba Reverted last change. 2010-01-31 15:11:02 +00:00
oliverschmidt 75b773c45c Deactivated mouse support on the C64 because of "phantom keystroke" and "phantom mouseclick" issues :-( 2010-01-31 13:40:50 +00:00
oliverschmidt 1fe9bf24c9 Re-added temporarily removed file. 2010-01-31 13:36:06 +00:00
oliverschmidt 40101db78f Temporarily removed file due to CVS issue. 2010-01-31 13:34:19 +00:00
oliverschmidt 0ebe86802c Use a simpler project name as it now ends up as program file name. 2010-01-31 11:59:07 +00:00
fros4943 792770dd6c randomized send interval to avoid perfect synchronization 2010-01-21 13:04:03 +00:00
nifi 0d559a286d fixed typo + announcement API to avoid compiler warning 2010-01-19 11:23:13 +00:00
nifi 3a5dd23ace Updated to match the new sensors API 2010-01-18 11:13:40 +00:00
nifi ef8d3c1bbd Fixed to work with new sensor API (SENSORS_ACTIVATE no longer use pointer) and removed ping command to save code space 2010-01-18 11:07:15 +00:00
nifi c557f23bf4 Updated to match the new sensors API 2010-01-15 11:02:18 +00:00
nifi c5508f9f88 Changed to use the light-sensor and sht11-sensor instead of directory interfacing the drivers 2010-01-15 10:32:36 +00:00
nifi bf04174bb3 Updated to match the new sensors API 2010-01-15 10:24:35 +00:00
adamdunkels 0266411332 Use the sht11_sensor instead of directly interfacing the sht11 driver 2010-01-15 08:51:56 +00:00
adamdunkels 2d0802de72 Activate the light sensor before obtaining the value, deactivate it afterwards 2010-01-14 20:15:34 +00:00
nifi 67ae9fe26a Updated to match the new sensors API 2010-01-14 18:18:51 +00:00
joxe d9900a474a fixed to work with new sensor API 2010-01-14 17:39:22 +00:00
joxe d39234cfd9 fixed for new sensors API 2010-01-14 15:03:28 +00:00
joxe a6abcbe578 fixed to compile with new sensors API 2010-01-14 14:32:22 +00:00
joxe 82241f640e fixed for new sensor APIs 2010-01-14 14:04:39 +00:00
nvt-se 553589d0bb argument must be qualified as const 2009-12-28 18:18:23 +00:00
nifi e032f7ac2c fixed compiler warnings 2009-12-18 15:26:35 +00:00
adamdunkels df784546ee Remove sniff and debug commands to save code space 2009-12-06 23:28:25 +00:00
nifi b9418a91d7 Added call to putchar to force linking (fixes compilation error). 2009-11-20 10:45:07 +00:00
nifi 5de7d07093 fixed compiler warning 2009-11-19 17:31:23 +00:00
nifi e6015bce4c added printout of sender of received messages 2009-11-19 17:29:41 +00:00
fros4943 4b775d3d47 removed some commands to make binary fit on sky platform 2009-11-14 11:31:28 +00:00
adamdunkels 3a6f44fb34 Updated to use the command line options 2009-11-04 07:48:37 +00:00
adamdunkels 51ecb15435 Example code for using the shell netperf command 2009-11-03 22:56:27 +00:00
adamdunkels 6a8443b46b Removed Rime ping command to save flash space, added the single-hop Rime debug commands instead 2009-10-27 14:13:30 +00:00
adamdunkels e14a30262c Updated the Rime channel numbers so that all examples can be run in the same network without channel clashes 2009-10-18 17:52:08 +00:00
adamdunkels f97cbce055 Added broadcast example for completeness 2009-10-18 17:49:24 +00:00
zhitao 30875da288 a little faster autoconfiguration 2009-10-16 15:13:25 +00:00
nvt-se 8d4021529c Added a generic file-upload command. shell-upload only takes .ce files. 2009-09-29 15:46:38 +00:00
nifi 6b60454f2d cleaned up error messages and break at first error 2009-09-21 14:14:46 +00:00
nvt-se f3e304ec40 Removed duplicate test return value. 2009-09-17 14:32:57 +00:00
zdshelby 83988ef554 - Removed rime_test from the Makefile 2009-09-09 07:34:53 +00:00
zdshelby 0e9220716e Initial commit of examples for the Sensinode/cc2430 platform. 2009-09-08 19:47:50 +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
nifi 6680d2c6c2 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-09-01 09:29:40 +00:00
dak664 ed9d31ef7c Add documentation 2009-07-23 23:51:36 +00:00
dak664 42a9e1e2e0 Add Huginn and Muninn web content 2009-07-23 16:21:56 +00:00
dak664 c1b7375a5a *** empty log message *** 2009-07-23 16:13:48 +00:00
dak664 e0138add63 Remove signature bytes from hex file 2009-07-08 21:46:13 +00:00
dak664 49989dbe45 Add rf230bb radio driver with conditional make on RF230BB=1 2009-07-08 15:26:17 +00:00
nifi 89ce58f576 fixed debug output to show the correct remote address 2009-06-29 12:31:03 +00:00
nifi 74ccc5a732 replaced DEFAULT_TARGET with Makefile.target for specifying default target 2009-06-26 12:11:26 +00:00
nifi f0a3477dd2 replaced DEFAULT_TARGET with Makefile.target for specifying default target 2009-06-26 12:04:46 +00:00
fros4943 501416fca0 disabled rime commands to decrease rom usage 2009-06-26 09:51:18 +00:00
joxe 3b97f72c0c added makefile with saved target 2009-06-23 21:03:13 +00:00
dak664 728c482cc3 remove .fuse section from hex file, add mcu 2009-06-19 18:46:41 +00:00
adamdunkels 617eae6ca1 Removed the debug and sniff commands to make code size smaller so that the compiled binary fits in ROM 2009-06-18 09:01:16 +00:00
adamdunkels 4c22ef33d0 Moved compile-platforms from examples/ to tools/release-tools 2009-06-18 08:40:57 +00:00
fros4943 7741d58cdb minor fix: removed superfluous etimer_reset 2009-06-09 19:31:55 +00:00
fros4943 45e3b5a8b3 transmit with random intervals: 2-4 seconds 2009-06-09 09:27:03 +00:00
c_oflynn 0946203c57 Remove fuses from .hex, Pass MCU name to avr-size 2009-06-02 21:58:32 +00:00
nvt-se f115894193 switched to larger type size for the file size.
use AND on characters read back since the file size is larger than 255 bytes.
2009-05-26 13:48:32 +00:00
adamdunkels 7bd7cd64b3 Rewrote the webserver so that sensor data is loaded using Ajax-style XmlHttpRequest and that a spinner icon is shown when the data is loaded 2009-05-11 17:38:29 +00:00
adamdunkels e6d2fada05 Added the tweet command 2009-05-11 17:37:15 +00:00
adamdunkels d1b97feb88 Added a telnet server with Twitter commands 2009-05-11 17:36:13 +00:00
adamdunkels 381beac299 Code style fixes 2009-05-06 15:03:49 +00:00
nvt-se 3eac697f85 fixed a compiler warning by providing an int type of the argument to
printf, as specified by the format.
2009-05-04 22:09:52 +00:00
joxe eec984dfe3 minor bugfix - added process_pause 2009-04-25 22:38:00 +00:00
joxe 889a2bb024 minor improvements 2009-04-25 10:21:51 +00:00
joxe 19a30284e5 fixed minor bug in viewer 2009-04-25 10:04:38 +00:00
joxe d8d7e9142d added a hi-res RSSI scanner and viewer for sky/jcreate 2009-04-25 09:41:37 +00:00
fros4943 0d82fcb143 contiki shell example with only platform independent commands 2009-04-23 08:42:07 +00:00
fros4943 71c3c8e86c enabled download and sendcmd commands + cleanup 2009-04-20 13:08:56 +00:00
nvt-se d86ee2c665 changed address setup slightly. 2009-04-10 16:51:16 +00:00
nvt-se 73d5025e04 changed udp examples into a client and a server, added multi-hop routing,
clarified the code.
2009-04-09 21:35:38 +00:00
nvt-se 2eaec8d38a print the file version more seldom. 2009-04-07 15:14:17 +00:00
nvt-se d936dc1d09 print the time of the test. 2009-04-03 11:12:17 +00:00
nvt-se ca617f5559 updated the documentation. 2009-04-02 10:35:08 +00:00
fros4943 4706ddf023 exec shell command and elfloader example 2009-03-26 12:46:19 +00:00
adamdunkels ebbae099ce A program that displays the number of neighbors on the JCreate LEDs 2009-03-24 19:45:46 +00:00
adamdunkels d0b969ec5a Rewrote the multihop example to better show how to use the multihop layer. Now also shows how to use the memb, list, and annoncement mechanisms. 2009-03-23 18:10:09 +00:00
adamdunkels 61d33173a3 Renamed the serial module to serial-line 2009-03-18 07:20:18 +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
zhitao 77c8524aa5 wait until rime finishes forwarding to send 2009-03-10 14:36:48 +00:00
adamdunkels 151853ca37 Added example announcement code 2009-03-08 20:27:42 +00:00
fros4943 659c7e7311 added webserver-nogui source and WITH_NULLMAC to example code (too large otherwise) 2009-03-03 17:25:33 +00:00
fros4943 6c1207c5d5 updated runicast example: added sender history to detect duplicate callbacks 2009-03-03 12:28:39 +00:00
oliverschmidt b4d6dd6893 Added webserver and irc. 2009-03-01 23:37:49 +00:00
nvt-se 75d8c75768 use more suitable process name. 2009-02-27 19:32:28 +00:00
nvt-se a0226e2418 switched all users of cfs_seek(x,y) to cfs_seek(x,y,CFS_SEEK_SET) 2009-02-27 14:28:02 +00:00
fros4943 a6fc125b64 printing local ipv6 address at startup. addresses must match in order for the examples to work 2009-02-26 09:02:09 +00:00
nvt-se 31bc37a043 Added Deluge and tests for it. 2009-02-25 17:00:00 +00:00
fros4943 90767a76b3 moved ipv6 udp example processes from apps/udp to inside examples/udp-receiver-ipv6 and examples/udp-sender-ipv6
* transmitting human readable strings between the two processes
* remote address configurable at compile time via DEFINES=...
2009-02-25 12:11:17 +00:00
fros4943 cb56161c94 moved ipv6 udp example processes from apps/udp to inside examples/udp-receiver-ipv6 and examples/udp-sender-ipv6 2009-02-25 12:10:10 +00:00
nvt-se 3f71499c96 format first to get deterministic results. 2009-02-22 15:17:36 +00:00
nvt-se a2d651af72 seek test (-25) failed sometimes because it assumed a default file size of 8kb. reserve the file instead so the default doesn't matter. 2009-02-17 15:08:01 +00:00
fros4943 ab61e8b8b5 bugfix: including random.h to avoid random_rand() assumed signed, and timer intervals becoming very very small 2009-02-17 08:44:44 +00:00
adamdunkels 0d699abe79 Disabled checkpointing for the default sky-shell build to reduce object code size, instead added a separate sky-checkpoint build with checkpointing but without the 'sky-alldata' command 2009-02-14 22:53:00 +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
adamdunkels 9c4d2da561 Bugfix: it is etimer_reset() that makes timer behavior stable, not etimer_restart() 2009-02-07 22:38:01 +00:00
adamdunkels 67f649c4aa Use etimer_restart() to avoid synchronization effects from the abc_send() invocation taking time to complete 2009-02-07 22:28:25 +00:00
adamdunkels c10ae7b6dc Increased the inter-packet time to work better on the sky platform 2009-02-07 16:17:33 +00:00
adamdunkels 2e55bb5151 Removed the blink process to make the code simpler, added randomness to the transmission intervals 2009-02-06 10:12:52 +00:00
fros4943 1795dbf199 added checkpoint and rollback commands:
writes/reads checkpoint images from file system.

(temporarily disabled rime debug and sniff commands)
2009-02-04 17:54:28 +00:00
julienabeille 2218d8ef8b Added an application and example to run IPSo interoperability test using RAVEN boards 2009-01-27 10:57:28 +00:00
nifi 4eebe9afd9 Updated to match new mesh API. Thanks to Carlo Alberto Boano for fixing. 2009-01-19 13:24:42 +00:00
nifi 677dd296a6 Updated to match new multihop API. Thanks to Carlo Alberto Boano for fixing. 2009-01-16 17:40:16 +00:00
adamdunkels fdf5836763 Example shell for the Sentilla JCreate 2009-01-15 22:11:58 +00:00
fros4943 008d4ba33f sky example running both webserver and serial shell (overrides default slip handler) 2009-01-15 13:18:19 +00:00
nifi 0371d20a40 updated for new rimeaddr API 2008-12-16 17:05:14 +00:00
nifi 52c2f23e28 CLOCK_CONF_SECOND must be a power of two for MSP430 platforms (see cpu/msp430/clock.c for details) 2008-12-16 16:53:04 +00:00
nvt-se 747d27ecda updated cooja/mspsim test for coffee. now with GC 2008-12-12 13:24:42 +00:00
nvt-se 1f03e79a89 added a simple garbage collection test. 2008-12-12 10:28:11 +00:00
adamdunkels f0f9314e7e Reversed byte order to match the old ->u16 approach to make the automated tests & scripts work again 2008-12-02 08:09:46 +00:00
adamdunkels c0ce2efd89 Removed the rimeaddr ->u16 field 2008-12-01 15:19:11 +00:00
adamdunkels a847ff738d Removed reliance on the ->u16 field in rimeaddr 2008-12-01 14:17:36 +00:00
adamdunkels 33bf01534c Rewrote code that used the old ->u16 field in rimeaddr_t to access Rime addresses to use rimeaddr_copy() and the ->u8 field instead 2008-11-30 18:36:55 +00:00
nifi 1865f13f3a fixed more robust parsing 2008-11-26 14:22:54 +00:00
nvt-se 1a87d5a661 use new remove function name. 2008-11-24 10:59:40 +00:00
fros4943 a02a2e998a added sky support for multi-threading example 2008-11-21 10:36:16 +00:00
oliverschmidt 7cf3165155 Replaced NETSIM macro with general (and now actually working) solution in Makefile.include. 2008-11-17 22:52:10 +00:00
nvt-se 636bf70a8c added append test. 2008-11-13 14:46:50 +00:00
fros4943 3033201d24 longer send period + forcing example to wait until an ongoing transmission is finished before initiating a new transmission 2008-11-11 13:50:21 +00:00
fros4943 92ecda2202 using the same addresses in both netsim and non-netsim 2008-11-11 11:25:39 +00:00
oliverschmidt 57f8e86532 Minor formatting change. 2008-11-10 22:47:10 +00:00
oliverschmidt c109e102c4 Include wget shell command in "standard" shell environments. 2008-11-10 22:10:32 +00:00
adamdunkels de601c9523 Added battery voltage level readout & SHT11 low-voltage indicator 2008-11-10 21:14:20 +00:00
adamdunkels 5e772838eb Remove debug printouts. Increase neighbor advertisement timers. 2008-11-06 08:24:20 +00:00
adamdunkels 2ac1c3e231 avr-raven needs to be built with uIPv6 - this should hopefully fix the nightly builds 2008-10-30 21:28:20 +00:00
adamdunkels de084cecfb Corrected mistake in the avr makefile target 2008-10-17 20:23:32 +00:00
adamdunkels e3c1d488be Added avr-raven to compilation targets 2008-10-17 17:55:13 +00:00
nvt-se ea9c3ab98c allow in-page offets 2008-10-16 10:14:41 +00:00
c_oflynn 778f51f445 Change makefile to build with just 'make' 2008-10-15 20:52:03 +00:00
mdurvy 33f9b07915 warning for prefix lifetimes 2008-10-15 08:55:25 +00:00
c_oflynn 1726c10a46 Forgot these files! 2008-10-14 22:04:16 +00:00
c_oflynn d5865cb2b6 -Change needed for ravenusb to build
-Reverts Makefile.include back to 1.57, then apply the needed change
2008-10-14 20:31:46 +00:00
c_oflynn a520fe4646 Lots of changes / commits! This allows ravenusbstick example to build at least. 2008-10-14 19:06:51 +00:00
julienabeille 2238f2e7da Debugged autoconf for ethernet 2008-10-14 16:50:11 +00:00
julienabeille f5f0044578 examples for uIPv6 2008-10-14 10:01:52 +00:00
fros4943 27bc3f771a printing message when packet sent
+ changed period to 2 seconds (can be run unchanged with x-mac)
2008-10-02 21:08:58 +00:00
nvt-se 3c5ed37751 basic tests of Coffee. 2008-09-18 10:35:30 +00:00
nifi 4206ff28a2 Fixed problem with programming Sky nodes using the Java interface under Linux 2008-09-03 13:35:21 +00:00
nifi 822726f817 Added system time when the sensordata is received at the base station and fixed sensor data log to be flushed. 2008-08-29 10:00:23 +00:00
nifi ec69c1c825 Added menu option to send init script to nodes. Added charts 'Average Power' and 'Average Temperature'. Limited the number of displayed chart items to 250 in the time charts 2008-08-29 09:00:15 +00:00
nifi 71c219f5fc added option to limit the number of displayed chart items 2008-08-29 08:42:30 +00:00
nifi dbde68654a Only show nodes with sensor data by default 2008-08-28 07:32:24 +00:00
adamdunkels 9f9ba7d6d9 Added the 6502 targets to the default nightly build checks 2008-08-19 09:20:27 +00:00
oliverschmidt 59c5d05388 Presuming that all platforms based on a certain cpu should be listed here... 2008-08-17 09:56:58 +00:00
adamdunkels 96c47c8ef8 Prepared for automatic cc65 compilation 2008-08-16 13:08:36 +00:00
adamdunkels d0f8770263 Bugfix: dates are now correctly displayed. Capped humidity values at 100% 2008-08-15 18:47:13 +00:00
adamdunkels 46b824d80f Enable rime debug commands (broadcast, unicast) 2008-08-15 18:46:28 +00:00
adamdunkels 5991bc0d67 Milliseconds -> seconds 2008-07-10 20:05:09 +00:00
nifi c4b197a2a4 added option to program Sky nodes from the Java interface 2008-07-10 14:52:59 +00:00
nifi e75579623a setup library for tools 2008-07-10 00:23:30 +00:00
nifi 09197c7ad0 moved range configuration to initialization 2008-07-10 00:19:20 +00:00
nifi 5c37342e14 bug fix 2008-07-09 23:33:33 +00:00
nifi 0fa1ae0fce Java interface using the shell to collect and visualize sensor values from Sky nodes 2008-07-09 23:18:05 +00:00
nifi 551056f263 updated for the latest CC2420 api 2008-07-09 21:49:20 +00:00
adamdunkels d89256c272 Changed from shell app to serial-shell app 2008-07-09 20:57:58 +00:00
adamdunkels 329cea44d7 Replaced the sky-shell with the new sky-shell-collect and removed sky-shell-collect 2008-07-09 20:39:27 +00:00
nifi e92b7178b9 fixed compiler warning 2008-07-08 12:54:41 +00:00
adamdunkels 082efade5b Removed netfile command, added net debug commands 2008-07-07 23:45:35 +00:00
adamdunkels 10f3964be1 Added an AJAX-style web server app that continously updates a web page with data from the Tmote Sky on-board sensors 2008-07-07 23:42:32 +00:00
adamdunkels b88b231c62 Removed ps command to make code fit in memory 2008-07-04 00:01:06 +00:00
adamdunkels 93ce938d8d enable coffee code coffee and netcmd commands 2008-07-03 23:32:03 +00:00
adamdunkels aed5ea1720 Bugfix in netsend commands 2008-07-03 23:31:38 +00:00
adamdunkels 4687c2c948 Renamed Rime module mh to multihop 2008-07-03 22:36:02 +00:00
adamdunkels c2c3835110 Changed name of Rime module ruc to unicast 2008-07-03 21:52:25 +00:00
adamdunkels 8b91a56a4e Added target for sky-shell-collect.c data collection 2008-07-03 18:48:53 +00:00
adamdunkels 96fb8163e6 Shell program that sends a lot of data: sensor data, power data, neighbor data 2008-07-03 18:40:18 +00:00
adamdunkels da4803e4d4 Updated window title and heading 2008-07-02 14:12:48 +00:00
adamdunkels 66876625d4 Changed name of the simple-cc2420 module to cc2420: changed all function names and variable names from simple_cc2420_* to cc2420_*. 2008-07-02 09:05:40 +00:00
adamdunkels 1586d8f36f Changed filename of the CC2420 driver from simple-cc2420 to cc2420. 2008-07-01 21:02:51 +00:00
adamdunkels 63c620303a Changed the 'ibc' and 'uc' Rime modules into the more descriptive names 'broadcast' and 'unicast' 2008-06-26 11:19:22 +00:00
adamdunkels 61bd8009f1 Reverted mistake commit 2008-06-02 08:42:34 +00:00
adamdunkels 199a14150b Removed redundant targets 2008-05-29 20:30:44 +00:00
adamdunkels cbca96c545 Example code for multi-hop Tmote Sky telnet server and web server 2008-05-29 20:17:48 +00:00
oliverschmidt 4dcbc3273e Now that we started adding files to the CVS which are normally generated with a 'save...' make goal we can remove the DEFAULT_TARGET mechanism altogether and just add Makefile.target files. 2008-05-26 10:09:12 +00:00
oliverschmidt 1cab294517 The Contiki 2.x build system allows to define arbitrary macros for the C compiler preprocessor (in other word add -d<macro[=value]>'s to the C compiler command line) directly from the gnumake command line by setting the gnumake variable DEFINES to a comma-seperated list of macros (and optionally values) like this:
make TARGET=mytarget DEFINES=MYLOG, MYSIZE=100, MYTRACE

The build system does however _NOT_ take care to rebuild things if the DEFINES change so most likely a 'make clean' is advisable. To ease usage the DEFINES may be saved individually per target with the goal 'savedefines' similiar to savinf the target.

The 6502-based target leverage the DEFINES mechanism by introducing so-called 'high level config macros' which allow to configure Contiki per target AND per project.

Most of the time there's exactly one reasonable set of high level config macros for every combination of target and project. Therefore it makes sense to place them into CVS.
2008-05-26 09:28:28 +00:00
oliverschmidt 8248685dcf Not all targets support stdio. There I replaced stdio output with log output (and streamlined the source). 2008-05-26 09:12:22 +00:00
oliverschmidt b2810f02e1 Many project Makefiles build just one Contiki binary. Up to now the name of this binary was only available to the 'all' goal as prerequisite. So it was possible to create a non-project-specific rule to i.e. load that binary into the target device.
Therefore I introduced the make variable CONTIKI_PROJECT. Now a typical project Makefile starts with:

CONTIKI_PROJECT = hello-world
all: $(CONTIKI_PROJECT)
2008-05-26 07:37:24 +00:00
oliverschmidt ad7ad61482 Added some sample content for the webserver example using CFS. 2008-05-21 07:43:53 +00:00
joxe 7722a73abf modified API for fft 2008-04-25 22:12:25 +00:00
joxe faf0f2ea0a added fft test program sampling using the esb-mic. 2008-04-25 16:34:31 +00:00
fros4943 e9f8102fec added netsim address style support 2008-04-24 11:50:04 +00:00
fros4943 01fba84c16 sending from node 2 to node 1 2008-04-24 11:41:50 +00:00
zhitao 23d437e656 synched with the new mac->off function parameter 2008-04-16 10:49:50 +00:00
oliverschmidt 12f6b3c206 Removing (the now obsolete) tcpip_set_forwarding(0) shouldn't hurt. 2008-03-29 15:20:48 +00:00
oliverschmidt 0fc8481f15 As adding some commands to the telnet server shell doesn't seem to be desirable in the application it's now done in the example. 2008-02-28 23:12:47 +00:00
thiemovoigt f464ae3cc4 update to conform to newer Contiki, in particular set_channel stuff 2008-02-25 12:04:41 +00:00
thiemovoigt b79cb25ccd update to conform to newer Contiki, i.e. set_channel for radio 2008-02-25 12:03:25 +00:00
adamdunkels 8f6d2d6c3f Added simple-cc2420 include, added argument to mac->off() 2008-02-24 22:27:41 +00:00
adamdunkels ad2a8e5e97 Changed all occurences of u8_t and u16_t to uint8_t and uint16_t 2008-02-24 22:15:46 +00:00
adamdunkels 17f13e38e8 TCP/IP-networking examples for the Tmote Sky platform 2008-02-24 21:33:57 +00:00
oliverschmidt 2632f8f937 Removed finally unnecessary cast. 2008-02-10 22:36:36 +00:00
adamdunkels 136ad1e48c Example application that runs the Contiki shell on the Tmote Sky 2008-02-04 23:52:33 +00:00
adamdunkels 44d7d9a9a4 Changed names of the Rime examples from test-* to example-* and added examples for ruc and uc 2008-01-25 18:00:50 +00:00
adamdunkels 68523814c5 Moved from examples/sky into generic platform/sky/apps so that all examples can use it 2008-01-23 20:34:37 +00:00
zhitao 10ce1ed03e Pulled in updated defines for the sky platform 2008-01-22 15:00:24 +00:00
zhitao b9c34bf835 Removed redundant initialization 2008-01-22 14:58:41 +00:00
nifi 3739cd8eea corrected comment 2008-01-10 13:40:20 +00:00
nifi 75784e2314 simple application to indicate connectivity between two nodes 2008-01-10 09:59:33 +00:00
adamdunkels df9d43c62d Fixes to total power plot generation 2008-01-08 08:28:09 +00:00
adamdunkels ff42002bc5 Added extraction of power data (not just energy) 2008-01-08 08:07:23 +00:00
adamdunkels bfd894c7bd Made graphs nicer by using gnuplot's mulitplot functionality, added power graph 2008-01-08 08:06:41 +00:00
adamdunkels 12bbe80003 Added timestamps and radio signal noise measurements 2008-01-08 08:05:34 +00:00
adamdunkels b71224b438 tree.h -> collect.h 2007-12-16 14:37:02 +00:00
oliverschmidt 4ffca4c3b8 Introduced web browser as new example using ctk fullscreen mode. 2007-12-15 22:05:34 +00:00
nifi a8313c3b39 removed unused include 2007-11-29 10:29:03 +00:00
nifi 242c88497a Rime port of the radio test 2007-11-28 23:10:38 +00:00
nifi 1c5fd0aa86 fixed compiler warning 2007-11-28 20:31:30 +00:00
nifi 1c7c74a6ad replaced blink with blinker that uses more sensors 2007-11-28 20:28:56 +00:00
adamdunkels 20cab2ba22 Print out system and c compiler version 2007-11-28 20:05:51 +00:00
adamdunkels 8d96443a3b A set of scripts for producing plots from the output of the sky-collect program 2007-11-28 16:56:37 +00:00
adamdunkels 1b659316b7 Updated to use the 'collect' module instead of the old 'tree' module 2007-11-28 16:52:22 +00:00
adamdunkels 6dfeb266ff Fixed to use the 'collect' module instead of the 'tree' module 2007-11-28 16:05:32 +00:00
adamdunkels 13ca6c9946 It now says if it succeeded as well as failed 2007-11-28 12:53:39 +00:00
nifi 8cf6ac9212 ESB examples 2007-11-27 22:32:38 +00:00
adamdunkels 0074e4248b Fixed problem that made error output not visible 2007-11-27 21:58:07 +00:00
adamdunkels 64a2602183 Makefile for compiling a set of Contiki platforms and produce error messages for those platforms that do not compile 2007-11-27 20:50:54 +00:00
adamdunkels a677abb6b1 Fixed compiler warning 2007-11-26 23:36:09 +00:00
adamdunkels 4edbad10a7 Fixed so that it runs with multiple Tmote Sky boards attached; it now uses the first one 2007-11-26 23:34:52 +00:00
adamdunkels 99f1aa9238 Added upload and rundemo targets, removed obsoleted %.upload target 2007-11-26 23:32:32 +00:00
adamdunkels 85c75d18fb Added rt-leds and sky-treeroute ass default compile targets, removed tcprudolph0 as it currently does not compile due to memory exhaustion 2007-11-26 23:25:35 +00:00
adamdunkels efe0306687 Removed dependency on PIR sensor 2007-11-26 23:24:33 +00:00
nifi f0a901fc7c fixed compiler warnings 2007-11-26 21:58:51 +00:00
adamdunkels 33d7c0badd Fixed compiler warnings to make code compile with gcc's -pedantic switch 2007-11-17 18:16:48 +00:00
adamdunkels 1e1e44a3f8 Fixed compiler warnings to make code compile with gcc's -pedantic switch 2007-11-17 18:01:00 +00:00
adamdunkels 75a1cb72f8 Fixed compiler warnings 2007-11-17 10:28:49 +00:00
nifi a6d827fa1f moved initialization of ctimer to allow MAC layer to use ctimers 2007-11-15 13:07:42 +00:00
adamdunkels 8961ec7ef8 Updated to send much more statistics than before: energy estimates, rime statistics, neighbor statistics 2007-11-13 21:09:14 +00:00
adamdunkels da045911eb Added serialdump target that prints the output of the first Tmote Sky to a file 2007-11-13 21:03:27 +00:00
adamdunkels 508c258cb7 Copy README file to zipfile too 2007-11-12 22:30:33 +00:00
adamdunkels b5241dc609 Updated instructions 2007-11-06 19:57:41 +00:00
adamdunkels 5a544c2c8a Increased sleep time 2007-11-06 19:57:10 +00:00
adamdunkels f2434b53be Updated makefiles and paths to make a .zip file with demo contents 2007-11-06 14:46:12 +00:00
fros4943 6b6a911185 added jar target 2007-11-01 17:34:36 +00:00
fros4943 8e3294c7d5 final versions 2007-11-01 17:33:16 +00:00
fros4943 37bf441e40 energy demo poster 2007-10-30 08:44:46 +00:00
adamdunkels 131e922020 Added heading, Contiki URL; fixed serialdump path; minor fixes 2007-10-25 18:43:18 +00:00
adamdunkels a31cd7649d Contiki energy estimation demo for ACM SenSys 2007 2007-10-25 13:04:01 +00:00
adamdunkels 11a80b85ec Contiki energy estimation demo for ACM SenSys 2007 2007-10-25 12:56:28 +00:00
adamdunkels b96f9cb553 Makefile that produces a bunch of .ihex files for burning node IDs into Tmote Sky nodes 2007-10-25 12:07:17 +00:00
adamdunkels 6c241b9f2b Program for testing the Rime reliable unicast bulk transfer protocol 2007-09-27 22:21:27 +00:00
nvt-se 077fc61084 Static should come first because it's a storage class. 2007-09-14 20:07:26 +00:00
oliverschmidt f8bf3e1428 Fixed buffer overflow. 2007-08-10 10:33:28 +00:00
oliverschmidt 7f7f11d30f Set default target to minimal-net. 2007-05-26 22:42:02 +00:00
adamdunkels 2c446cb921 Added SHT11 readings, a lot of other stuff 2007-05-22 21:05:09 +00:00
adamdunkels 7eea8062e0 Try sending every packet 10 times at most 2007-05-22 21:04:34 +00:00
adamdunkels eefed6abbe Removed bad include cfs/cfs-ram.h 2007-05-22 21:04:19 +00:00
adamdunkels 0db074ae29 Renamed uabc to polite 2007-05-22 21:04:00 +00:00
oliverschmidt 9f97290665 Changed Contiki File System (cfs) from a service to a plain library.
This change means that one needs to select _ONE_ cfs implementation at Contiki library link time. But this doesn't appear to be an issue as all platforms have their "favorite" implementation anyway.
2007-05-19 21:05:48 +00:00
adamdunkels 940da856de Bugfixes, updates 2007-05-15 08:09:21 +00:00
oliverschmidt a07a39d3c2 Allow to easily build the webserver example with cfs support by running make with the parameter HTTPD-CFS=1. 2007-04-23 23:30:14 +00:00
oliverschmidt 91710dd48f Minor adjustment to coding style. 2007-04-04 17:41:28 +00:00
oliverschmidt f1d9702b68 Added an example application to show the usage of the Contiki Multi-threading library. 2007-04-03 20:13:27 +00:00
adamdunkels 1e950af492 Test program that blinks LEDs using the rtimer real-time timers 2007-04-03 19:02:27 +00:00
adamdunkels d7a2317e33 Header already reduced 2007-04-02 20:02:23 +00:00
adamdunkels 836552a742 API fixes 2007-04-02 20:02:13 +00:00
adamdunkels 35957aa600 Removed unused button code 2007-04-02 18:06:35 +00:00
adamdunkels d7982e41c9 Added percentage output in netsim 2007-04-02 17:51:54 +00:00
adamdunkels 2f50533d30 Added LED output that shows when a file has been completely downloaded 2007-04-02 10:04:37 +00:00
adamdunkels e924c41a3b Added more printouts 2007-03-31 18:43:45 +00:00
adamdunkels ce53fdd7f4 Now prints out sensor data 2007-03-31 18:41:13 +00:00
adamdunkels b2227d6a8c Added default netsim target 2007-03-29 23:50:51 +00:00
adamdunkels af60193256 Treeroute for Sky 2007-03-27 10:39:30 +00:00
adamdunkels 0d7af38ae5 Make sure psock is included in core 2007-03-25 21:53:08 +00:00
adamdunkels 48f467a685 Bug fixes: no clock tick when interrupts turned off, need to artifically trigger after ELF loading 2007-03-25 21:45:32 +00:00
adamdunkels 2114e7f847 Rudolph now in core Rime 2007-03-25 12:15:09 +00:00
adamdunkels 579fcb5190 Include path 2007-03-25 12:14:21 +00:00
adamdunkels 4e5a47aec4 Make LEDs blink when data is received 2007-03-25 12:13:27 +00:00
adamdunkels 0c0d823dbf Typo 2007-03-25 12:13:04 +00:00
adamdunkels c3457e82a4 Added exithandlers so that the examples can be run as loadable (and unloadble) modules 2007-03-25 12:10:29 +00:00
nifi a12359cb5d Makefile with default TARGET sky for the sky examples 2007-03-23 15:03:00 +00:00
adamdunkels b56cc3d077 Test file for CFS driver 2007-03-23 12:17:28 +00:00
adamdunkels a2c3501728 Testing the button 2007-03-23 00:06:12 +00:00
adamdunkels 757a226e39 Blinking LEDs 2007-03-23 00:05:52 +00:00
adamdunkels 68506272dc Program for loading an ELF file over TCP and Rudolph0:ing it out into the air 2007-03-23 00:03:25 +00:00
adamdunkels 00bd901d25 Message size should include ending zero byte 2007-03-22 23:58:37 +00:00
adamdunkels dd276a9c8a Removed the use of CFS. Instead, provide callbacks for the using application to fill in data. 2007-03-22 23:54:40 +00:00
adamdunkels b731014bc0 Updated for the new APIs 2007-03-22 19:03:56 +00:00
adamdunkels 790d4ba24d Added rudolph tests 2007-03-21 23:24:24 +00:00
adamdunkels 5c6c6e3358 Added configurable interval 2007-03-21 23:23:02 +00:00
adamdunkels 404c2cc0a3 Moved all Rime examples into examples/rime directory 2007-03-20 12:21:17 +00:00
adamdunkels 43326b5ae6 API change for Rime: *_setup() renamed to *_open() 2007-03-19 19:24:36 +00:00
adamdunkels 7b924672bd Simple Rime test code 2007-03-15 22:11:11 +00:00
adamdunkels fa66c652cd Example showing how to use the mesh routing code in Rime 2007-03-15 22:06:19 +00:00
adamdunkels 8b9ba9931b Example showing how to use the tree routing code in Rime 2007-03-15 22:03:58 +00:00
oliverschmidt 7168278a89 Adding 'APPS+=program-handler' in apps/Makefile.telnetd might be considered more consistent but I opted for this more obvious approach. BTW yet another example that from my perspective simply can't have worked... 2007-03-03 13:32:10 +00:00
adamdunkels 5a7034fe5d A really simple Contiki program, intended to show how the build system works and how to write simple Contiki programs 2006-10-02 21:46:46 +00:00
bg- 9009d8dc06 More uip_ipaddr_t fixes. 2006-08-10 19:22:23 +00:00
adamdunkels ade5db05f5 Removed unneeded target 2006-06-17 22:53:09 +00:00
adamdunkels c9e808d638 Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00