Commit graph

3114 commits

Author SHA1 Message Date
adamdunkels cbca96c545 Example code for multi-hop Tmote Sky telnet server and web server 2008-05-29 20:17:48 +00:00
adamdunkels d134a1fcb1 Moved sky-specific make targets from the tools/sky/Makefile to the more natural platform/sky/Makefile.sky. Added a number of convenient targets for accessing the serial port. 2008-05-29 20:15:49 +00:00
nvt-se 44c93fcd93 cleared lock semantics 2008-05-28 13:17:08 +00:00
adamdunkels 7ca33e2285 Reverted inadvertedly committed change to lpp instead of nullmac 2008-05-27 19:07:20 +00:00
nvt-se fed62e1642 added timeout 2008-05-27 14:22:55 +00:00
nvt-se 07f8875963 added missing header 2008-05-27 14:05:09 +00:00
nvt-se f2c6f77f7d removed debug print 2008-05-27 14:04:15 +00:00
adamdunkels 41f2443c02 Removed old unused documentation that messed up Doxygen 2008-05-27 14:00:09 +00:00
adamdunkels 1263eb8455 Moved old unused files to backyard 2008-05-27 13:16:34 +00:00
nvt-se ce84dce702 reset locks on forced mode switch 2008-05-27 13:05:52 +00:00
nvt-se 9c9c2573c3 lock UART for RS232 in putchar 2008-05-27 13:03:19 +00:00
nvt-se bff587e32c lock SPI bus when erasing 2008-05-27 13:01:27 +00:00
nvt-se a26bcf30f7 added SPI parameters. 2008-05-27 12:25:48 +00:00
oliverschmidt 2ede893aa6 The feature set of gnumake is really frightening: This time I discovered 'target-specific variable values'... 2008-05-26 11:26:57 +00:00
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