Commit graph

56 commits

Author SHA1 Message Date
Claes Jakobsson 9c08f28956 Added EEPROM support for Cooja with a rudimentary hexdump -C like viewer in the mote interface view 2014-05-08 22:35:58 +02:00
Adam Dunkels 824d2047da Add the explicit list of modules, since we cannot do auto-dependency management of them 2014-01-26 23:20:47 +01:00
Fredrik Osterlind cf32063c0b introduced optional Makefile.customrules-$(TARGET), to contain custom platform make rules 2014-01-26 23:20:39 +01:00
Fredrik Osterlind 3caf1bfab4 cooja motes rimestats 2013-08-15 11:56:12 +02:00
Peter A. Bigot 5fc0575e99 Makefile.include: support make clean all
Historically $(OBJECTDIR) was created when Makefile.include is read.  A
consequence is that combining "clean" with "all" (or any other build
target) results in an error because the clean removes the object
directory that is required to exist when building dependencies.
Creating $(OBJECTDIR) on-demand ensures it is present when needed.

Removed creation of $(OBJECTDIR) on initial read, and added an order-only
dependency forcing its creation all Makefile* rules where the target is
explicitly or implicitly in $(OBJECTDIR).
2013-06-20 17:45:41 -05:00
Robert Quattlebaum 5afcbf6fff Makefiles: Allow setting UIP_CONF_IPV6=0 to work as expected.
Setting UIP_CONF_IPV6 to zero from the make build command line is
something that seems like it should ensure that IPv6 is disabled, but in
fact it actually *enables* IPv6. This seems counter intuitive, so this
patch changes the behavior of the makefiles to handle this case
properly.
2013-01-14 22:03:42 -08:00
Adam Dunkels aaa950ab17 Cooja platform changes to get IPv6/RPL to work better 2012-12-10 01:50:32 +01:00
Fredrik Osterlind 8ebacd1a1a reverted previous patch that broke compiling on Instant Contiki 2012-05-25 11:25:19 +02:00
Fredrik Osterlind 50caa3650c new experimental feature: possibility to change mote types when loading a simulation
made compile dialogs only select mote interfaces specified in the loaded configuration
2012-05-23 14:59:41 +02:00
Fredrik Osterlind e8294e8699 added objcopy external tools configuration
changed nm command to sort numerically, and changed regexpressions to accept output from newer gcc versions
added more debugging info under help menu
2012-03-09 14:57:21 +01:00
Ilya Dmitrichenko 9c99d46e24 Simplified host OS platform detection in Makefiles 2012-02-25 10:09:33 -05:00
Fredrik Osterlind aecb4b03cc bug fix: rpl was not included correctly 2012-01-31 14:53:52 +01:00
Niclas Finne ed1780f9af Removed quickstart rule for target 'clean' to avoid make warnings 2011-10-24 17:04:45 +02:00
Oliver Schmidt f83fb3704b Replaced make-empty-symbols with empty-symbols.[c|h]
The symbol generation shell scripts cause CRLF issues on Windows/Cygwin again and again. Instead of fixing this yet again I opted to remove the symbol generation script at least for the "no symbols" scenario with two C source files to be copied.
2011-04-03 13:24:58 +02:00
fros4943 3563089a91 reimplemented initial support for referencing contiki source files in cooja projects 2010-11-10 13:11:43 +00:00
fros4943 8f1988e7fc using OBJECTDIR instead of "obj_cooja" + bugfix: allow for externally defined CC 2010-06-11 15:17:26 +00:00
adamdunkels cd3a7c7a73 Dummy watchdog implementation for cooja nodes 2010-03-23 12:07:03 +00:00
fros4943 645d505f46 contiki-cooja-main.c requires CLASSNAME 2010-03-15 11:03:17 +00:00
fros4943 f8488925eb added uip-driver (for both ivp4 and ipv6), setting WITH_UIP* compiler flags in Makefile 2010-03-10 12:15:52 +00:00
fros4943 f87458c558 removed radio "sensor" (only used for signal strengths, also available in radio driver) 2010-03-09 08:12:15 +00:00
nifi 7154b4c68d Removed references to irq, which is not used with the new sensor APIs 2010-01-14 19:14:47 +00:00
nifi 831f16cf61 Fixed COOJA quickstart to run COOJA from current directory 2009-10-28 13:39:15 +00:00
fros4943 9f299c277e added experimental slip support for contiki motes 2009-04-23 09:15:51 +00:00
fros4943 afed9bb2d0 icnlude packet radio by default 2009-04-01 13:39:54 +00:00
fros4943 dda6de8438 + clock stub functions 2009-03-26 16:22:36 +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
adamdunkels 0076bfe8a5 Changed the name of the 'serial' module to 'serial-line' to signify that the module is about lines of data from the serial port, not individual bytes, and to make sdcc happy 2009-03-17 15:56:32 +00:00
fros4943 99b9e80de9 make all quickstart target phony 2009-03-12 17:48:23 +00:00
fros4943 72fdf5b379 make quickstart goal precious 2009-03-12 15:12:50 +00:00
fros4943 063bf88f90 cooja quickstart should be started from normal cooja working directory, otherwise config relative paths won't work
+
cygwin path fix for quickstart
2009-03-12 13:04:10 +00:00
fros4943 5d27841807 + contiki app object 2009-03-11 08:40:37 +00:00
fros4943 bcb34297df reimplemented quickstart functionality 2009-03-11 07:45:54 +00:00
fros4943 0bc10750bc added rule for .cooja target.
compiling for cooja is now similar to other platforms, for example:
make hello-world.cooja TARGET=cooja
2009-03-10 21:23:38 +00:00
fros4943 115a2b0782 renaming printf/putchar/puts symbols to avoid jni library loading overriding our custom implementations
experimental: directly references objcopy (tested on win32+linux)
2008-10-05 15:43:09 +00:00
fros4943 3bfa34f4c3 removed the symbols dummy target 2007-11-29 04:57:04 +00:00
fros4943 d6f46bfcaa minor fix for SYMBOLS 2007-11-25 22:47:43 +00:00
fros4943 87e32f037e enabled config of entire ar command, not only arguments 2007-09-28 07:21:21 +00:00
fros4943 db74bb6566 changed link argument sent to makefile:
instead of using linker, user may specify linker line including tools
2007-09-05 14:00:59 +00:00
fros4943 cbc6f57f34 removed old cfs.c 2007-05-21 14:57:47 +00:00
oliverschmidt ae2073cac9 Factored out setup directory search path for source files into Makefile.include.
- All compilers used support the -I option for setting an include search directory.

- The Contiki source tree follows the (common) approach of placing declarations (in headerf iles) in the same directory as definitions (in source files).

As a result it makes sense to use the -I compiler option for just the same set of directories used for the vpath gnumake directive.

Note: I checked several builds but nevertheless one or the other might need some additional adjustsments. Sorry for the inconvenience.
2007-05-19 07:54:53 +00:00
fros4943 8ef1b90a10 removed radio sources from makefile
(thrown during compilation instead)
2007-05-18 13:51:04 +00:00
oliverschmidt 237b1617b5 Factored out setup directory search path for source files into Makefile.include.
- Search target specific directories before CPU specific directories.
- Search CPU specific directories before generic directories.

Note: I checked several builds but nevertheless one or the other might need some additional adjustsments. Sorry for the inconvenience.
2007-05-13 08:41:11 +00:00
fros4943 6e3dc4d24b added source file check before launching cooja 2007-04-02 10:28:52 +00:00
fros4943 0f17706ef3 automatically generating cooja.jar 2007-04-02 09:07:30 +00:00
fros4943 b42d4fa7e3 added quickstart shortcut
"make TARGET=cooja"
2007-03-25 18:22:41 +00:00
fros4943 77ec45b223 don't define symbols as phone target on windows platforms 2007-03-23 21:36:48 +00:00
fros4943 1fbce051c3 remade the use of symbols.[c,h].
symbols will now always be included in compilation
2007-01-09 09:13:36 +00:00
fros4943 cc53f38fbb added:
- include contiki system symbols option (no need for the missing elf-loader files)

(including symbols not working without a few additional files)
2006-11-06 18:03:34 +00:00
fros4943 e528b527e6 moved cooja cfs files from /dev to /cfs 2006-10-23 16:07:29 +00:00
fros4943 dd0890b4dd added Contiki Filesystem (CFS) support in COOJA 2006-10-11 14:14:41 +00:00