George Oikonomou
4243836e85
Merge branch 'develop' into contrib/default-prefix-as-variable
2018-11-25 02:43:45 +00:00
Simon Duquennoy
f1bbc42121
Build system: enable compiling with arch directory at arbitrary paths
2018-11-23 10:41:40 +01:00
George Oikonomou
15f6e1d7a3
Change the way of accessing the default v6 prefix
...
This commit changes the method of accessing the default v6 prefix. Instead of always using `UIP_DS6_DEFAULT_PREFIX`, we store the default prefix in a variable. We subsequently retrieve the prefix by calling `uip_ds6_default_prefix()`.
`uip_ds6_init()` will set this variable to the value of `UIP_DS6_DEFAULT_PREFIX`, but only if the startup code has not set a different default prefix before `uip_ds6_init()` gets called.
This approach has the following benefits:
* It allows us to change the default prefix at run time.
* It allows the startup code to set a prefix different than the one specified by `UIP_DS6_DEFAULT_PREFIX`, which can be useful if the default prefix comes from a different source (e.g. the command line for native, or a configuration stored on a node's flash)
* In many places the current code assumes that the prefix contains 6 bytes of zeros (e.g. `FDxx::/64`). Changing to a different prefix (e.g. `FD00:ABCD::`) would need extensive code changes. This change here makes it easy to use a prefix of any length.
2018-11-11 18:30:54 +00:00
George Oikonomou
057dbebb24
Remove redundant code: prefix is always NULL
2018-11-11 18:24:33 +00:00
Simon Duquennoy
4dbba4df9a
Platform native: overprovision routes, neighbor table and queues
2018-06-05 14:08:02 +02:00
Simon Duquennoy
3889ffe750
Simplify and homogenize node-id across all platforms
2018-05-18 14:08:24 -07:00
Simon Duquennoy
6fa97286b3
Merge branch 'release-4.1' into contrib/native/button-hal
2018-04-11 20:41:46 +02:00
George Oikonomou
a94b868a4f
Tidy-up AROPTS for cpu native
2018-04-06 13:45:56 +01:00
Simon Duquennoy
4b11f8c99e
Merge branch 'develop' into contrib/build/cleanup
2018-04-03 14:50:17 +02:00
George Oikonomou
7872da3c9b
Transition platform native to the new LED HAL
2018-04-02 22:14:55 +01:00
George Oikonomou
6857d2fe20
Implement the GPIO HAL for platform native
2018-04-02 22:14:55 +01:00
George Oikonomou
b8a43e8bf9
Implement the button HAL for platform native
2018-04-02 22:14:55 +01:00
George Oikonomou
1d59a258ed
Remove obsolete typedefs
2018-04-01 14:34:52 +01:00
George Oikonomou
c7e36a3d55
Change clean target to be more explicit
...
Previously, the clean target would delete a number of file extensions, many of which currently unknown to our build system (old platforms?). This commit changes the target so that it only cleans what we know we are building. Platforms / CPUs can append to the target with platform-specific build artifacts.
2018-03-30 21:22:59 +01:00
Atis Elsts
449d7dd5e7
Add CLEAN targets for sky and native platforms
2018-03-09 16:29:06 +00:00
George Oikonomou
0dfd39adcf
Adjust data types for legacy LED API implementations
2018-03-01 15:29:30 +00:00
George Oikonomou
d52bfa0f22
Enable the legacy LED API for respective platforms
2018-03-01 15:29:30 +00:00
George Oikonomou
1c993bf354
Remove unnecessary MODULES from platform Makefiles
2018-02-26 00:07:20 +00:00
George Oikonomou
5065bf0519
Merge branch 'develop' into contrib/native-conf-mac
2018-02-24 12:37:43 +00:00
Simon Duquennoy
38caaeb9d1
Platform native: make MAC address configurable
2018-02-23 04:22:01 -08:00
Niclas Finne
309745780e
Removed the remaining Contiki Interface declaration macros (CCIF/CLIF)
2018-02-21 01:14:10 +01:00
Niclas Finne
21a1a2e220
Platform: native: initialize serial line
2018-01-26 23:19:15 +01:00
Laurent Deru
511497b3b6
Make uip_stats_t int instead of short for native
2017-12-22 11:23:39 +01:00
Laurent Deru
acbe590b52
Don't override UIP_CONF_BYTE_ORDER in contiki-conf.h for native platform
2017-12-22 11:23:39 +01:00
Laurent Deru
d0ca150a38
Document new native platform defines
2017-12-22 11:23:04 +01:00
Laurent Deru
9fe252d107
Make stdin select callback configurable
2017-12-20 14:15:29 +01:00
Laurent Deru
ca16bf1bd2
Make select timeout user configurable for native platform
2017-12-20 14:15:29 +01:00
George Oikonomou
d780719530
Compile platform native with NULLNET
2017-12-13 09:40:02 +00:00
Laurent Deru
ccb705ed31
Use clock_gettime() instead of gettimeofday() to have a monotonic clock and use CLOCK_CONF_SECOND explicitly
2017-12-12 16:53:51 +01:00
Simon Duquennoy
e795517750
Merge branch 'develop' into contrib/stack-guard
2017-12-05 15:16:54 +01:00
George Oikonomou
d4680c656a
Create doxygen groups for platforms
...
* Cooja
* Native
* jn516x
* nrf52dk
2017-12-03 00:05:12 +00:00
Atis Elsts
f9516eae73
Add stack check library and example
2017-12-01 13:35:06 +00: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
Simon Duquennoy
646764b128
Platform native: print global IPv6 at init
2017-10-31 18:59:53 +01:00
George Oikonomou
edaa0c29cd
Use the logging module (Native)
2017-10-29 23:18:38 +00:00
George Oikonomou
7b3f77ac2e
Remove leftover includes
2017-10-29 23:18:37 +00:00
George Oikonomou
3a1d362549
Provide boot sequence hooks (Native)
2017-10-29 23:18:36 +00:00
Simon Duquennoy
663d1f121d
Autoconfigure Orchestra whenever the module is included
2017-10-12 18:32:19 +02:00
Simon Duquennoy
a1f74d6568
Shell: start automatically whenver the module is included
2017-10-12 17:08:42 +02: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
fb0de6dd7a
Various fixes to netstack config
2017-10-08 14:47:34 +02:00
Joakim Eriksson
8cf65ed01a
changed NETSTACK configuration on network layer
2017-10-08 00:44:02 +02:00
Joakim Eriksson
3091a9010a
added tun6 interface for native - removed old codebase for tap/tun/wpcap
2017-10-08 00:44:02 +02:00
Simon Duquennoy
a92319bbca
Rename PROJECT_CONF_H to PROJECT_CONF_PATH for clarity and so as to avoid possible conflicts with guards in project-conf.h files
2017-10-07 09:45:41 +02:00
Simon Duquennoy
9b5d6e834a
Platform native: do not link ncurses
2017-10-06 18:13:33 +02:00
Simon Duquennoy
543408db68
Re-organzie ip stack implementation
2017-09-22 17:09:54 +02:00
Simon Duquennoy
0aa44c3c22
Homogenize NET layer config with MAC
2017-09-22 14:34:20 +02:00
Simon Duquennoy
ffc94f832c
MAC layer configuration done from Makefile instead of .h files
2017-09-22 14:34:20 +02:00
Simon Duquennoy
0f92c6ebfd
Include contiki.h instead of contiki-conf.h so as to ensure consistent inclusion of contiki-default-conf.h
2017-09-08 14:20:59 +02:00
Niclas Finne
2165978d14
Moved cfs-posix to native platform
2017-09-01 17:22:11 +02:00