Federico Pellegrin
051be66b76
sam0 flashpage: wait for READY bit in INTFLAG after write command
2019-01-27 07:39:10 +01:00
Gunar Schorcht
fa48e3f51f
cpu/esp8266: event handling for link up/down
2019-01-26 17:34:13 +01:00
Gunar Schorcht
4e41afa2fb
cpu/esp8266: readable disconn reasons in esp_wifi
2019-01-26 17:33:28 +01:00
Gunar Schorcht
1a8a560bb5
cpu/esp8266: remove timeout handling in send func
...
It is not necessary to realize timeout handling in send function or to disconnect from AP if lwIP packet buffer is exhausted. Waiting that the frame allocated in lwIP packet buffer is freed by MAC layer led to the complete blockage of send function on heavy network load. Disconnecting from AP is counterproductive since reconnecting usually fails on heavy network load.
2019-01-26 17:32:04 +01:00
Gunar Schorcht
fa5fe7e48f
cpu/esp8266: don't disconnect on pbuf full in send
...
Disconnecting from the AP in the send function if the lwIP packet buffer is exhausted is counterproductive since reconnecting usually fails on heavy network load. A better strategy is to slow down the sending of MAC frames from netif a bit to wait for flushing the buffer in the MAC layer.
2019-01-26 17:23:21 +01:00
Anton Gerasimov
19d2ef736c
kinetis: limit scope of a variable in ics.c to make Codacy happy
...
Signed-off-by: Anton Gerasimov <tossel@gmail.com>
2019-01-26 15:53:05 +01:00
Anton Gerasimov
40bcfc9211
kinetis: add support for S9KEAZ128
...
Signed-off-by: Anton Gerasimov <anton.gerasimov@here.com>
2019-01-26 15:53:05 +01:00
Martine Lenders
bdd2d52fd5
Merge pull request #10797 from kaspar030/add_unaligned
...
sys: add unaligned.h (header for alignment safe value-from-pointer functions)
2019-01-26 13:09:20 +01:00
Gunar Schorcht
5d0b447209
cpu/esp8266: auto reconnect in esp_wifi
...
It seems to be more stable and less memory consuming to use auto reconnect policy.
2019-01-25 23:59:42 +01:00
Gunar Schorcht
457ef97d74
cpu/esp8266: lwIP dummy functions added
...
Defines a number of lwIP functions that are required as symbols by Espressif's SDK libraries. These functions are only dummies without real functionality. Using these functions instead of real lwIP functions provided with the SDK saves arround 4 kBytes of RAM.
2019-01-25 23:59:42 +01:00
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
344af9c479
sys/checksum/fletcher32: make use of unaligned.h
2019-01-25 22:22:45 +01:00
c85d33f305
sys/include/unaligned: initial commit
2019-01-25 22:22:45 +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