Commit Graph

65 Commits

Author SHA1 Message Date
Jesus Sanchez-Palencia
3a26d9dbc7 x86: Only add elfloader-x86.c to the platforms using it
Currently there are only one platform using CPU x86: Cooja. The
elfloader-x86.c is rather a POSIX implementation, so the Galileo port
won't use it for now. This patch fixes this by moving this source file to
be included by the platforms using it instead of the cpu's Makefile.
2015-12-21 08:06:14 -02:00
Adam Dunkels
64bae5b38d Include the ip64-addr module, to make http-socket compile 2015-05-10 10:51:12 +02:00
Adam Dunkels
81391c11a7 Need to specify the target name, which allows us to have platforms that inherit from the cooja platform, like the cooja-ip64 platform 2015-05-10 10:51:12 +02:00
Simon Duquennoy
c2ca3e9fdb Cleanup UIP_CONF_IPV6_RPL configuration 2014-12-02 12:38:55 +01:00
Simon Duquennoy
a9cc909794 Network layer configuration: replace UIP_CONF_* with NETSTACK_CONF_WITH_* 2014-12-01 21:02:57 +01:00
Simon Duquennoy
229c53a2e6 Cooja platform: do not include the rime module by default 2014-12-01 20:13:10 +01:00
Simon Duquennoy
722b3258d1 Cleanup of the Contiki network layer configuration. Now using CONTIKI_WITH_IPV6, CONTIKI_WITH_IPV4, and CONTIKI_WITH_RIME in makefiles, and UIP_CONF_IPV6, UIP_CONF_IPV4, UIP_CONF_RIME in c code. Now only the stacks that are used are compiled (via makefile MODULES). Make IPv6 the default network stack. 2014-12-01 20:13:09 +01:00
Enrico Joerns
0d12bcffcb [cooja-platform] Fixes for slip-bridge compatibility
* Added dev/uart1.h header file to cooja platform
* Added slip arch stub
* Suppress examples putchar definition as cooja platform provides its own

Note that the uart1.h file should only be an intermediate solution.
A generic contiki-wide definition for uart handling is required as each
platform defines its own varying set of uart functions.
2014-11-04 00:14:06 +01:00
kkrentz
c396a85364 llsec: Added a layer in between NETSTACK_MAC and NETSTACK_NETWORK for implementing link layer security 2014-08-04 01:09:57 -07:00
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