622040ddcf
Merge pull request #14651 from kaspar030/reduce_tests_float_iterations
2020-07-29 14:05:02 +02:00
Martine S. Lenders
44cf4a9f8d
make: only build MacOS-specific tool on MacOS
...
The comment says as much, the tool in question even has `macosx` in its
name [1], and it does not build for other non-Linux-POSIX systems such
as FreeBSD.
[1]: https://github.com/tzvetkoff/setsid-macosx
2020-07-29 13:58:04 +02:00
6b42ed9ae2
tests/float: don't increase iterations for native
...
No need to test floating point on native.
2020-07-29 13:25:55 +02:00
benpicco
38f62f9678
Merge pull request #14643 from Nishchay-sopho/drivers/sdp3x_#14601
...
driver/sdp3x: Resolved init condition fail
2020-07-29 13:08:57 +02:00
Leandro Lanzieri
224e2c977d
Merge pull request #14509 from jia200x/pr/lora_implicit_mode
...
sx127x: add support for implicit header mode
2020-07-29 12:52:00 +02:00
37d2e70aa6
tests/float: reduce iterations to 1000
...
The linked bug report [1] says "2 out of 5 computations fail", so there
should be no need to wait tens of seconds.
[1] https://sourceware.org/legacy-ml/newlib/2010/msg00149.html
2020-07-29 12:26:43 +02:00
07c70a9cfb
tests/periph_gpio: reduce benchmark iterations
...
Our MCU's are predictable enough that 100k iterations should suffice.
2020-07-29 12:05:21 +02:00
Jose Alamos
5affd72f71
tests/driver_sx127x: add packet commands
2020-07-29 11:57:53 +02:00
Jose Alamos
84eb2dc30c
sx127x: implement NETOPT_PDU_SIZE
2020-07-29 11:57:52 +02:00
Jose Alamos
f3bdf7232d
netopt: add NETOPT_PDU_SIZE
2020-07-29 11:57:52 +02:00
José Alamos
2f6185ee97
Merge pull request #14612 from ArwinV/openthread-kw41z
...
pkg/openthread: add support for kw41z radios
2020-07-29 11:47:27 +02:00
Martine Lenders
05b13f5029
Merge pull request #14488 from PeterKietzmann/pr_add_sha256prng
...
sys/random: add SHA256 mode to SHA1PRNG & tests
2020-07-29 11:20:55 +02:00
Martine Lenders
5cd3ded485
Merge pull request #14649 from gschorcht/cpu/esp32/cleanu_cpp
...
cpu/esp32: cleanup of C++ hacks
2020-07-29 11:20:44 +02:00
Francisco
9adc79f91a
Merge pull request #14562 from benpicco/cpu/cc2538-bitarithm_test_and_clear
...
cpu/cc2538: GPIO: use bitarithm_test_and_clear()
2020-07-29 10:38:37 +02:00
Gunar Schorcht
2ed4486f21
cpu/esp32: cleanup of C++ hacks
...
Since former ESP32 toolchain versions used POSIX threads, module `pthread` was required. The built-in `cxa_ctor_guards` had to be replaced since they used the `pthread_once` function for singleton objects initialization where the parameter `once` was of incompatible type with that provided by RIOT's `pthread` module. The current ESP32 toolchain version no longer uses POSIX threads. The dependency on module `pthread` as well as according C++ hacks can be removed.
2020-07-29 10:14:57 +02:00
benpicco
2d4d29367e
Merge pull request #14642 from maribu/fix-byteorder-big-endian
...
core/byteorder: Fix be byte buffer conversion on big endian systems
2020-07-29 01:25:03 +02:00
Marian Buschsieweke
e4387c84fd
core/byteorder: Fix from/to be buffers on be
...
Big endian buffers on big endian systems are already in big endian byte order,
so no byte shuffling is needed. However, byte buffers might be unaligned, so
copy operations that are safe with unaligned memory accesses need to be
used.
2020-07-28 22:34:25 +02:00
Marian Buschsieweke
4f391007f0
sys/unaligned: Add 32 bit version
2020-07-28 22:34:25 +02:00
Martine Lenders
91c23511d1
Merge pull request #14639 from kaspar030/sys_benchmark_extended_xtimer_workaround
...
sys/benchmark: don't disable interrupts
2020-07-28 22:12:28 +02:00
Martine Lenders
b1bf8ab981
Merge pull request #14565 from bergzand/pr/sched/fix_retrigger
...
sched: Prevent retriggering the scheduler interrupt during idle sleep
2020-07-28 22:11:25 +02:00
Martine Lenders
6e8006240b
Merge pull request #14628 from cgundogan/pr/sys/shell/ping_alias
...
sys: shell: deduplicate help text for ping command
2020-07-28 19:48:32 +02:00
Marian Buschsieweke
9a14903066
Merge pull request #14326 from benpicco/cpu/sam0_common/uart_arithmetic
...
cpu/sam0_common: UART: implement arithmetic BAUD mode
2020-07-28 19:43:25 +02:00
nagrawal
cd46360eab
driver/sdp3x: Resolved init fail error
2020-07-28 19:35:35 +02:00
Martine Lenders
ab88a96a4a
Merge pull request #14638 from benpicco/cpu/native/async_read-cleanup
...
cpu/native/async_read: close fds on cleanup
2020-07-28 18:39:41 +02:00
Martine Lenders
0e3aa2fff5
Merge pull request #14632 from benpicco/netif_single
...
gnrc_netif: replace GNRC_NETIF_SINGLE with gnrc_netif_single pseudo-module
2020-07-28 17:56:51 +02:00
Arwin Verhoeven
579a2d8fe0
pkg/openthread: add support for kw41z radios
...
pkg/openthread: fix some indentation errors
pkg/openthread: remove unnecessary library
Co-authored-by: José Alamos <jialamos@uc.cl>
2020-07-28 17:52:54 +02:00
Leandro Lanzieri
72d6d9047f
Merge pull request #14429 from benpicco/core/boot_msg
...
core/init: make boot message configurable
2020-07-28 16:40:08 +02:00
0b1a793dbe
Merge pull request #14624 from kaspar030/fix_msp430_thread_yield_higher
2020-07-28 16:32:30 +02:00
Marian Buschsieweke
0ad3a7c1cd
Merge pull request #14561 from benpicco/cpu/lpc23xx-bitarithm_test_and_clear
...
cpu/lpc23xx: GPIO: use bitarithm_test_and_clear()
2020-07-28 16:17:35 +02:00
f60980b163
sys/benchmark: don't disable interrupts
...
the function uses xtimer, which breaks with disabled interrupts.
2020-07-28 16:03:00 +02:00
Leandro Lanzieri
cfdf30409a
Merge pull request #14599 from akshaim/Kconfig_dhcpv6
...
net/dhcpv6 : Expose configurations to Kconfig
2020-07-28 15:46:17 +02:00
Benjamin Valentin
bd2e6c30e6
cpu/native/async_read: close fds on cleanup
...
This was lost when moving to poll().
We need to close the fds on cleanup.
fixes #14636
2020-07-28 14:47:59 +02:00
Benjamin Valentin
0c06694f72
gnrc_netif: replace GNRC_NETIF_SINGLE with gnrc_netif_single pseudo-module
2020-07-28 13:59:20 +02:00
1d46cf70eb
cpu/msp430_common: fix thread_yield_higher() when called in isr
2020-07-28 13:27:55 +02:00
Benjamin Valentin
274357d583
cpu/lpc23xx: GPIO: use bitarithm_test_and_clear()
2020-07-28 12:44:36 +02:00
Benjamin Valentin
08b3e2bd6b
cpu/cc2538: GPIO: use bitarithm_test_and_clear()
2020-07-28 12:44:23 +02:00
benpicco
403b6b15c6
Merge pull request #14481 from maribu/cpp-fix-linking
...
Makefile.{base,include}: Fix linking for C++ code in external modules
2020-07-28 12:42:14 +02:00
benpicco
7acdecb1df
Merge pull request #14447 from Nishchay-sopho/drivers/scd30
...
driver/scd30 : Add driver for scd30 sensor
2020-07-28 12:41:58 +02:00
Akshai M
a9e0a110d7
net/dhcpv6 : Remove unused macro
...
Remove unused macro 'DHCPV6_CLIENT_SERVER_MAX'
2020-07-28 15:02:48 +05:30
Benjamin Valentin
003c25b2e8
cpu/sam0_common: uart: document frequency constraints
2020-07-28 11:22:22 +02:00
Benjamin Valentin
e1f84de6c5
cpu/sam0_common: UART: simplify init sequence
...
We don't need to read-modify-write the CTRLA register to disable
the UART.
The entire CTRLA register is re-written just a few lines below, so
we can just set it to 0 to disable the UART.
There is also no need to reset the UART since we re-write all config
registers in init.
2020-07-28 11:22:22 +02:00
Benjamin Valentin
28c1c502bc
cpu/sam0_common: UART: implement arithmetic BAUD mode
...
SAMD20 does not implement a Fractional Baud mode, so we have to
implement Asynchronous Arithmetic mode.
2020-07-28 11:22:22 +02:00
benpicco
ecab75b529
Merge pull request #13632 from benpicco/cpu/sam0_common/uart-deinit
...
drivers/periph/uart: add periph_uart_reconfigure feature & implementation for sam0
2020-07-28 11:12:19 +02:00
Benjamin Valentin
25e67e019e
core/init: make boot message configurable
...
It can be desirable to not have the boot message printed each time
(e.g. logs are transferred over a wireless link on battery) while
still retaining the ability to receive INFO level logs.
This adds the option to disable the boot-up message (and also to customize
it if that is desireable).
2020-07-28 11:04:55 +02:00
Cenk Gündoğan
891b8e37d7
sys: shell: deduplicate help text for ping command
2020-07-28 10:49:17 +02:00
nagrawal
900e4b61dc
driver/scd30: Add driver for Sensirion SCD30
...
Created tests for Sensirion scd30 driver
Moved Makefile.dep and Makefile.include as per new spec
2020-07-28 10:38:01 +02:00
benpicco
6ef4276c35
Merge pull request #14621 from benpicco/core/byteorder-be
...
core/byteorder: add Big Endian implementations
2020-07-28 10:30:27 +02:00
d59233baf1
Merge pull request #14556 from benpicco/bitarithm_test_and_clear
...
core/bitarithm: add bitarithm_test_and_clear()
2020-07-28 10:11:47 +02:00
Benjamin Valentin
e6f33fc436
cpu/sam0_common: uart: implement the periph_uart_reconfigure feature
2020-07-28 10:10:15 +02:00
Benjamin Valentin
62dbb21f19
cpu/sam0_common: UART move pin configuration to function
...
Makes the init code easier to read.
2020-07-28 10:10:15 +02:00