George Oikonomou
a63376f8be
Use -Os for CC2538 builds
...
As discussed in #503 , -Os was broken with one of the toolchains
recommended in the platform's README and for that reason we were
using -O2 by default.
This commit sets the default to -Os and updates the README to no
longer recommend the toolchain in question
2014-01-31 20:02:43 +00:00
George Oikonomou
c8fbf8ca6e
Merge pull request #503 from ADVANSEE/cc2538-nrdata-noload
...
cc2538: Clean up link stage
2014-01-30 07:58:55 -08:00
Nicolas Tsiftes
815287042b
Merge pull request #548 from adamdunkels/push/sicslowpan-rime-cleanup
...
Rename sicslowpan rime variable names
2014-01-29 15:12:50 -08:00
Adam Dunkels
47e4113845
Changed the variable names that access the packetbuf code so that they are called packetbuf_* instead of rime_*
2014-01-29 23:02:00 +01:00
Nicolas Tsiftes
4e6bed24f9
Merge pull request #547 from adamdunkels/push/rimeaddr-linkaddr
...
Rename the rimeaddr module to linkaddr
2014-01-29 12:57:44 -08:00
Adam Dunkels
45265249fc
Changed the name of the rimeaddr module to linkaddr
2014-01-29 20:12:24 +01:00
George Oikonomou
345532c559
Merge pull request #546 from ADVANSEE/cc2538-fix-disabled-lpm
...
cc2538: lpm: Fix build for LPM_CONF_ENABLE == 0
2014-01-29 08:40:56 -08:00
Adam Dunkels
765e9acded
Merge pull request #499 from adamdunkels/bold/modularize-everything
...
A bold move: modularize everything
2014-01-29 08:17:10 -08:00
Benoît Thébaudeau
42c287f363
cc2538: lpm: Fix build for LPM_CONF_ENABLE == 0
...
lpm.c needs to #include lpm.h in order to get the definition of
lpm_periph_permit_pm1_func_t, which made the replacement macros conflict with
the function definitions for the LPM_CONF_ENABLE == 0 case. This change fixes
this issue by #if-ing out the code in lpm.c in that case. Also, the replacement
macro for lpm_register_peripheral() was missing in that case, which is fixed
here.
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
2014-01-28 20:21:06 +01:00
Oliver Schmidt
e10d462931
Merge pull request #545 from ADVANSEE/cc2538-lib-link
...
cc2538: Fix library linkage
2014-01-28 06:37:49 -08:00
Benoît Thébaudeau
a562acb160
cc2538: Fix library linkage
...
If a project needs to use some libraries at link stage, then the corresponding
linker options (e.g. '-lm') have to be passed after any .o file depending on
these libraries. Hence, LDFLAGS cannot be used to add such options when invoking
$(LD) in Makefile.cc2538, or it should be moved to the correct location.
Instead, this change adds TARGET_LIBFILES to the correct location, like most
other Contiki targets.
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
2014-01-28 14:32:30 +01:00
Mariano Alvira
4738a4b340
Merge pull request #540 from hexluthor/rl78-fixes2
...
More fixes for the RL78 / EVAL-ADF7xxxMB4Z platform
2014-01-27 08:06:46 -08:00
Fredrik Österlind
f6c6ef9b54
Merge pull request #532 from darki2002/Plugin_sim
...
Stopped to load plugins depending on simulations if there is no simulation
2014-01-27 07:31:19 -08:00
Fredrik Österlind
a369611fe7
Merge pull request #544 from drakkar-lig/cooja-compile-error
...
Cooja compile error
2014-01-27 07:14:14 -08:00
Martin Heusse
9eabbe02ad
Adds encoding attribute utf-8 arg to cooja compile command
2014-01-27 15:14:34 +01:00
Ian Martin
f3cc607101
eval-adf7xxxmb4z: Use the nullrdc driver instead of sicslowmac.
2014-01-26 17:40:31 -05:00
Adam Dunkels
b6c4f50bea
Merge pull request #538 from cskiraly/collect-fixes
...
collect: making some protocol parameters configurable by COLLECT_CONF_
2014-01-26 14:23:08 -08:00
Adam Dunkels
4f498e2eac
Updated the include paths to point to the new places
2014-01-26 23:20:47 +01:00
Adam Dunkels
2ec176891f
Added the necessary modules to make the eval-adf7xxxmb4z port compile
2014-01-26 23:20:47 +01: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
Adam Dunkels
24155ee0ae
Moved the custom strncasecmp code into a separate module, since it cannot be compiled on all platforms
2014-01-26 23:20:46 +01:00
Adam Dunkels
b244f30480
Moved the ctk files from core/lib into core/lib/ and core/lib/libconio
2014-01-26 23:20:46 +01:00
Adam Dunkels
bddd96d5c8
Removed all module makefiles. Instead, all .c files in a module directory are compiled.
2014-01-26 23:20:46 +01:00
Adam Dunkels
fce84c178c
Removed unused rime-udp code
2014-01-26 23:20:45 +01:00
Adam Dunkels
8eace27f9b
Moved net/rime.h to net/rime/rime.h
2014-01-26 23:20:45 +01:00
Adam Dunkels
b36fba76bd
Updated with the new modularized uip paths
2014-01-26 23:20:44 +01:00
Adam Dunkels
a40a73db9a
Made a module out of the core/ctk code
2014-01-26 23:20:44 +01:00
Adam Dunkels
dc2f415a70
Removed the PLATFORMAPPS definition - this is now handled by the modules mechanism
2014-01-26 23:20:44 +01:00
Adam Dunkels
4df80276dc
Removed old definitions of source files - thiis is now handled by the modules mechanism
2014-01-26 23:20:43 +01:00
Adam Dunkels
84d552445e
Don't include core/net/mac in the default modules
2014-01-26 23:20:43 +01:00
Adam Dunkels
89e07a97a2
Need to explicitly include the sicslowmac module and the fakeuip.c file.
2014-01-26 23:20:42 +01:00
Adam Dunkels
1be10f026a
Handle the CONTIKI_NO_NET case so that the ravenusbstick example builds
2014-01-26 23:20:42 +01:00
Adam Dunkels
6594873753
Updated the path to uip-debug.h
2014-01-26 23:20:41 +01:00
Adam Dunkels
4c2bd9f120
A set of default modules for the cc253x platform
2014-01-26 23:20:41 +01:00
Adam Dunkels
dee654cfe5
Put the cc253x custom makerules in its own customrules file
2014-01-26 23:20:41 +01:00
Adam Dunkels
7846eb2e2f
Split the cc2430 custom rules into its own file
2014-01-26 23:20:40 +01:00
Adam Dunkels
36a5aadc9e
Moved the 6502 custom rules into its own Makefile.customrules-6502 file
2014-01-26 23:20:40 +01:00
Fredrik Osterlind
cf32063c0b
introduced optional Makefile.customrules-$(TARGET), to contain custom platform make rules
2014-01-26 23:20:39 +01:00
Adam Dunkels
112e0d6855
Removed reliance on the core/net/ipv4 module
2014-01-26 23:20:37 +01:00
Adam Dunkels
7a740b382f
Moved the individual MODULE definitions from the top-level Makefile.include into the individual platforms' Makefiles
2014-01-26 23:20:36 +01:00
Adam Dunkels
0fe08205e1
Moved the rimeaddr.[ch] code from the core/net/rime module to the core/net module, as it is used not only by rime code
2014-01-26 23:20:36 +01:00
Adam Dunkels
b02104e4c4
Add the sht11 device driver module to the z1 platform
2014-01-26 23:20:36 +01:00
Adam Dunkels
aaf0f83120
Add cxmac module to the sky platform
2014-01-26 23:20:35 +01:00
Adam Dunkels
9851ff85dd
Add a sensible set of modules for the sensinode platform
2014-01-26 23:20:35 +01:00
Adam Dunkels
b40f1210e6
Don't use the sicslowmac code, use nullrdc instead
2014-01-26 23:20:34 +01:00
Adam Dunkels
e556ecbc25
Don't use the sicslowmac code, use nullrdc instead
2014-01-26 23:20:34 +01:00
Adam Dunkels
d7013524f9
Add a sensible set of modules for the micaz platform
2014-01-26 23:20:34 +01:00
Adam Dunkels
ee5299fe6e
Add a sensible set of modules for the exp5438 platform
2014-01-26 23:20:33 +01:00
Adam Dunkels
51efdd952a
Define MODULES for the avr-raven and the avr-ravenusb platforms
2014-01-26 23:20:33 +01:00
Adam Dunkels
460da08a37
Filter out multiple definitions of the same module
2014-01-26 23:20:33 +01:00