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

21274 Commits

Author SHA1 Message Date
Gaëtan Harter
6e7fa9e9e0
tests/posix_semaphore: private sub functions for tests libs
While trying python test libraries, like pytest, the automatic test collection
detects the `testNUM` functions as tests but does not know the `term` argument
and fails.

This declares them as private to only find `testfunc(child)` entry point.

Another solution could have been to use `testNUM(child)` and rename
`testfunc` to `main` but would not match other tests.
2019-01-21 12:32:29 +01:00
cladmi
921afa0820
testrunner: fix script when RIOTBASE is not defined
If not defined it was raising a KeyError. Use the 'get' function to
handle non defined value.

It did not put the value in the `default` case as it would have changed
the behavior when `RIOTBASE` is defined but empty.
2019-01-21 12:19:34 +01:00
Leandro Lanzieri
fc1baddef8
Merge pull request #10829 from aabadie/pr/boards/b-l475e-missing-features
boards/b-l475e-iot01a: provide already configured RTC and RTT features
2019-01-21 10:16:49 +01:00
c6b9bb5055
boards/b-l475e-iot01a: provide already configured features
RTC and RTT are available and already configured for this board but not provided by the build system
2019-01-20 13:10:25 +01:00
Marian Buschsieweke
08fba76fa6
cpu/fe310: Add call to periph_init()
Until now fe310's cpu_init() was missing a call to periph_init().
This commit adds this call.
2019-01-19 13:00:36 +01:00
Martine Lenders
002494f789 gnrc_ipv6_nib: activate SLAAC on border router 2019-01-19 11:15:38 +01:00
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
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