Commit Graph

25 Commits

Author SHA1 Message Date
Atis Elsts
4b7266247e Add optimization flags for native builds 2018-10-13 18:10:34 +01:00
Edvard Pettersen
d0124e3de7 Reverting API change to GPIO HAL 2018-08-31 11:06:32 +02:00
Edvard Pettersen
405cb7ecd1 Fixed GPIO HAL arch compiler errors for native 2018-08-31 11:05:34 +02:00
Niclas Finne
2cb4e27599 Added a configurable linker flag to enable linker warnings as errors since OSX
requires a diffent linker flag.
2018-05-15 00:52:12 +02:00
Simon Duquennoy
6fa97286b3
Merge branch 'release-4.1' into contrib/native/button-hal 2018-04-11 20:41:46 +02:00
Simon Duquennoy
fe0b245962
Merge pull request #400 from g-oikonomou/contrib/native/interrupt-emulation
Emulate interrupt manipulation on native
2018-04-07 15:00:57 +02:00
George Oikonomou
a94b868a4f Tidy-up AROPTS for cpu native 2018-04-06 13:45:56 +01:00
George Oikonomou
6857d2fe20 Implement the GPIO HAL for platform native 2018-04-02 22:14:55 +01:00
George Oikonomou
4ededd17d6 Emulate interrupt manipulation on native 2018-04-02 22:13:56 +01:00
George Oikonomou
ce540a8bca Harmonise filename pattern for the .map file
All map files are now called example-platform.map (e.g. hello-world-native.map).
2018-03-30 20:24:59 +01: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
0952960b91 Removing multi-threading support 2017-11-11 15:28:11 +01: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
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
Simon Duquennoy
5c1ad6e394 Use logging module for tun6-net 2017-10-31 16:15:51 +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
Joakim Eriksson
1143d6f5aa addressed some of the suggestions on the PR - naming and netstack MAC 2017-10-08 00:44:02 +02:00
Joakim Eriksson
8cf65ed01a changed NETSTACK configuration on network layer 2017-10-08 00:44:02 +02:00
Joakim Eriksson
1b2b043f24 fixed nullnet and its examples 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
543408db68 Re-organzie ip stack implementation 2017-09-22 17:09:54 +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
Nicolas Tsiftes
9bb51087bf Renamed the drivers directory to arch to reflect that this is the main place for architecture-dependent functionality. 2017-06-28 16:20:43 +02:00