Commit Graph

89 Commits

Author SHA1 Message Date
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
George Oikonomou db87b3c858 Provide boot sequence hooks (CC13xx-CC26xx) 2017-10-29 23:18:35 +00:00
Niclas Finne 21f2c22da4 Updated make rules for MSPSim as submodule to Cooja 2017-10-18 20:40:13 +02:00
Simon Duquennoy 882be25428 Merge pull request #94 from simonduq/pr/misc
Miscellaneous fixes
2017-10-14 09:24:45 +02:00
Simon Duquennoy 4d8277366d Merge pull request #97 from sics-iot/contrib/cleanup-energest
Made energest more configurable
2017-10-14 09:24:14 +02:00
Niclas Finne 358385b450 Removed obsolete radio-sensor API 2017-10-13 01:06:47 +02:00
Niclas Finne 18b5f6d667 energest: made energest more configurable
* energest time defaults to rtimer but can be configured via
  ENERGEST_CONF_CURRENT_TIME and ENERGEST_CONF_SECOND.

* Additional energest types can be added by platform and application
  using ENERGEST_CONF_PLATFORM_ADDITIONS and ENERGEST_CONF_ADDITIONS.

* Energest times are now 64 bit and thereby non-wrapping in most systems.

* Removed unused energest types for serial and sensors.
2017-10-13 00:17:30 +02:00
Niclas Finne 888a04e70f energest: removed support for ENERGEST_CONF_LEVELDEVICE_LEVELS 2017-10-13 00:05:31 +02:00
Niclas Finne fafe4bb1f3 energest: replaced some energest on/off with ENERGEST_SWITCH() 2017-10-12 23:59:11 +02:00
Niclas Finne 7317316942 energest: removed energest type ENERGEST_TYPE_IRQ 2017-10-12 23:57:38 +02:00
Niclas Finne 8b930bfa06 energest: removed energest types for reading/writing flash 2017-10-12 23:53:31 +02:00
Simon Duquennoy 663d1f121d Autoconfigure Orchestra whenever the module is included 2017-10-12 18:32:19 +02:00
Simon Duquennoy 9cb34c85c0 TSCH: more automated configuration 2017-10-12 17:09:19 +02:00
Simon Duquennoy 09c0213898 Auto-enable USB serial on cc2538 when TSCH is used with SLIP or with the shell 2017-10-12 17:09:04 +02:00
Simon Duquennoy a1f74d6568 Shell: start automatically whenver the module is included 2017-10-12 17:08:42 +02:00
Simon Duquennoy a8e952096b Makefile.cooja: remove now uneeded duplicate later configuration 2017-10-12 08:47:01 +02:00
Simon Duquennoy 41967732b1 Added MAKE_ROUTING make variable for cleaner routing protocol selection 2017-10-12 08:42:42 +02:00
Simon Duquennoy 91b8ee860e Makefile.include: added target 'boards' to show the list of boards available for the current target 2017-10-10 21:06:35 +02:00
George Oikonomou 75ed5a03a6 Build CC2538 USB functionality from within our own CPU dir 2017-10-10 21:04:28 +02:00
George Oikonomou bf4dd68be3 Remove cpu/cc253x
This was used by platform CC2530DK which has been removed.
2017-10-10 21:04:26 +02:00
George Oikonomou 8050864226 Move USB sourcefiles to the CC2538 CPU dir
Previously, the CC2538 port would compile USB-related files from their original location under the CC2531 CPU dir. We are now removing the latter, but we need to keep those files.
2017-10-10 21:04:23 +02:00
George Oikonomou f6dcadbc4a Include "contiki.h" to pull in platform/example configuration 2017-10-08 17:03:05 +01:00
George Oikonomou 82a1212f2b Relax platform configuration for 6lowpan fragmentation 2017-10-08 17:03:04 +01:00
George Oikonomou 5e13874850 Move inclusion of project-conf.h to the top of contiki-conf.h 2017-10-08 16:50:25 +01:00
Simon Duquennoy 9acb4c895a tun6-net warning message 2017-10-08 15:01:36 +02:00
Simon Duquennoy fb0de6dd7a Various fixes to netstack config 2017-10-08 14:47:34 +02:00
Joakim Eriksson db344197d4 added warning on native when not running sudo / not able to allocate tun 2017-10-08 09:55:49 +02:00