Commit Graph

12623 Commits

Author SHA1 Message Date
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
Niclas Finne
68a8a0c445 energest: removed energest types for LEDs 2017-10-12 23:52:03 +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
Simon Duquennoy
3117296ffc Make viewconf: pretty printing 2017-10-10 21:05:48 +02:00
Simon Duquennoy
11de95efea Added make target 'viewconf' to ease debugging of configuration flags 2017-10-10 21:04:38 +02:00
Simon Duquennoy
9087448dc4 Removing from contiki-default-conf.h configuration flags that are now set from Makefile exclusively 2017-10-10 21:04:36 +02:00
Simon Duquennoy
1d45ab070e Makefile.include: add rules to generate preprocessed versions of C files, or assembly code, for any file 2017-10-10 21:04:33 +02:00
Simon Duquennoy
6745c5f1cc Makefile.include: fix 'usage' 2017-10-10 21:04:31 +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
bf433fb6f0 Fix file permissions 2017-10-10 21:04:21 +02:00
George Oikonomou
63eca213a4 Remove OS- and editor-specific entries from gitignore
Users should be adding such things to their local .git/info/exclude.
2017-10-10 21:04:18 +02:00
George Oikonomou
4f8ee5df72 Remove VC++ entries from gitignore
Those were relevant to platform/win32
2017-10-10 21:04:16 +02:00
George Oikonomou
12ec2b4885 Remove galileo-related entries from gitignore 2017-10-10 21:04:13 +02:00
Simon Duquennoy
cc0ab1ac47 Merge pull request #86 from sics-iot/contrib/harmonise-platform-config
Harmonise platform configuration
2017-10-09 09:38:45 +02:00
George Oikonomou
be9fbc8f9b Do not #undef in example project-conf.h (sensniff) 2017-10-08 17:05:40 +01:00
George Oikonomou
97ee63f872 Do not #undef in example project-conf.h (Native BR) 2017-10-08 17:05:31 +01:00
George Oikonomou
f6dcadbc4a Include "contiki.h" to pull in platform/example configuration 2017-10-08 17:03:05 +01:00
George Oikonomou
2f5b60af5d Don't try to define CONTIKI_VERSION_STRING in the example 2017-10-08 17:03:05 +01:00
George Oikonomou
2f8779471b Allow overriding common example configuration 2017-10-08 17:03:05 +01:00
George Oikonomou
8e8101728c Don't pass -DWITH_COAP in example Makefiles
This does not seem to be needed anywhere or to achieve anything
2017-10-08 17:03:04 +01:00
George Oikonomou
82a1212f2b Relax platform configuration for 6lowpan fragmentation 2017-10-08 17:03:04 +01:00
George Oikonomou
163ccafcba Fix erroneous comment 2017-10-08 17:03:04 +01:00
George Oikonomou
a6cf2700c1 Do not #undef things in a test's project-conf.h 2017-10-08 17:03:01 +01:00
George Oikonomou
ab7b4676e0 Make CoAP more configurable 2017-10-08 17:00:37 +01:00
George Oikonomou
f40cc506a3 Don't try to define REST=coap_rest_implementation
We only have one rest engine now, the example does not need to try and configure this
2017-10-08 17:00:37 +01:00
George Oikonomou
4cc0a8d8bc Don't define in Makefile things that can be defined in project-conf.h 2017-10-08 17:00:37 +01:00
George Oikonomou
678bff4991 Do not #undef in example project-conf.h (jn516x) 2017-10-08 17:00:37 +01:00
George Oikonomou
a2e74bad8b Do not #undef in example project-conf.h (nrf52dk) 2017-10-08 17:00:37 +01:00
George Oikonomou
7f0a2a9e3f Do not #undef in example project-conf.h (zoul) 2017-10-08 17:00:37 +01:00
George Oikonomou
3a90439778 Make serial line special char values configurable 2017-10-08 17:00:37 +01:00
George Oikonomou
e8f5c71666 Do not #undef in example project-conf.h (SLIP radio) 2017-10-08 17:00:37 +01:00
George Oikonomou
9f86311406 Do not #undef in example project-conf.h (6top) 2017-10-08 17:00:36 +01:00
George Oikonomou
d97df21396 Do not #undef in example project-conf.h (RPL TSCH) 2017-10-08 17:00:36 +01:00
George Oikonomou
4ef5feca77 Do not #undef in example project-conf.h (RPL Simple) 2017-10-08 17:00:36 +01:00
George Oikonomou
ef2df48518 Configure TSCH irrespective whether it is selected 2017-10-08 17:00:36 +01:00
George Oikonomou
530eefac4c Do not #undef in example project-conf.h (Native BR) 2017-10-08 17:00:36 +01:00
George Oikonomou
87ba325c93 Do not #undef in example project-conf.h (JSON-ws) 2017-10-08 17:00:36 +01:00
George Oikonomou
657dd33092 Do not #undef in example project-conf.h (multicast) 2017-10-08 17:00:36 +01:00
George Oikonomou
0ef5539fc1 Do not #undef in example project-conf.h (CoAP) 2017-10-08 17:00:36 +01:00
George Oikonomou
09a5a157bc Do not #undef in example project-conf.h (6tisch) 2017-10-08 17:00:32 +01:00
George Oikonomou
9fef8a0fd7 Do not #undef in example project-conf.h (IPSO objects) 2017-10-08 16:50:26 +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
Joakim Eriksson
c891849644 Merge pull request #81 from sics-iot/improved_network_layer
Improved network layer
2017-10-08 17:37:14 +02:00
Simon Duquennoy
9acb4c895a tun6-net warning message 2017-10-08 15:01:36 +02:00