Commit Graph

119 Commits

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