Benjamin Valentin
83a56ae666
cpu/sam0_common: merge RTC & RTT implementation
...
The RTC and RTT share the same peripheral, so they can also
share the same code.
This is needed to integrate the Tamper Detection into common
RTC/RTT code.
2020-07-31 22:00:09 +02:00
Cenk Gündoğan
9f4f27a8cd
Merge pull request #14659 from leandrolanzieri/pr/kconfig/allow_clean_all
...
makefiles/kconfig.mk: include KCONFIG_OUT_CONFIG unconditionally
2020-07-31 18:06:26 +02:00
Martine Lenders
46e552ffc0
Merge pull request #14587 from aabadie/master_actions_iotlab
...
.github/workflows: add CI on IoT-LAB
2020-07-31 17:41:29 +02:00
Jose Alamos
5c824f6f12
nrf802154: fix set_tx_power function
2020-07-31 17:16:10 +02:00
76ba397c2b
.github/workflows: run tests on IoT-LAB
2020-07-31 16:42:02 +02:00
Jose Alamos
519f8f4529
cc2538: fix RSSI offset
2020-07-31 16:08:04 +02:00
Marian Buschsieweke
ee1a10f2e4
Merge pull request #14668 from miri64/tests/fix/sock_tcp
...
tests/lwip_sock_tcp: fix -EADDRINUSE test
2020-07-31 15:08:00 +02:00
Marian Buschsieweke
f48147b585
Merge pull request #14663 from benpicco/native-fixes
...
treewide: compile fixes for native
2020-07-31 14:57:41 +02:00
Martine Lenders
dcbb2828ca
Merge pull request #14665 from maribu/pkg_lwip
...
pkg/lwip: Use IS_ACTIVE() and bugfix
2020-07-31 14:21:42 +02:00
Leandro Lanzieri
6a5c7744cb
makefiles/kconfig.mk: include KCONFIG_OUT_CONFIG always
...
This allows to include KCONFIG_OUT_CONFIG file in Makefile
unconditionally, which means that `make clean all` is allowed when using
Kconfig.
For this, the recipe for `clean` is guarded with `MAKE_RESTARTS` so
the BINDIR folder is not removed once Make restarts scanning the files.
2020-07-31 13:55:33 +02:00
Benjamin Valentin
492283898e
pkg/driver_atwinc15x0: don't be pedantic
2020-07-31 13:38:03 +02:00
Benjamin Valentin
aa0e5e7afa
drivers/cc110x: replace binary constants and use unsigned char
...
binary constants are a GCC extension
2020-07-31 13:38:03 +02:00
Benjamin Valentin
110609195f
drivers/encx24j600: use unsigned char
2020-07-31 13:38:03 +02:00
Benjamin Valentin
2e34298265
drivers/nrf24l01p: use unsigned char
2020-07-31 13:38:03 +02:00
Benjamin Valentin
a81c0a544c
drivers/kw2xrf: use unsigned char
2020-07-31 13:38:03 +02:00
Benjamin Valentin
e3fd43861c
pkg/semtech-loramac: allow pointer <-> function pointer cast
...
Building on native reveals
error: ISO C forbids initialization between function pointer and ‘void *’
Let's disable that.
2020-07-31 13:38:03 +02:00
Marian Buschsieweke
00c44b0924
pkg/lwip: Use IS_ACTIVE() & NETCONNTYPE_ISIPV6()
...
This also fixes an issue detected by `tests/lwip_sock_udp` when both IPv4 and
IPv6 are enabled.
2020-07-31 13:27:09 +02:00
Martine S. Lenders
c90654d4cc
tests/lwip_sock_tcp: fix -EADDRINUSE test
...
When compiled with `LWIP_IPV4=1 LWIP_IPV6=1` this test currently fails
in current master. This "regression" was introduced with 035acc2e53
.
However, after some debugging I think that commit actually revealed a
problem with the test rather than introducing a bug.
The test starts the central server, and then checks if opening a
listening socket on the same port causes an `-EADDRINUSE` error.
The server, on the other hand, starts with `SOCK_FLAGS_REUSE_EP`, so of
course the listening operation may succeed. Instead, let's just call
`sock_tcp_listen` twice with two distinct queue objects. Way easier and
also more correct.
2020-07-31 12:49:36 +02:00
Marian Buschsieweke
5be2d082b9
pkg/lwip: Compatibility with IS_USED()
...
The `IS_USED()` macro doesn't work if macros are defined to `(1)` instead of `1`
2020-07-31 10:51:12 +02:00
benpicco
7e4b3d0f40
Merge pull request #14653 from Nishchay-sopho/drivers/sdp3x_#14603
...
driver/sdp3x: Resolved irq pin code used even if irq pin not connected
2020-07-31 01:22:02 +02:00
Marian Buschsieweke
86513dc97a
drivers/net: Fix netdev_driver_t doc
...
- Fix indent
- Use @reval instead of @return when referring to a single return value
- Use term "frame" instead of "packet"
2020-07-30 20:22:17 +02:00
nagrawal
7cc4f2b79b
driver/sdp3x: Resolved irq pin code used even if irq pin not connected
...
irq_pin check when multiple sensors connected with or without irq pin
2020-07-30 16:35:35 +02:00
Francisco
7e6fee8260
Merge pull request #14615 from maribu/atmega-idle-stack-size
...
cpu/atmega_common: Increase idle stack size with xtimer
2020-07-30 14:43:20 +02:00
Francisco
1aa8fb1715
Merge pull request #14644 from miri64/make/fix/macosx-debug
...
make: only build MacOS-specific tool on MacOS
2020-07-30 14:37:19 +02:00
06dca07b0a
Merge pull request #14188 from aabadie/pr/pkg/littlevgl_full
...
pkg/lvgl: add logic for managing touch devices + introduce screen_dev wrapper
2020-07-30 08:51:56 +02:00
1d6a83c797
Merge pull request #14592 from kaspar030/tests_shell_blacklist_for_line_exceeded_test
...
tests/shell: add blacklist for check_line_exceeded(), add z1
2020-07-29 21:50:43 +02:00
Gunar Schorcht
d4827118d2
Merge pull request #14640 from kaspar030/reduce_periph_gpio_benchmark_iterations
...
tests/periph_gpio: reduce benchmark iterations
2020-07-29 17:54:30 +02:00
Francisco Molina
1a66ce3d23
sys/ps/ps: use same order as tcb for lookup table
2020-07-29 17:13:11 +02:00
Juan Carrano
d167cb3af8
sys/ps: Improve robustness against string table errors.
...
The mapping from thread state codes to a human readable string in the
PS modules has to be maintained manually. There is a very real possibility
for it to get out of sync with the actual defined states, which would cause
a crash when a lookup with an out of bounds index is performed. Also, because
of the way the array is defined, there could be gaps (which will be filled by
nulls).
This patch replaces the array looukup by a function that checks bounds and
also triggers an assertion so that the issue can be caught during development.
2020-07-29 17:12:40 +02:00
Leandro Lanzieri
788ae39e73
Merge pull request #14645 from cgundogan/pr/kconfig/sync-deps
...
kconfig: make sync-deps flag accessible
2020-07-29 16:55:32 +02:00
Cenk Gündoğan
53eb1efe1b
kconfig: make sync-deps flag accessible
2020-07-29 15:33:07 +02:00
712dbe9c95
tests/pkg_lvgl_touch: add lvgl sample with touch capabilities
2020-07-29 14:49:17 +02:00
f7882f4f2a
drivers/stmpe811: return touch_dev position relative to top left corner
2020-07-29 14:49:17 +02:00
4b4e9830b0
drivers/touch_dev: clarify touch position coordinates origin
2020-07-29 14:49:17 +02:00
1f6c51602a
tests/pkg_lvgl: adapt to new lvgl API
2020-07-29 14:49:16 +02:00
4842da272c
pkg/lvgl: add optional touch capability via screen generic API
2020-07-29 14:49:16 +02:00
388bbfa008
drivers: add generic screen wrapper around display and touch devices
2020-07-29 14:30:03 +02:00
23316833f5
tests/touch_dev: adapt test application with new stmpe811 behavior
2020-07-29 14:30:03 +02:00
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