Martine Lenders
f91f62155d
Merge pull request #10801 from gschorcht/esp32_fix_memset_opt
...
cpu/esp32: fixes the memset optimization problem in esp_wifi/wpa_supplicant
2019-01-18 22:31:42 +01:00
Martine Lenders
49a05ad7e2
Merge pull request #10822 from miri64/nrfmin/fix/proto-type
...
nrfmin: fix type for NETOPT_PROTO
2019-01-18 18:51:11 +01:00
Ken Bannister
715b79a1e7
tests/nanocoap: build request that fills buffer
2019-01-18 12:34:55 -05:00
Ken Bannister
85a658634f
net/nanocoap: validate option length before write
2019-01-18 12:34:55 -05:00
Ken Bannister
b9f6354067
net/nanocoap: document function that writes option header
2019-01-18 12:34:55 -05:00
Gaëtan Harter
4e5de1b789
Merge pull request #10821 from cladmi/pr/make/global_goals
...
Makefile.include: append the values to GLOBAL_GOALS
2019-01-18 18:26:21 +01:00
Martine Lenders
4e53f0fa76
nrfmin: fix type for NETOPT_PROTO
...
The type [is documented as `gnrc_nettype_t`][1] so it should by checked
as such.
[1]: f9a3bdf1a7/sys/include/net/netopt.h (L210-L212)
2019-01-18 18:14:00 +01:00
Sebastian Meiling
f9a3bdf1a7
Merge pull request #10671 from kb2ma/nanocoap/retry_qty
...
net/nanocoap: fix confirmable retry countdown
2019-01-18 17:49:00 +01:00
Marian Buschsieweke
c2cda285ae
Merge pull request #10820 from miri64/eui48/fix/type-alignment
...
eui48: fix type alignment
2019-01-18 17:34:45 +01:00
Martine Lenders
7e4d13c2be
eui48: fix type alignment
2019-01-18 17:03:33 +01:00
Gaëtan Harter
434328debf
Makefile.include: append the values to GLOBAL_GOALS
...
This allows setting other GLOBAL_GOALS by setting it before.
This could be the case for the application `Makefile` or files parsed
from `RIOT_MAKEFILES_GLOBAL_PRE`.
2019-01-18 16:40:16 +01:00
Gaëtan Harter
204a4bae7f
dist/tools/compile_and_test_for_board: add some TODO
...
The script was migrated as is from Release-Specs but could benefit from
adaptation as it is run from RIOT.
2019-01-18 16:08:55 +01:00
Gaëtan Harter
ae76d7f364
dist/tools/compile_and_test_for_board: add compile and test script
...
Move the compile and test script from Release-Specs.
https://github.com/RIOT-OS/Release-Specs/blob/271dc8/02-tests/compile_and_test_for_board.py
By default it should be run as
./compile_and_test_for_board.py path_to_riot_directory board_name [results]
The script is migrated as-is so has not been changed to automatically use the
current repository.
2019-01-18 16:08:31 +01:00
Dylan Laduranty
a78f357b26
Merge pull request #10813 from aabadie/pr/tests/pkg_hacl_monocypher
...
tests/pkg_{hacl,monocypher}: set custom timeout value
2019-01-18 16:08:29 +01:00
Leandro Lanzieri
4c4087cef2
Merge pull request #10812 from aabadie/pr/tests/periph_rtc_test
...
tests/periph_rtc: add automatic python test script
2019-01-18 15:02:23 +01:00
Martine Lenders
8f5f6dcacd
nordic_softdevice_ble: document working Linux versions
...
It is not 100% clear if 4.12 is the last version the softdevice is able
to interact with, but newer kernel versions than 4.12 definitely
don't work (we tried 4.15 on Ubuntu 18.04 and 4.20 on a quite recent
Arch).
The reason I believe it's the 4.12 that last worked is that in the
documentation of the nRF5 SDK it is mentioned for something called
"legacy mode" [1]. However, we are using the nRF5 *IoT* SDK which
doesn't mention this legacy mode at all.
I don't know if we can update the `pkg` to the other SDK, so I just
updated the documentation accordingly for now.
[1]: https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/group__ble__6lowpan__config?9932#ga5285fd3eaf403092286f607cd66850f3
2019-01-18 14:46:13 +01:00
a1546375da
tests/periph_rtc: add automatic python test script
2019-01-18 14:42:58 +01:00
ebb45459b0
Merge pull request #10777 from fedepell/test_flashpage_enh_1
...
tests/periph_flashpage: improve flashpage tests
2019-01-18 14:37:39 +01:00
Leandro Lanzieri
2625a86450
boards/sensebox_samd21: Add MTD definitions
2019-01-18 13:25:35 +01:00
Ken Bannister
2e2847372c
tests/nanocoap: allow server to ignore requests
2019-01-18 05:47:43 -05:00
Ken Bannister
27ba81eed0
net/nanocoap: improve debug messages
2019-01-18 05:47:43 -05:00
a1736b08ad
tests/pkg_{hacl,monocypher}: set custom timeout value
...
On samr30-xpro the tests takes respectively 20 and 14 seconds to complete
2019-01-18 11:29:46 +01:00
Ken Bannister
c191d52cba
Merge pull request #10779 from kb2ma/gcoap/cli_buffer_size
...
examples/gcoap: verify buffer size
2019-01-18 10:01:23 +00:00
Martine Lenders
6ee729bf81
Merge pull request #10811 from aabadie/pr/tests/periph_rtc_readme
...
tests/periph_rtc: fix alarm period in README
2019-01-18 09:45:33 +01:00
939774105f
tests/periph_rtc: fix alarm period in README
...
The default period value the application code is set to 2s
2019-01-18 09:17:30 +01:00
Gunar Schorcht
bb56a9f9c2
Merge pull request #10810 from gschorcht/doc_fix_params_h_warnings
...
doc: fix warnings in *_params.h
2019-01-18 08:41:17 +01:00
Gunar Schorcht
c5e9f12243
doc: fix undocumented func in socket_zep_params.h
2019-01-18 07:18:06 +01:00
Gunar Schorcht
5909f38089
doc: fix undocumented define in srf04 driver
2019-01-18 07:03:54 +01:00
Gunar Schorcht
b8b0a92cf8
doc: fix undocumented variable in ads101x driver
2019-01-18 07:03:45 +01:00
Cenk Gündoğan
1c712c79a4
Merge pull request #10781 from miri64/nrfmin/cleanup/long-addr
...
nrfmin: remove long address support
2019-01-17 20:04:03 +01:00
Cenk Gündoğan
82f30fd8c4
Merge pull request #10514 from miri64/pkg/enh/nordic-softdevice-ble-mac48
...
pkg/nordic_softdevice_ble: Use MAC48 as hardware address
2019-01-17 19:22:36 +01:00
Martine Lenders
7f7bc8fc20
pkg/nordic_softdevice_ble: Use MAC48 as hardware address
...
This is just a compatibility issue waiting to happen as soon as there
is support for a more standard-compliant implementation of BLE (like
e.g. NimBLE ;-)).
2019-01-17 18:08:55 +01:00
f64e406a61
Merge pull request #10804 from beduino-project/fix-hifive1-flasher
...
boards/hifive1: fix file permissions of flasher.sh
2019-01-17 17:45:22 +01:00
Sebastian Meiling
495607d501
Merge pull request #10762 from gschorcht/esp32_esp_wifi_fix
...
cpu/esp32: esp_wifi netdev driver
2019-01-17 17:38:59 +01:00
Tristan Bruns
8d50b8cc60
boards/hifive1: fix CLOCK_CORECLOCK
2019-01-17 17:21:09 +01:00
Gunar Schorcht
5bb05f0911
cpu/esp32: esp-wifi related doc changes
2019-01-17 17:10:43 +01:00
Gunar Schorcht
6a99e86b2f
cpu/esp32: fix stability issues of esp_wifi
...
ESP-IDF heap handling has to be used for esp_wifi for stability reasons. Otherwise, heap is corrupted sporadically
2019-01-17 17:10:43 +01:00
Gunar Schorcht
f788928b27
cpu/esp32: fix esp_wifi stability issues
...
Fixes sporadic blocking of the wifi thread in esp_wifi_recv_cb function under heavy network load conditions when frames are coming in faster than they can be processed. Since esp_wifi_recv_cb function is not executed in interrupt context, the msg_send function used for ISR event can block when the message queue is full. With this change esp_wifi can be flooded with icmpv6 packets of maximum size without any problems over hours.
2019-01-17 17:10:43 +01:00
Gunar Schorcht
6caead7bbc
cpu/esp32: esp-wifi related doc changes
2019-01-17 17:10:43 +01:00
Gunar Schorcht
7754a3416c
cpu/esp_common: doc fixes related to esp_wifi
2019-01-17 17:10:43 +01:00
Gunar Schorcht
cb37288ca5
cpu/esp32: redundant README.md removed
...
To avoid further inconsistencies in documentation, README.md is not provided any longer
2019-01-17 17:10:43 +01:00
Gunar Schorcht
1cf415a8a9
cpu/esp32: doc improvements in esp_wifi
2019-01-17 17:10:43 +01:00
Gunar Schorcht
e83a8679b4
cpu/esp32: cleanup esp_wifi config parameters
2019-01-17 17:10:43 +01:00
Gunar Schorcht
c0d4706bf8
cpu/esp32: fix of event types in esp_wifi
2019-01-17 17:10:43 +01:00
Gunar Schorcht
c9684af5c2
cpu/esp32: automatic reconnect after disconnect
...
If WiFi is disconnected, e.g., because of timeout for beacon frame, it is tried to reconnect automatically.
2019-01-17 17:10:43 +01:00
Gunar Schorcht
90e9c95c30
cpu/esp32: registration of RX callback in esp_wifi
...
RX callback function should be register when WiFi has been connected to AP successfully and should be unregistered when WiFi disconnects from AP. Therefore, esp_wifi_internal_reg_rxcb is called now in event handler on event SYSTEM_EVENT_STA_CONNECTED. It is reset now on event SYSTEM_EVENT_STA_DISCONNECTED.
2019-01-17 17:10:43 +01:00
Gunar Schorcht
f4cacc1e24
cpu/esp32: improved debug message in esp_wifi
2019-01-17 17:10:43 +01:00
Gunar Schorcht
2c3ac91cf3
cpu/esp32: move wifi_connect to event handler
...
Before function wifi_connect is executed, starting the WiFi driver should have been finished. This is indicated by the WiFi driver by sending event SYSTEM_EVENT_STA_START. Function wifi_connect is moved therefore to the event handler for SYSTEM_EVENT_STA_START.
2019-01-17 17:10:43 +01:00
Gunar Schorcht
8a1da21b1a
cpu/esp32: fixes serious memory leak in esp_wifi
...
The buffer given by the WiFi driver as parameter eb has to be freed explicitly. Otherwise the esp_wifi_netdev stops working after some seconds.
2019-01-17 17:10:43 +01:00
Gunar Schorcht
3ef35e1b78
cpu/esp32: use static WiFi config in esp_wifi
...
The WiFi configuration has to be static to avoid memory access problems when WiFi AP is reconnected.
2019-01-17 17:10:43 +01:00