Commit Graph

157 Commits (aedffd78835f3afade2b34d55347048c01404c3f)

Author SHA1 Message Date
Alexandre Abadie 3e49d0c8c6 Merge pull request #6434 from aabadie/petersen_typo
cpu: fix typo in author email
7 years ago
Alexandre Abadie 245f60edfa cpu: fix typo in author email 7 years ago
Oleg Hahm 7ee7801c10 *: remove trailing underscores from header guards 7 years ago
Martine Lenders 1f6f02e196 cpu/native: adapt start-up and auto-init for multiple netdev2_tap 7 years ago
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.
7 years ago
Oleg Hahm bfc439aa04 doc: native: do not parse internal functions 7 years ago
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.
7 years ago
Martine Lenders 613bceeae3 netdev2_tap: return actual byte number on read request 7 years ago
Ludwig Ortmann 0b72be7c87 native: add syscall-leave trampoline 7 years ago
Martine Lenders 16cae9771f Merge pull request #5613 from OTAkeys/pr/async_read_cb_args
cpu/native: add args to async_read callback
7 years ago
Ludwig Knüpfer d639f0b9a3 cpu/native: rewrite cpu_print_last_instruction
circumvent assembly by using a GCC/LLVM builtin
7 years ago
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.
7 years ago
zhuoshuguo efbbca1322 cpu: Fix header include guards 7 years ago
MohmadAyman 720136491a cpu: unify naming of ISR stacksize macro 7 years ago
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.
8 years ago
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.
8 years ago
Oleg Hahm 59674a679b netdev2: use params parameter for setup 8 years ago
Joakim Nohlgård 405811da2b native: remove unused XTIMER_USLEEP_UNTIL_OVERHEAD 8 years ago
Kaspar Schleiser 9082273746 core: header cleanup 8 years ago
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
8 years ago
Kaspar Schleiser 5f44a6938d cpu: native: adapt xtimer backoff values to periph/timer change 8 years ago
Kaspar Schleiser effb15a2cc Merge pull request #3313 from gebart/pr/eINT-fixes
eINT/dINT fixes
8 years ago
Ludwig Knüpfer eda6328e21 documentation: update my name (Ortmann -> Knüpfer) 8 years ago
Joakim Gebart 27565a655e cpu/native: remove dINT/eINT definitions 8 years ago
Kaspar Schleiser 4e8bf2cb69 cpu: native: remove hwtimer traces 8 years ago
Kaspar Schleiser fb773bf90a cpu: native: remove hwtimer_compat dependency 8 years ago
Martine Lenders 93f555ef69 Merge pull request #3782 from OlegHahm/RIOT_assert
core: RIOT's own assert macro
8 years ago
Oleg Hahm f3245cecac core: panic: last instruction's address for assert 8 years ago
Oleg Hahm d7161b6d4b cpu: inline function to print instruction register 8 years ago
Kaspar Schleiser 344b56bca8 Merge pull request #3167 from haukepetersen/fix_native_stacksizes
cpu/native: adjusted stacksizes
8 years ago
Hauke Petersen 7701aed546 Merge pull request #3164 from kaspar030/remove_uart0
sys: remove uart0
8 years ago
Kaspar Schleiser 0e4386a46f native: remove uart0 8 years ago
Kaspar Schleiser ef972735dc sys: net: replace dev_eth with netdev2, adapt native tap driver 8 years ago
Thomas Eichinger f10939c01e cpu/native: add conditional include on OS X for IFNAMSIZ 8 years ago
Martine Lenders ca71ae4f59 dev_eth: fix documentation 8 years ago
Martine Lenders 472ee315f0 ethernet/ethertype: remove ng_ prefix 8 years ago
Hauke Petersen 75472eddf4 cpu: remove transceiver defines from cpu_conf files 8 years ago
Kaspar Schleiser 5d8349298f remove bulk of legacy network stack and drivers 8 years ago
Benoît Canet 22da1f834b native: ng: net: Close tap device and cleanup on reboot 8 years ago
Benoît Canet 800b057fac native: net: Make _native_tap_fd static
One global variable less is always good.
8 years ago
Kaspar Schleiser 21238b2ccc Merge pull request #3347 from benoit-canet/timer
native: timer: synchronize HWTIMER_SPIN_BARRIER with native timer min resolution
8 years ago
Thomas Eichinger cbc9ddc639 native: add missing include for FreeBSD 8 years ago
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.
8 years ago
Benoît Canet e01329796d native: timer: synchronize HWTIMER_SPIN_BARRIER with timer min resolution
This keeps the test/hwtimer_wait test duration correct.
8 years ago
Benoît Canet dfbd4f946e cpu: native: switch to hwtimer_compat
The hwtimer_wait test was tortured with the
following script which ran several hours.

----

make clean all-debug

while :
do

date
./bin/native/hwtimer_wait.elf > log &
pid=$!
sleep 20

success=$(cat log|grep success)

if [ "$success" != "success"  ]
then
date
echo "BUG"
exit
fi

kill $pid

done
----

Closes #715.
8 years ago
Kaspar Schleiser fe96d379f6 native: add periph/timer.h timer implementation 8 years ago
Hauke Petersen 5abd2ffc0a cpu/native: added periph_cpu.h 8 years ago
Hauke Petersen a5e4b02ed8 cpu: fixed doxygen for multiple headers 8 years ago
Hauke Petersen 9943f51080 global: renamed cpu-conf.h into cpu_conf.h 8 years ago
Kaspar Schleiser cfd9a5905a Merge pull request #2766 from kaspar030/add_dev_eth
sys: net: introduce low-level ethernet driver API
8 years ago