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

163 Commits

Author SHA1 Message Date
cfd10c394a adapt to changed byteorder.h 2017-04-13 11:35:35 +02:00
Martine Lenders
6a6b9e8f16 doc: fix grouping of mtd_native 2017-03-31 13:38:01 +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
Martine Lenders
29842bb5e4 netdev2: rename to netdev and remove gnrc_netdev
With some minor hand-edits I used the following chain of commands:

```sh
git rm sys/include/net/gnrc/netdev.h
git grep --name-only -i netdev2 | \
        xargs sed -i -e 's/^\(NETDEV\)2\(.*\)\( [("]\)/\1\2 \3/g' \
                     -e 's/\(netdev\)2\(.*\)\( \/\*\*<\)/\1\2 \3/I' \
                     -e 's/\(netdev\)2/\1/gI'
git add -p
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
        grep "netdev2" | xargs -I'{}' dirname '{}' | uniq | \
        grep "netdev2" | while read dir; do
                new_dir="$(echo "$dir" | sed "s/netdev2/netdev/g")"
                git mv -f "$dir" "$new_dir"
        done
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
        grep "netdev2" | while read file; do
                new_file="$(echo "$file" | sed "s/netdev2/netdev/g")"
                git mv -f "$file" "$new_file"
        done
git commit --amend
git grep --name-only "\<drivers_netdev_netdev\>" | \
        xargs sed -i "s/\<drivers_netdev_netdev\>/drivers_netdev_api/g"
git add -p
git commit --amend
```
2017-03-15 09:31:20 +01:00
3e49d0c8c6 Merge pull request #6434 from aabadie/petersen_typo
cpu: fix typo in author email
2017-01-20 10:43:24 +01:00
245f60edfa cpu: fix typo in author email 2017-01-19 21:45:23 +01:00
Oleg Hahm
7ee7801c10 *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
Martine Lenders
1f6f02e196 cpu/native: adapt start-up and auto-init for multiple netdev2_tap 2017-01-19 12:07:10 +01:00
Toon Stegen
37c4810fba cpu/native: allow multiple netdev2 tap devices
With arg added to async_read callback in 7020b7c0, we don't need to keep
track of netdev2_tap locally. As a result we can use multiple
netdev2_tap instances.
2017-01-18 23:03:44 +01:00
Oleg Hahm
bfc439aa04 doc: native: do not parse internal functions 2017-01-15 13:06:43 +01:00
Cenk Gündoğan
0b85959efc Revert "netdev2_tap: return actual byte number on read request"
This reverts commit 613bceeae3.

FIONREAD seems to be unsupported for tun/tap interfaces in Linux.
2016-12-14 14:17:14 +01:00
Martine Lenders
613bceeae3 netdev2_tap: return actual byte number on read request 2016-11-16 23:57:04 +01:00
Ludwig Ortmann
0b72be7c87 native: add syscall-leave trampoline 2016-10-15 07:50:44 +02:00
Martine Lenders
16cae9771f Merge pull request #5613 from OTAkeys/pr/async_read_cb_args
cpu/native: add args to async_read callback
2016-08-05 14:17:18 +02:00
Ludwig Knüpfer
d639f0b9a3 cpu/native: rewrite cpu_print_last_instruction
circumvent assembly by using a GCC/LLVM builtin
2016-07-26 12:44:43 +02:00
Toon Stegen
7020b7c09c cpu/native: add args to async_read callback
this makes it possible to pass some generic pointer that's given back as
an argument when the callback is called.
2016-07-07 17:40:13 +02:00
zhuoshuguo
efbbca1322 cpu: Fix header include guards 2016-06-20 10:18:59 +02:00
MohmadAyman
720136491a cpu: unify naming of ISR stacksize macro 2016-06-01 22:47:34 +02:00
Oleg Hahm
3f1c2e1f1b native: assert that the pktbuf is big enough
Rationale: the netdev2_tap Ethernet driver for native requires to temporarily store at least a maximum sized Ethernet frame.
2016-04-20 09:10:55 +02:00
Yonezawa-T2
79d33897cb native: add UART driver based on /dev/tty
uart0 functionality is removed by #3164. This patch implements periph/uart,
rather than deprecated uart0, using /dev/tty.
To use with netdev2_tap simultaneously, this patch adds asynchronus read system
and modifies netdev2_tap to use it.

A TTY device is specified on command line with -c (COM) option, since -t was
used by the old implementation.

This patch also implements empty GPIO driver needed by the xbee driver.
2016-03-31 16:59:12 +09:00
Oleg Hahm
59674a679b netdev2: use params parameter for setup 2016-03-28 20:22:20 +02:00
Joakim Nohlgård
405811da2b native: remove unused XTIMER_USLEEP_UNTIL_OVERHEAD 2016-03-14 08:26:44 +01:00
9082273746 core: header cleanup 2016-02-28 22:46:28 +01:00
Hauke Petersen
940097336a cpu: cleanup and unification of CPUID implementations
- moved definition of CPUID_LEN to periph_cpu.h
- fixed some doxygen
- simplyfied some implementations
2016-02-08 14:36:03 +01:00
5f44a6938d cpu: native: adapt xtimer backoff values to periph/timer change 2016-01-06 22:07:13 +01:00
effb15a2cc Merge pull request #3313 from gebart/pr/eINT-fixes
eINT/dINT fixes
2015-09-29 12:39:16 +02:00
Ludwig Knüpfer
eda6328e21 documentation: update my name (Ortmann -> Knüpfer) 2015-09-27 18:58:30 +02:00
Joakim Gebart
27565a655e cpu/native: remove dINT/eINT definitions 2015-09-19 10:38:18 +02:00
4e8bf2cb69 cpu: native: remove hwtimer traces 2015-09-16 10:58:53 +02:00
fb773bf90a cpu: native: remove hwtimer_compat dependency 2015-09-16 10:58:51 +02:00
Martine Lenders
93f555ef69 Merge pull request #3782 from OlegHahm/RIOT_assert
core: RIOT's own assert macro
2015-09-12 13:12:34 +02:00
Oleg Hahm
f3245cecac core: panic: last instruction's address for assert 2015-09-11 23:23:31 +02:00
Oleg Hahm
d7161b6d4b cpu: inline function to print instruction register 2015-09-11 23:23:31 +02:00
344b56bca8 Merge pull request #3167 from haukepetersen/fix_native_stacksizes
cpu/native: adjusted stacksizes
2015-09-05 23:17:45 +02:00
Hauke Petersen
7701aed546 Merge pull request #3164 from kaspar030/remove_uart0
sys: remove uart0
2015-09-04 18:54:30 +02:00
0e4386a46f native: remove uart0 2015-09-04 17:46:23 +02:00
ef972735dc sys: net: replace dev_eth with netdev2, adapt native tap driver 2015-09-04 15:39:04 +02:00
Thomas Eichinger
f10939c01e cpu/native: add conditional include on OS X for IFNAMSIZ 2015-09-02 17:34:47 +02:00
Martine Lenders
ca71ae4f59 dev_eth: fix documentation 2015-08-09 22:02:10 +02:00
Martine Lenders
472ee315f0 ethernet/ethertype: remove ng_ prefix 2015-08-07 17:09:19 +02:00
Hauke Petersen
75472eddf4 cpu: remove transceiver defines from cpu_conf files 2015-08-06 12:13:54 +02:00
5d8349298f remove bulk of legacy network stack and drivers 2015-08-06 12:12:47 +02:00
Benoît Canet
22da1f834b native: ng: net: Close tap device and cleanup on reboot 2015-08-03 18:17:53 +02:00
Benoît Canet
800b057fac native: net: Make _native_tap_fd static
One global variable less is always good.
2015-08-03 18:17:52 +02:00
21238b2ccc Merge pull request #3347 from benoit-canet/timer
native: timer: synchronize HWTIMER_SPIN_BARRIER with native timer min resolution
2015-07-29 10:14:58 +02:00
Thomas Eichinger
cbc9ddc639 native: add missing include for FreeBSD 2015-07-21 18:31:13 +02:00
Hauke Petersen
08c4732fba cpu/native: adjusted stacksizes
The stacksizes for native were defined in a way, so that
DEBUG did not work inside of interrupt routines. The new
values should still be large enough but allow now for this.
2015-07-14 15:06:50 +02:00
Benoît Canet
e01329796d native: timer: synchronize HWTIMER_SPIN_BARRIER with timer min resolution
This keeps the test/hwtimer_wait test duration correct.
2015-07-09 20:42:21 +02:00