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

21167 Commits

Author SHA1 Message Date
Gunar Schorcht
24b71a7fbe cpu/esp8266: call _recv directly in esp_wifi
Since _esp_wifi_recv_cb is not executed in interrupt context but in the context of the `ets` thread, it is not necessary to pass the`NETDEV_EVENT_ISR` event first. Instead, the receive function can be called directly which result in much faster handling, a less frame lost rate and more robustness.
2019-01-25 23:59:42 +01:00
Gunar Schorcht
f12606d7c0 cpu/esp8266: removes the mutex in esp_wifi
Since _esp_wifi_recv_cb is not executed in interrupt context but in the context of the `ets` thread, the receive function can be called directly. There is no need for a mutex anymore to synchronize the access to the receive buffer between _esp_wifi_recv_cb and _recv function.
2019-01-25 23:59:42 +01:00
6cd81dbc87
Merge pull request #10865 from kaspar030/uncrustify_change_disable_hint
uncrustify: change en/disable markers
2019-01-25 22:40:02 +01:00
Martine Lenders
c8dd8d114d
Merge pull request #10819 from miri64/doc/enh/paper
doc: add reference to RIOT paper
2019-01-25 21:33:47 +01:00
Martine Lenders
92b5ef594c doc: add reference to RIOT paper 2019-01-25 20:33:14 +01:00
Gaëtan Harter
6075727667
Merge pull request #10863 from aabadie/pr/gitignore_results
.gitignore: exclude results directory
2019-01-25 18:54:22 +01:00
Martine Lenders
2d54069f59
Merge pull request #10869 from gschorcht/gnrc_icmpv6_echo_fix
gnrc_icmpv6_echo: avoid crashing when pktbuf full
2019-01-25 18:33:07 +01:00
c55f7162f1
.gitignore: exclude results directory
This directory is created by the compile_and_test_for_board script when ran from RIOTBASE and no custom value is specified
2019-01-25 18:07:09 +01:00
b8565e492d
Merge pull request #10851 from miri64/tests/feat/gnrc_sixlowpan_frag-tests
tests: provide unittests for gnrc_sixlowpan_frag/rbuf
2019-01-25 17:55:28 +01:00
Martine Lenders
0941f7b23d
Merge pull request #9833 from aabadie/nrf52840-mdk
boards/nrf52840-mdk: initial support
2019-01-25 17:22:27 +01:00
674128ea27 boards/hifive1: adapt to RIOT uncrustify markers 2019-01-25 17:21:14 +01:00
99d7996982 uncrustify: change en/disable markers 2019-01-25 17:21:14 +01:00
Gunar Schorcht
c88838f391 gnrc_icmpv6_echo: avoid crashing when pktbuf full
Once the packet buffer is full on heavy network load, gnrc_netif_hdr_build may return NULL. In that case, the following unchecked access to hdr->data leads to a crash.
2019-01-25 17:10:57 +01:00
Marian Buschsieweke
370f33ab1f
Merge pull request #9806 from gschorcht/enc82j60_fix_9784
drivers/enc28j60: fix of #9784
2019-01-25 17:01:22 +01:00
Martine Lenders
7d9ef9f78c gnrc_sixlowpan_frag/rbuf: add offset assertion to rbuf_add()
`gnrc_sixlowpan_frag` internally derives the offset value directly
from the fragment header, so for normal usage within GNRC this
assertion is redundant, but to make the tests of `rbuf_add` 100%
water-tide I added it.
2019-01-25 16:57:09 +01:00
Martine Lenders
6ff06d3f41 tests: provide unittests for gnrc_sixlowpan_frag/rbuf
The reason I put these unittests into their own application is that I
intentionally wanted to test this module very isolated.
2019-01-25 16:57:09 +01:00
a12b61e9af
boards/nrf52840-mdk: initial support 2019-01-25 16:29:10 +01:00
Hauke Petersen
250b7cbbbf
Merge pull request #10621 from aabadie/pr/cpu/nrf_uart_rework
cpu/nrf5x: rework periph_uart driver to allow use of multiple UARTs with nrf52840
2019-01-25 16:27:06 +01:00
cee830bd97
Merge pull request #10868 from jia200x/pr/pkg_loramac_calibration
pkg/semtech-loramac: add timer calibration
2019-01-25 15:55:03 +01:00
Hauke Petersen
93e7d88f75
cpu/nrf5x: reworked and fixed UART driver 2019-01-25 15:52:25 +01:00
72f3f7d4f1
boards/nrf52840dk: add second UART interface
This commit also change the STDIO UART to use the UARTE device type (with EasyDMA)
2019-01-25 15:52:25 +01:00
cb8c2b759e
cpu/nrf52: use UARTE device type for nrf52840
This requires to implement the use of EasyDMA for this kind of peripheral
2019-01-25 15:52:25 +01:00
190d48c5d3
boards/nrf52840dk: configure uart flow control pins 2019-01-25 15:51:50 +01:00
336851e3bc
cpu/nrf52: add uart flow control on nrf52840 2019-01-25 15:51:50 +01:00
1be60741e3
boards/nrf52xxxdk: refactor UART config 2019-01-25 15:51:50 +01:00
8e8f48f75e
cpu/nrf52: add multi UART support for nrf52840 2019-01-25 15:51:49 +01:00
Martine Lenders
892c7a5430
Merge pull request #10866 from miri64/gnrc_sixlowpan/fix/type-finding-loop
gnrc_sixlowpan: stop type-finding loop when type is found
2019-01-25 14:38:34 +01:00
Jose Alamos
3c2617dfeb pkg/semtech-loramac: set default timer calibration values 2019-01-25 14:18:46 +01:00
Jose Alamos
6c1c420164 loramac: add macros for default timer calibration values 2019-01-25 14:18:06 +01:00
Jose Alamos
5b4a26cd69 pkg/semtech-loramac: add timer calibration functions 2019-01-25 14:17:12 +01:00
Jose Alamos
b3d81af38a pkg/semtech-loramac: remove timer tweaks from contrib 2019-01-25 14:16:11 +01:00
Gunar Schorcht
8984a9b80c
Merge pull request #10860 from miri64/gnrc_ipv6_nib/fix/release-when-queue-full
gnrc_ipv6_nib: release when not queuable on AR
2019-01-25 12:17:32 +01:00
Martine Lenders
879321d68a gnrc_sixlowpan: stop type-finding loop when type is found
Currently the loop just continues to run after a viable type is found.
In #10851 this lead to a crash of the tests, when the dependency of
`gnrc_sixlowpan` to `gnrc_ipv6` was removed.
2019-01-25 12:04:30 +01:00
Martine Lenders
aad1997f9b
Merge pull request #10864 from kaspar030/uncrustify_sp_after_cast
uncrustify: add "sp_after_cast = remove"
2019-01-25 11:50:45 +01:00
Leandro Lanzieri
ba592ae4d3
Merge pull request #10848 from PeterKietzmann/pr_phy-kw41_ccs811condif
boards/phynode-kw41z:enable support for cc811 sensor
2019-01-25 11:42:40 +01:00
PeterKietzmann
536cf1b4e9 boards/phynode-kw41z:enable ccs811,mma8x5x,tcs37727 sensors 2019-01-25 11:10:08 +01:00
f56533b702 uncrustify: add indentation section comment 2019-01-25 10:58:54 +01:00
fe10a37e41 uncrustify: add "sp_after_cast = remove" 2019-01-25 10:52:15 +01:00
55e50d3015
Merge pull request #10858 from miri64/socket_zep/fix/ubsan-timestamp
socket_zep: fix undefined timestamp conversion behavior
2019-01-25 09:13:07 +01:00
Martine Lenders
b0beba3c1c gnrc_ipv6_nib: release when not queuable on AR
When a new queue entry is tried to be allocated for a neighbor who's
address is currently tried to be resolved there was no error case
before. The packet that was tried to be put in the queue was thus not
released and stayed in the packet buffer for ever.
2019-01-25 00:13:21 +01:00
Gunar Schorcht
5cb2dd32e0 drivers/enc28j60: fix of #9784 2019-01-24 23:25:17 +01:00
03ed77b141
Merge pull request #10805 from beduino-project/fix-hifive1-coreclock-define
boards/hifive1: fix CLOCK_CORECLOCK
2019-01-24 20:48:40 +01:00
José Alamos
e3758fdcd0
Merge pull request #10859 from miri64/gnrc_icmpv6/fix/missing-release
gnrc_icmpv6: release in error cases of demux
2019-01-24 16:50:22 +01:00
Martine Lenders
8c1cf53d28 gnrc_icmpv6: release when received packet too short 2019-01-24 15:50:18 +01:00
Martine Lenders
bbde73eb81 gnrc_icmpv6: release on wrong checksum 2019-01-24 14:57:36 +01:00
Martine Lenders
83bc4b162f socket_zep: fix undefined timestamp conversion behavior 2019-01-24 14:05:31 +01:00
Kevin "Bear Puncher" Weiss
06b5a58e62
Merge pull request #10802 from leandrolanzieri/pr/boards/sensebox_samd21-mtd
boards/sensebox_samd21: Add MTD definition
2019-01-24 12:20:16 +01:00
Sebastian Meiling
907b761750
Merge pull request #10792 from gschorcht/esp8266_esp_wifi_netdev
esp8266: esp_wifi netdev driver
2019-01-24 12:09:46 +01:00
Sebastian Meiling
a65fede8c4
Merge pull request #10855 from kb2ma/nanocoap/simple_reply_safety
net/nanocoap: verify simple reply buffer
2019-01-24 12:08:31 +01:00
Sebastian Meiling
43d772ce63
Merge pull request #10847 from jia200x/pr/fix_netreg_macros
net/netreg: fix static netreg init macros
2019-01-24 12:05:30 +01:00