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

36221 Commits

Author SHA1 Message Date
Dylan Laduranty
9582ec9b5c kconfig: add Kconfig support for nRF9160 cpu and nRF9160DK board 2021-07-28 20:11:26 +02:00
dylad
f602c17303 boards/nrf9160dk: add initial support 2021-07-28 20:11:26 +02:00
dylad
5b85a5750e cpu/nrf9160: add initial support 2021-07-28 20:11:26 +02:00
benpicco
feac187d54
Merge pull request #16506 from benpicco/drivers/dose-rx_start
drivers/dose: make use of start condition received interrupt
2021-07-28 17:21:29 +02:00
Benjamin Valentin
1cacb11a26 tests/periph_uart: add automated test 2021-07-28 16:19:04 +02:00
Benjamin Valentin
d48f673597 drivers/dose: make use of periph_uart_rx_start feature 2021-07-28 16:19:04 +02:00
Benjamin Valentin
02269ef869 cpu/sam0_common: implement periph_uart_rx_start feature 2021-07-28 16:19:04 +02:00
benpicco
dceb8a7ac8
Merge pull request #16682 from benpicco/rtt_rtc_settimeofday
rtt_rtc: add rtt_rtc_settimeofday() & rtt_rtc_gettimeofday()
2021-07-28 15:02:02 +02:00
benpicco
c023be1299
Merge pull request #16686 from dylad/pr/doc/increase_dot_graph_max_nodes
doc/doxygen: increase dot graph max nodes
2021-07-28 14:11:15 +02:00
Benjamin Valentin
eecc166180 rtt_rtc: fix rtc_now access 2021-07-28 00:35:47 +02:00
Benjamin Valentin
6178325b5b rtt_rtc: fix rtc_get_time_ms() 2021-07-28 00:35:47 +02:00
Benjamin Valentin
a53e8e3138 unittests: rtt_rtc: add test for rtc_get/settimeofday() 2021-07-28 00:35:47 +02:00
Martine Lenders
dd6a98a15c
Merge pull request #16687 from miri64/gcoap/fix/coap_socket_naming
gcoap: fix socket type naming
2021-07-27 23:41:02 +02:00
Martine Lenders
4b7ef70e66
gcoap: fix socket type naming
The `coap_socket_t` and `coap_socket_type_t` types are used by gCoAP
only and the `coap_` prefix is usually used to namespace the `nanocoap`
module's API. This makes it confusing to locate the types in question.

Signed-off-by: Martine Lenders <m.lenders@fu-berlin.de>
2021-07-27 22:37:04 +02:00
Benjamin Valentin
0964a217b5 rtt_rtc: add rtc_settimeofday() & rtc_gettimeofday() 2021-07-27 22:12:25 +02:00
dylad
c488f96971 doc/doxygen: increase DOT_GRAPH_MAX_NODES to 275 2021-07-27 21:20:34 +02:00
benpicco
9645950e08
Merge pull request #16685 from fabian18/cpu_rp2040_fix_gpio_warnings
cpu/rpx0xx: fix minor gpio warnings
2021-07-27 18:28:51 +02:00
Benjamin Valentin
9194440ead drivers/periph/uart: add periph_uart_rx_start feature 2021-07-27 16:29:30 +02:00
Fabian Hüßler
e9a1c61389 cpu/rpx0xx: fix C++ compatibility for gpio 2021-07-27 14:03:05 +02:00
benpicco
666a45729c
Merge pull request #16683 from dylad/pr/cpu/sam0/eth-fix
cpu/sam0: improve ethernet driver resilience
2021-07-27 14:02:31 +02:00
dylad
950c71cc10 cpu/sam0: improve ethernet driver resilience
In case of network heavy traffic on the Ethernet, interrupts
fire faster than the netdev thread can process them and we
run out of buffers. With this commit, we now check if we
don't have buffers available, so we can flush everything and
restart reception properly even if we did drop a few in the
operation
2021-07-27 12:52:07 +02:00
Fabian Hüßler
f7127fa2b7 cpu/rpx0xx: fix unused port warning due to GPIO_PIN macro 2021-07-27 11:26:30 +02:00
Benjamin Valentin
62308d200c gnrc_ipv6_nib: don't stop sending router solicitations on last RA
When the default router was removed or could not be added, `dr` will
be NULL.

In this case, don't cease sending router solicitations - we still don't
have a default router.
2021-07-26 23:56:53 +02:00
Martine Lenders
e3b52ff08d
Merge pull request #16679 from kfessel/p-dhcp-mrd
dhcpv6_client: mrd calculation fixed
2021-07-23 19:02:38 +02:00
Martine Lenders
0f1e0b6798
Merge pull request #16676 from miri64/nanocoap/enh/opt_accept
nanocoap: provide Accept option convenience function
2021-07-23 18:21:22 +02:00
Karl Fessel
238c759899 dhcpv6_client: mrd calculation fixed for renew and rebind
mrd calculation for dhcp-renew was wrong this fixes it
and the logic for dhcp rebind mrd handling
    (try rebind if ther is mrd)
see issue  #16677
2021-07-23 17:54:55 +02:00
Karl Fessel
fe9a6d7d84 gnrc_dhcpv6_client: dhcp-helper-function return valid seconds left
dhcpv6_client_prefix_valid_until returned the valid timestamp
this fixes it according to the documentation given in
/sys/include/net/dhcpv6/client.h
to return seconds left
2021-07-23 17:53:59 +02:00
Martine Lenders
fc1bd005de
Merge pull request #16673 from miri64/netutils/fix/netif_get_by_name
netutils: get interface by name rather than ID
2021-07-23 15:51:15 +02:00
Martine Lenders
bab7def075
Merge pull request #16668 from miri64/dhcpv6_client/enh/refactor-timeouts
dhcpv6_client: refactor to use `event_timeout` for non-sock timeouts
2021-07-23 15:39:04 +02:00
Martine Lenders
3cff67ce13
nanocoap: provide Accept option convenience function 2021-07-23 15:25:41 +02:00
Martine Lenders
81c927f80a
netutils: get interface by name rather than ID
The zone ID part in a host part is the name of the network interface
(which by chance is the string representation of the ID with GNRC), not
the ID.
2021-07-22 17:26:47 +02:00
Benjamin Valentin
12a0d481dc gnrc_ipv6_nib: handle route information option 2021-07-22 15:54:46 +02:00
Benjamin Valentin
5ad58b152a gnrc_ipv6_nib: make use of _nib_onl_nc_get() 2021-07-22 13:37:12 +02:00
Benjamin Valentin
c189ed5d1b gnrc_ipv6_nib: add _nib_onl_nc_get() 2021-07-22 13:37:11 +02:00
Benjamin Valentin
11e9b7c08f gnrc_ipv6_nib: only consider NC in gnrc_ipv6_nib_get_next_hop_l2addr()
Consider the following: A node tries to forward a packet to another
host for which it does not know the route yet. It assumes it to be
on-link and starts a neighbor solicitation, putting the node address
in the destinatio cache.

Later the route is known (via a second hop) but the host is still in
the NIB.

The result is that gnrc_ipv6_nib_get_next_hop_l2addr() ends up in the
"nib: %s is in NC or on-link, start address resolution" case and does
not attempt to resolve the route.

This results in the host remaining unreachable even though now a route
is present.
2021-07-22 13:36:53 +02:00
Benjamin Valentin
ac0b36384f gnrc_ipv6_nib: improve debug output 2021-07-22 13:18:55 +02:00
Martine Lenders
6493241ed4
dhcpv6_client: add ztimer backend support 2021-07-21 16:28:39 +02:00
Martine Lenders
b5d9f78cbd
dhcpv6_client: port timeout mechanism to event_timeout 2021-07-21 16:28:39 +02:00
Martine Lenders
805952c5ce
dhcpv6_client: use event_timeout instead of xtimer 2021-07-21 16:28:37 +02:00
Martine Lenders
ed9a682e49
dhcpv6_client: set timer by unit rather than integer width 2021-07-21 16:27:54 +02:00
Martine Lenders
d1613da617
dhcpv6_client: use milliseconds rather than microseconds as base unit 2021-07-21 16:27:54 +02:00
Martine Lenders
02c0581ab9
timex: introduce MS_PER_CS 2021-07-21 16:27:53 +02:00
Martine Lenders
eb577c933e
dhcpv6_client: move timer setting to their own functions 2021-07-21 16:27:53 +02:00
Martine Lenders
184501b242
Merge pull request #16667 from miri64/event_timeout/bug/check-clock-on-clear
event_timeout: check clock before removing ztimer on clear
2021-07-21 15:37:53 +02:00
Francisco
7d829f1274
Merge pull request #13506 from HendrikVE/pr/autoadv_transition
examples/nimble_*: use nimble_autoadv module
2021-07-21 15:21:01 +02:00
Martine Lenders
bf764fd700
sock_dns: move module to directory named like module 2021-07-21 14:58:04 +02:00
benpicco
775d6095bc
Merge pull request #16660 from fjmolinas/pr_lora_e5_dev
boards/lora-e5-dev: initial support
2021-07-21 14:36:58 +02:00
benpicco
c4bc40f03b
Merge pull request #16658 from miri64/dhcpv6_client/enh/optional-ia_pd
dhcpv6_client: make IA_PD an optional module
2021-07-21 14:36:34 +02:00
benpicco
3e3c6cb6ca
Merge pull request #16666 from miri64/event/bug/doc-typos
event/timeout.h: fix typos in doc
2021-07-21 14:36:17 +02:00
Martine Lenders
399850cb43
tests/event_ztimer: add regression test for crashing clear 2021-07-21 13:32:39 +02:00