1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

536 Commits

Author SHA1 Message Date
Joakim Nohlgård
2d88cfca15 native: Define PROVIDES_PM_SET_LOWEST 2018-05-15 10:58:05 +02:00
Gaëtan Harter
40c28d78c0 Revert "native: remove non required NATIVEINCLUDES"
This reverts commit 93a521c501.
2018-04-12 17:48:07 +02:00
Martine Lenders
f52b17022e netdev_tap: fix return value of set option function 2018-04-10 15:12:15 +02:00
Martine Lenders
690c36b3cf
Merge pull request #8652 from cladmi/pr/remove_nativeincludes
native: remove non required NATIVEINCLUDES
2018-03-22 15:57:38 +00:00
Gaëtan Harter
93a521c501 native: remove non required NATIVEINCLUDES
Some modules used a 'NATIVEINCLUDES' with different include path and no other
included directories.
It was defining basic 'include' in a different order and not using other things
defined in INCLUDES.
After doing some checks with the given include path and possible conflicting
files, there should be no conflict when using the default one.

* No common headers between all the NATIVEINCLUDES directories
* No common headers files between board/native/include, cpu/native/include and
  other files in the repository (except other boards/cpus of course).
2018-03-20 17:51:03 +01:00
Martine Lenders
875a5c165d trace: initial import of a stack backtrace function for native
Sometimes the debugger just isn't fast enough to debug that pesky race
conditions. This module provides at least a little help.
2018-03-20 15:12:48 +00:00
Bas Stottelaar
a05d1b1004 cpu/board: native: use common peripheral initialization 2018-03-15 23:26:01 +01:00
23b414b732 drivers: net: adapt to iolist-using netdev 2018-03-06 14:00:31 +01:00
ff6b8aa4f1 cpu/native/netdev_tap: adapt to netdev with iolist 2018-03-06 14:00:31 +01:00
Hauke Petersen
4fd16b0bcc cpu/native: add empty uart/power_x functions 2018-03-02 10:54:21 +01:00
c450cdebeb
Merge pull request #8482 from cogip/qdec
drivers: Initial import of low-level QDEC driver interface
2018-02-26 17:44:58 +01:00
MichelRottleuthner
bad08596f6
Merge pull request #8399 from OTAkeys/fix/mtd_native_write
mtd_native: fix overlapping pages write check
2018-02-26 15:38:46 +01:00
Vincent Dupont
f04ecee9f6 mtd_native: fix overlapping pages write check 2018-02-26 15:32:06 +01:00
Gilles DOFFE
07158755ea cpu/native: add qdec implementation
* Add support for the native encoder interface
* Native QDEC is there mostly for simulation
* Calling code will have to simulate QDEC increment/decrement

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2018-02-23 23:16:42 +01:00
smlng
15a7e6bb98 cpu/native: reduce scope of CFLAGS for OSX compatibility 2018-02-09 17:44:41 +01:00
7847a91e12 cpu: instead of cpp-style, use C-style comments 2018-02-06 16:59:58 +01:00
Martine Lenders
c982cc81ed
Merge pull request #8278 from smlng/cpu/native/replace_timex
cpu, native: replace timex_t in syscalls
2018-02-01 12:55:29 +01:00
4fe2490bc5 cpu/native/socket_zep: add ref to net_zep doxygen group 2018-01-24 21:41:31 +01:00
smlng
f63f3b2a4b cpu, native: replace timex_t in syscalls 2018-01-23 14:35:24 +01:00
f4d687502e cpu/native/socket_zep: fix doxygen grouping 2018-01-23 09:02:00 +01:00
smlng
5c38e1a56f socket_zep: remove unnecessary include 2018-01-22 15:28:19 +01:00
Sebastian Meiling
5c0b058db4
Merge pull request #6121 from miri64/native/feat/zep_socket
native: provide socket-based ZEP device
2018-01-18 10:03:08 +01:00
Martine Lenders
81ef15287a native: provide socket-based ZEP device 2018-01-18 09:15:37 +01:00
c398b74ae0 cpu: native: uart: adapt to changed DEBUG 2018-01-15 14:37:04 +01:00
MichelRottleuthner
ee17dae5af pkg/fatfs: add vfs integration 2018-01-09 14:46:40 +01:00
86665b71bf cpu: adapt to COREIF_NG removal 2017-11-16 14:40:16 +01:00
565eb9cf63 cpu: native: always select periph_uart 2017-11-06 12:01:19 +01:00
a20745b6c5 cpu: make use of Makefile.periph 2017-11-06 12:01:19 +01:00
f0a532932c cpu: native: reorganize Makefile.features 2017-11-02 12:59:46 +01:00
Hauke Petersen
5920d99752 pm: fix weak-based default implementations
Instead of using `weak` function definitions, this PR handles
default implementations using `PROVIDES_x` defines, allowing
for cpus/pm realted modules to use their own implementations.
2017-10-16 14:27:35 +02:00
Martine Lenders
2097f6810f Merge pull request #7647 from LudwigKnuepfer/pr/native-startup-switchcase
cpu/native: add missing breaks in option parser
2017-09-26 10:27:51 +02:00
Ludwig Knüpfer
9f3abcd372 cpu/native: add missing breaks in option parser 2017-09-26 09:41:21 +02:00
035d266d49 makefile: indentation cleanup 2017-09-22 12:00:47 +02:00
Joakim Nohlgård
065bc62e0a netdev: Make set() value parameter const void * 2017-08-25 13:41:19 +02:00
Francisco Acosta
f2efd88f98 Merge pull request #7129 from haukepetersen/opt_periph_sharetimerset
cpu: add and use shared code for timer_set()
2017-08-01 15:09:48 +02:00
268c6b647e drivers/can: fix doxygen documentation + typo 2017-07-03 20:43:51 +02:00
067231936f Merge pull request #5793 from OTAkeys/pr/can_stack
can: add a CAN stack for RIOT
2017-06-26 16:02:35 +02:00
smlng
692cf96297 doc: fix doxygen grouping of cpu periph drivers 2017-06-26 14:42:11 +02:00
Vincent Dupont
68f1ea8fd0 native: add a CAN device using socketCAN 2017-06-19 15:36:20 +02:00
Hauke Petersen
a1499f4190 cpu: add and use shared code for timer_set() 2017-06-02 12:21:56 +02:00
Cenk Gündoğan
044fac8d17 native: add break to satisfy compiler gcc-7.1.1
Building any application with gcc 7.1.1 fails with the following error:

```
~/RIOT % make -C examples/hello-world
make: Entering directory 'RIOT/examples/hello-world'
Building application "hello-world" for "native" with MCU "native".

"make" -C RIOT/boards/native
"make" -C RIOT/boards/native/drivers
"make" -C RIOT/core
"make" -C RIOT/cpu/native
RIOT/cpu/native/startup.c: In function ‘startup’:
RIOT/cpu/native/startup.c:292:17: error: this statement may fall through [-Werror=implicit-fallthrough=]
       usage_exit(EXIT_SUCCESS);
       ^~~~~~~~~~~~~~~~~~~~~~~~
RIOT/cpu/native/startup.c:293:13: note: here
   case 'i':
   ^~~~
cc1: all warnings being treated as errors
make[2]: *** [RIOT/Makefile.base:81: RIOT/examples/hello-world/bin/native/cpu/startup.o] Error 1
make[1]: *** [RIOT/Makefile.base:20: ALL--RIOT/cpu/native] Error 2
make: *** [RIOT/examples/hello-world/../../Makefile.include:297: all] Error 2
make: Leaving directory 'RIOT/examples/hello-world'
```

```
% gcc --version
gcc (GCC) 7.1.1 20170528
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
```

fixed by adding a `break` statement after `usage_exit()`
2017-05-30 13:56:17 +02:00
0fcc7d3834 cleanup: apply headerguard script output 2017-05-24 17:54:02 +02:00
Hauke Petersen
31dfe382a3 net/gnrc/eth: enable filtering of L2 addresses 2017-05-18 15:24:25 +02:00
cfd10c394a adapt to changed byteorder.h 2017-04-13 11:35:35 +02:00
Joakim Nohlgård
ad01950b97 native: Finish iterating constructor calls before moving on to native_cpu_init 2017-04-09 17:22:17 +02:00
Martine Lenders
6a6b9e8f16 doc: fix grouping of mtd_native 2017-03-31 13:38:01 +02:00
Joakim Nohlgård
d1ea50a600 mtd: Redefine MTD_0 as a mtd_dev_t * 2017-03-28 17:00:39 +02:00
Martine Lenders
25b2e65b77 cpu: native: make syscalls vfs ready (introduce real_fcntl) 2017-03-22 20:18:57 +01:00
Vincent Dupont
1b2b5d9df9 Merge pull request #5624 from OTAkeys/pr/mtdi_flash
mtd: add a generic low level flash interface
2017-03-17 17:18:13 +01:00
Vincent Dupont
9e8cb3d135 native: add mtd-compliant flash emulation 2017-03-16 11:24:22 +01:00