Commit graph

2550 commits

Author SHA1 Message Date
oliverschmidt f74503c23c Replace non-fully-functional hack with the new gnumake variable CONTIKI_PROJECT. 2008-05-26 10:13:32 +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 03462fabd6 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 08:04:10 +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 90797f15a7 Fixed copy&paste issue. 2008-05-24 08:31:56 +00:00
oliverschmidt 356f5cfa04 The recent optimizations (usage of language card bank2 through new C-library, logging through ROM routine, removal of unused IP forwarding code) allowed to increase the number of concurrent HTTP conntections from 3 to 7 :-) 2008-05-23 23:13:41 +00:00
oliverschmidt d7fe1f91cd Added a bootable ProDOS 8 disk image and my ProDOS 8 binary loader to by used by the 'disk' make target. 2008-05-22 22:25:03 +00:00
oliverschmidt a78a7dedbc Added make target 'disk' for creating a .dsk disk image using AppleCommander. 2008-05-22 22:21:43 +00:00
oliverschmidt 7120cf4404 Added make target 'disk' for creating a .d71 disk image using c1541. 2008-05-22 22:19:30 +00:00
oliverschmidt dc63b33956 Added make target 'disk' for creating a .d64 disk image using c1541. 2008-05-22 22:18:25 +00:00
oliverschmidt cd1608aa08 Activate uIP forwarding support. 2008-05-22 19:49:48 +00:00
oliverschmidt e914302e94 Removed check already done in Makefile.include. 2008-05-22 19:45:47 +00:00
oliverschmidt 929da590be Removed '!' as gnumake already adds '.'. 2008-05-22 19:43:08 +00:00
oliverschmidt b750e8cc42 Moved platform/c64/contiki.cfg to tools/c64/sample.cfg 2008-05-21 08:13:04 +00:00
oliverschmidt 5dba39fab1 Moved platform/c128/contiki.cfg to tools/c128/sample.cfg 2008-05-21 08:09:46 +00:00
oliverschmidt a341f981aa Moved platform/apple2enh/contiki.cfg to tools/apple2enh/sample.cfg 2008-05-21 07:59:43 +00:00
oliverschmidt 56f7cd5890 Renamed from .htm to .html 2008-05-21 07:55:46 +00:00
oliverschmidt ad7ad61482 Added some sample content for the webserver example using CFS. 2008-05-21 07:43:53 +00:00
adamdunkels 8b4179cf45 Moved ctimer_init() so that MAC protocols can use ctimers in their initialization code 2008-05-19 12:07:49 +00:00
oliverschmidt a5fcfa2787 I seem to remember that we wanted to avoid ignoring gcc warnings that might trigger errors with other compilers ;-) 2008-05-16 21:31:57 +00:00
adamdunkels 532692e5a0 Removed reference to non-existant function rimebuf_attr_isset() 2008-05-16 15:04:10 +00:00
oliverschmidt 449fda5f8b Added small php script (with accompanying html form) to generate a binary config file (typically named 'contiki.cfg') readable by cpu/6502/lib/config.c. 2008-05-15 22:39:30 +00:00
adamdunkels 8ea461b039 Changed on time to work with the current default tick time on the sky platform 2008-05-15 08:59:48 +00:00
adamdunkels dbab9fbdb5 A quick, initial implementation of the LPP power-saving MAC protocol (Musaloiu-E et al, IPSN 2008) 2008-05-15 08:56:29 +00:00
adamdunkels 6709823d4a Bugfix: energy estimation was not correct if a packet was sent when the radio was not in listen mode 2008-05-14 19:44:30 +00:00
adamdunkels 7aa8508e0b Added display of radio status: a green ring appears around nodes with their radio turned on. Added a command that prints out a .fig file that shows the current network setup (press the 'd' key). 2008-05-14 19:22:57 +00:00
adamdunkels 1feb4fe3cb Removed call to tcpip_set_forwarding() - the UIP_CONF_IP_FORWARDING configuration option is used instead 2008-05-14 19:20:28 +00:00
adamdunkels 31ea41d8db Changed the name of UIP_CONF_TCP_FORWARD to UIP_CONF_IP_FORWARD since forwarding is done at the IP level 2008-05-14 19:19:28 +00:00
nvt-se 63a8390f51 no debugging printouts by default 2008-05-14 14:02:48 +00:00
fros4943 1877a8361f shorter test duration 2008-05-02 06:15:16 +00:00
fros4943 58ca3bcae3 ctimer test 2008-05-02 05:58:01 +00:00
fros4943 745edbe9ea misspelling fix 2008-05-02 05:47:52 +00:00
fros4943 b893af79a6 saving portable paths (no '\'s) 2008-05-02 05:47:22 +00:00
fros4943 5cd7df6cd1 updated version with email notif 2008-04-29 04:43:27 +00:00
nvt-se 67c9674381 Contributions from Michael Baar.
Source and documentation files are included
automatically. Small fixes for Windows also.
2008-04-28 11:36:59 +00:00
nvt-se 776f377a69 Configuration for the Sky platform. 2008-04-28 10:34:33 +00:00
nvt-se 92649bedce A flash file system for sensor nodes. 2008-04-28 10:33:14 +00:00
joxe 7722a73abf modified API for fft 2008-04-25 22:12:25 +00:00
nifi 8b30087ce4 added ifft 2008-04-25 16:51:51 +00:00
joxe faf0f2ea0a added fft test program sampling using the esb-mic. 2008-04-25 16:34:31 +00:00
joxe 7be3aeeeb5 added sampling mode in sound sensor 2008-04-25 15:55:37 +00:00
joxe 57dedee38f enabled ADC IRQs if ADC sensors active 2008-04-25 15:53:55 +00:00
fros4943 91042860a9 updated linux external tools conf 2008-04-24 12:05:13 +00:00
fros4943 d8f69c0a84 example info file 2008-04-24 11:55:39 +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
fros4943 cbb68a71f6 jar target compiles mspsim and mrm 2008-04-24 11:36:07 +00:00
fros4943 3dcc90d9c0 some additional test output 2008-04-24 06:17:26 +00:00