Commit Graph

115 Commits

Author SHA1 Message Date
Simon Duquennoy
bc741c00cc cc2538 platforms: initialize linkaddr in phase 2 but set RF params only in phase 3 2017-11-23 05:19:00 -08:00
Simon Duquennoy
faf526b441
Merge branch 'develop' into contrib/remove-mt 2017-11-17 19:40:06 +01:00
Simon Duquennoy
8f7b8cd23e Removing unused Cooja MT functions 2017-11-17 08:24:10 -08:00
Atis Elsts
02c065db69 add deep sleep tracking for CC26xx 2017-11-15 12:17:53 +00:00
Atis Elsts
7b26ead9de add deep sleep tracking for CC2538 2017-11-15 12:17:44 +00:00
Joakim Eriksson
d71559d153
Merge branch 'develop' into contrib/disable-annotate 2017-11-14 22:53:18 +01:00
George Oikonomou
917c4c87de Remove LED undefs 2017-11-12 11:58:35 +00:00
Simon Duquennoy
0952960b91 Removing multi-threading support 2017-11-11 15:28:11 +01:00
Simon Duquennoy
3572ab1f4f Platform cooja: disable TCPIP annotations by default 2017-11-10 23:46:51 +01:00
George Oikonomou
6212359628 Remove obsolete sensors from the native platform
The native platform code has a number of sensor drivers, all of which appear to be stubs and/or unused. This commit removes them.

Even though the platform doesn't have LEDs, we leave this one intact so that LED-using examples can still build.
2017-11-10 15:11:18 +00:00
Niclas Finne
5c6117e698 Platform native: Avoid trying to use the tun when the tun is not available.
This allows a native platform application to run without network.
2017-11-02 01:32:51 +01:00
George Oikonomou
ec77214226 Remove obsolete SLIP_foo_CONF_NO_PUTCHAR 2017-11-01 10:04:48 +00:00
Simon Duquennoy
1275c4cb9e
Merge pull request #139 from nfi/contrib/energest-deep-lpm
New energest type for deep sleep plus configurable type for Energest time source
2017-10-31 23:24:12 +01:00
George Oikonomou
a05a6b59d0 Remove all unnecessary BAUD2UBR macro definitions 2017-10-31 21:56:38 +00:00
George Oikonomou
73544572cf Change all calls to adhere to new prototype 2017-10-31 21:56:38 +00:00
George Oikonomou
aa07073acd Change all slip_arch_init implementations 2017-10-31 21:56:38 +00:00
George Oikonomou
6d0f43f291 Remove stub instances of uart1.h
Some platforms provide this header file because some examples used to assume its presence. Now that the examples no longer make this assumption, those stub headers are no longer required.
2017-10-31 21:56:38 +00:00
Niclas Finne
e6ba2664b8 energest: removed include of energest from contiki.h to avoid circular dependency 2017-10-31 22:18:17 +01:00
Niclas Finne
1c4622bad6 energest: Added new energest type ENERGEST_TYPE_DEEP_LPM to support
energy estimations of both sleep and deep sleep CPU modes.

Added configurable type ENERGEST_TIME_T to re-add support for clocks with
wrapping time as energest time source.
2017-10-31 22:17:30 +01:00
Simon Duquennoy
d9ae1118ef
Merge pull request #137 from simonduq/pr/logging-fixes
Minor logging fixes
2017-10-31 22:04:46 +01:00
Simon Duquennoy
646764b128 Platform native: print global IPv6 at init 2017-10-31 18:59:53 +01:00
Simon Duquennoy
5c1ad6e394 Use logging module for tun6-net 2017-10-31 16:15:51 +01:00
George Oikonomou
26d5efb784 Re-arrange the CC26xx startup sequence 2017-10-29 23:18:39 +00:00
George Oikonomou
fd38d85c6e Fix compile error for the Cooja platform 2017-10-29 23:18:39 +00:00
George Oikonomou
5fb10c5665 Add missing include 2017-10-29 23:18:39 +00:00
Simon Duquennoy
56d1f795ff Minor fixes to platform initialization 2017-10-29 23:18:38 +00:00
Simon Duquennoy
ff4ad7998a cc2538 platform.c: set link-layer address in phase two, as the Netstack initialization code needs it 2017-10-29 23:18:38 +00:00
Simon Duquennoy
7abc331047 cc2538 platforms: do not set Main log level from contiki-conf 2017-10-29 23:18:38 +00:00
George Oikonomou
f15b11b564 Change default logging level to NONE 2017-10-29 23:18:38 +00:00
George Oikonomou
91afb507b4 Use the logging module (CC2538DK) 2017-10-29 23:18:38 +00:00
George Oikonomou
463230d739 Use the logging module (JN516x) 2017-10-29 23:18:38 +00:00
George Oikonomou
edaa0c29cd Use the logging module (Native) 2017-10-29 23:18:38 +00:00
George Oikonomou
2430dd9f5a Use the logging module (nrf52dk) 2017-10-29 23:18:38 +00:00
George Oikonomou
59e5ec6860 Use the logging module (Openmote) 2017-10-29 23:18:37 +00:00
George Oikonomou
82b6875e62 Use the logging module (Sky) 2017-10-29 23:18:37 +00:00
George Oikonomou
6c8294b1e6 Use the logging module (CC26xx/CC13xx) 2017-10-29 23:18:37 +00:00
George Oikonomou
248db78214 Use the logging module (Zoul) 2017-10-29 23:18:37 +00:00
George Oikonomou
fec382602b Use the logging module (CC2538 SoC) 2017-10-29 23:18:37 +00:00
George Oikonomou
7b3f77ac2e Remove leftover includes 2017-10-29 23:18:37 +00:00
George Oikonomou
d7e78df728 Remove leftover call 2017-10-29 23:18:37 +00:00
George Oikonomou
36a22c5d33 Rename function to better match what it actually does 2017-10-29 23:18:36 +00:00
George Oikonomou
8de3ffbc2e Don't initialise the queuebuf unconditionally
Currently, it is only used by 6LoWPAN when fragmentation is enabled, by TSCH and by CSMA. Platforms that disable fragmentation and choose a different MAC layer (e.g. NULLMAC) will unnecessarily end up with the module linked in the image, wasting flash and/or RAM space.
2017-10-29 23:18:36 +00:00
George Oikonomou
3a1d362549 Provide boot sequence hooks (Native) 2017-10-29 23:18:36 +00:00
George Oikonomou
c41cd3b75e Provide boot sequence hooks (jn516x) 2017-10-29 23:18:36 +00:00
George Oikonomou
902b8154b7 Provide boot sequence hooks (Sky) 2017-10-29 23:18:36 +00:00
George Oikonomou
543f5ff1cd Provide boot sequence hooks (nrf52dk) 2017-10-29 23:18:35 +00:00
George Oikonomou
fd239a32c3 Provide boot sequence hooks (Zoul) 2017-10-29 23:18:35 +00:00
George Oikonomou
47f02608c3 Provide boot sequence hooks (OpenMote) 2017-10-29 23:18:35 +00:00
George Oikonomou
61d9ec3c35 Provide boot sequence hooks (CC2538DK) 2017-10-29 23:18:35 +00:00
George Oikonomou
827acf4770 Implement common early-stage init for all CC2538-based platforms 2017-10-29 23:18:35 +00:00