Hendrik van Essen
393eadcfb9
tests/shell: avoid sending an extra empty line on native
...
Co-authored-by: Juan Carrano <j.carrano@fu-berlin.de>
2020-03-30 12:26:21 +02:00
Hendrik van Essen
c8daf596c9
tests/shell: add test case for shell's buffer size
...
Co-authored-by: Juan Carrano <j.carrano@fu-berlin.de>
2020-03-30 12:26:21 +02:00
Hendrik van Essen
3860355380
sys/shell: rephrase/reformat some comments
2020-03-30 12:26:20 +02:00
Juan Carrano
2810637306
sys/shell: correctly detect and handle long lines
...
The numeric value for EOF is -1. This caused the shell to return
the same code when EOF was encountered and when the line lenght was
exceeded. Additionally, if the line length is exceeded, the correct
behaviour is to consume the remaining characters until the end of
the line, to prevent the following line from containing (potentially
dangerous) garbage.
Co-authored-by: Hendrik van Essen <hendrik.ve@fu-berlin.de>
2020-03-30 12:26:20 +02:00
benpicco
bcdb693bd3
Merge pull request #10957 from kaspar030/add_pkg_libbase58
...
pkg: add pkg libbase58
2020-03-30 11:56:31 +02:00
Martine Lenders
889e8b7cf8
Merge pull request #13752 from gschorcht/sys/shell/fix_gnrc_netif
...
sys/shell: fix ifconfig command for NETOPT_LINK
2020-03-30 09:44:13 +02:00
Gunar Schorcht
8a1cfd99da
sys/shell: fix ifconfig command for NETOPT_LINK
2020-03-30 09:01:21 +02:00
c526b11195
tests: add pkg_libbase58 test
2020-03-29 23:18:34 +02:00
d8751f79d4
pkg: add libbase58
2020-03-29 23:18:34 +02:00
benpicco
7e85081ddc
Merge pull request #13748 from gschorcht/cpu/esp32/fix_wake_up_sources
...
cpu/esp32: fix wake-up sources for sleep modes
2020-03-29 17:38:54 +02:00
benpicco
48eaef7aa1
Merge pull request #13747 from gschorcht/boards/esp32-heltec-lora-v2
...
boards: define the interrupt flank for BTN0 for ESP32 Heltec Lora32 V2
2020-03-29 17:38:47 +02:00
Gunar Schorcht
85b18a1c10
cpu/esp32: fix wake-up sources for sleep modes
...
When entering a sleep mode, all wake-up sources should first be disabled before the wake-up sources required for the sleep mode are then stepwise enabled again. Otherwise, an wake-up configuration of one sleep mode may affect the wake-up within another sleep mode.
2020-03-29 12:55:50 +02:00
Gunar Schorcht
0c4fb6c092
boards/esp32-heltec-lora-v2: define BTN0_INT_FLANK
2020-03-29 11:59:17 +02:00
Ken Bannister
7d624def4e
Merge pull request #13637 from cgundogan/coap_proxy
...
gcoap: allow proxied client requests
2020-03-28 10:30:27 -04:00
Cenk Gündoğan
b1f728189c
net/gcoap: add note on proxy operation
2020-03-28 14:50:51 +01:00
Cenk Gündoğan
7cda842a00
examples/gcoap: add handling of proxied requests
2020-03-28 14:50:51 +01:00
Cenk Gündoğan
50900a1fbe
nanocoap: add convenience function for PROXY_URI
2020-03-28 14:50:51 +01:00
Martine Lenders
1d5485aef3
Merge pull request #13741 from benpicco/sys/net/gnrc/network_layer/ipv6/nib-fix
...
gnrc_ipv6_nib: fix border router with DNS & Context Compression
2020-03-28 00:23:43 +01:00
Benjamin Valentin
a3adaa7ec0
gnrc_ipv6_nib: fix index calculation
...
We must divide the pointer difference (in bytes) by the size of
the individual elements to get the index of the element.
2020-03-28 00:00:16 +01:00
Benjamin Valentin
a835ad3e13
gnrc_ipv6_nib: append ext_opts when adding sixco
2020-03-27 22:52:31 +01:00
Cenk Gündoğan
97c5d2d82d
coap: add Proxy-* options
2020-03-27 22:06:42 +01:00
benpicco
ad81a88bf0
Merge pull request #13676 from gschorcht/cpu/esp/netopt_channel
...
cpu/esp: add NETOPT_CHANNEL for esp_wifi and esp_now
2020-03-27 16:37:41 +01:00
benpicco
8024380f7b
Merge pull request #13700 from miri64/gnrc_sock/enh/recv_buf
...
gnrc_sock: provide implementation for `sock_*_recv_buf()`
2020-03-27 16:34:57 +01:00
Martine Lenders
155dd303c6
Merge pull request #13737 from benpicco/highlander-fix
...
shell/gnrc_icmpv6_echo: fix incorrect use of gnrc_netif_highlander()
2020-03-27 15:48:47 +01:00
Leandro Lanzieri
7735decbf0
Merge pull request #13730 from akshaim/CT_configs
...
drivers/include/sx127x.h: Tagged Compile Time Configuration
2020-03-27 15:15:06 +01:00
Benjamin Valentin
e1ce24abec
shell/gnrc_icmpv6_echo: replace incorrect use of gnrc_netif_highlander()
...
We want to check if there *is* only one interface, not if there *can*
be no more than one interface here.
2020-03-27 15:07:38 +01:00
Akshai M
58516f7e2a
drivers/include/sx127x.h: Tagged Compile Time Configuration
2020-03-27 19:06:10 +05:30
benpicco
4753679bd8
Merge pull request #13735 from miri64/example/enh/sock_dns-comment
...
examples/gnrc_border_router: add sock_dns as a comment
2020-03-27 14:03:56 +01:00
be8e1170bc
Merge pull request #13733 from aabadie/review_stm32_exti
...
cpu/stm32_common: enable EXTI interrupt for rtt [take over]
2020-03-27 13:10:47 +01:00
Martine Lenders
bc20360d34
examples/gnrc_border_router: add sock_dns as a comment
...
Alternative to https://github.com/RIOT-OS/RIOT/pull/13732
2020-03-27 10:59:33 +01:00
42a544bc6a
cpu/stm32l4/wb: ensure LPTIM clock source is correctly reset
2020-03-27 10:57:49 +01:00
Vincent Dupont
08286f7e41
cpu/stm32_common: enable EXTI interrupt for rtt
2020-03-27 10:57:49 +01:00
benpicco
15dc9fe0de
Merge pull request #13731 from benpicco/upstream_no_rtr_adv
...
gnrc_uhcp, gnrc_dhcpv6_client_6lbr: disable Router Advertisements on upstream interface
2020-03-27 10:32:59 +01:00
c86dcd4611
Merge pull request #10075 from dylad/saml21_dfll_support
...
cpu/saml21: add DFLL support
2020-03-27 10:24:59 +01:00
MichelRottleuthner
80ef2418aa
Merge pull request #11660 from JulianHolzwarth/pr/xtimer_mutex_lock_timeout/_mutex_remove_thread_from_waiting_queue
...
core/mutex: use volatile pointer for blocking flag of _mutex_lock
2020-03-27 09:54:52 +01:00
Benjamin Valentin
3f24eaefb9
gnrc_uhcp: disable router advertisements on upstream interface
2020-03-27 00:37:54 +01:00
Benjamin Valentin
fec156899c
gnrc_dhcpv6_client_6lbr: disable router advertisements on upstream interface
...
We don't want to advertise ourselves as a router to the upstream router.
This also leads to the border router ignoring advertisements from the upstream
router.
2020-03-27 00:37:54 +01:00
benpicco
b535c66ba1
Merge pull request #13729 from fjmolinas/pr_tests_usbus
...
test/usbus: disable auto_init_usbus
2020-03-26 22:56:33 +01:00
Gunar Schorcht
42ff700df5
Merge pull request #13728 from maribu/esp32_python3
...
cpu/esp_common: Use python3 instead python
2020-03-26 21:57:14 +01:00
dylad
cecb6d16eb
boards/saml21-based: default CPU clock to 48MHz
2020-03-26 18:03:02 +01:00
dylad
f2afcd171b
cpu/saml21: add DFLL48M support
2020-03-26 18:03:02 +01:00
JulianHolzwarth
dd6e51b1eb
core/mutex.c _mutex_lock uses an int pointer
...
_mutex_lock uses a volatile int pointer for the parameter blocking instead of an int.
2020-03-26 17:26:07 +01:00
Gunar Schorcht
267433b006
Merge pull request #13727 from benpicco/boards/esp32-heltec-lora32-v2_sx1276
...
boards/esp32-heltec-lora32-v2: enable sx1276 by default
2020-03-26 16:11:14 +01:00
Francisco Molina
c2d5f6e8d9
test/usbus: disable auto_init_usbus
2020-03-26 15:56:21 +01:00
José Alamos
18c4cfe2ec
Merge pull request #13725 from miri64/gnrc_netif/doc/out-params
...
gnrc_netif: document new *_create() out parameter as such
2020-03-26 15:21:06 +01:00
Marian Buschsieweke
bcaacc8fa5
cpu/esp_common: Use python3 instead python
2020-03-26 15:10:28 +01:00
Martine Lenders
f39cfc7556
Merge pull request #13253 from nmeum/pr/random_ephemeral_port
...
gnrc_sock_udp: choose random ephemeral port
2020-03-26 15:00:14 +01:00
Gunar Schorcht
f90d230b00
cpu/esp: set NETOPT_CHANNEL for esp_wifi/esp_now
2020-03-26 14:47:41 +01:00
Gunar Schorcht
331313db4f
cpu/esp: NETOPT_CHANNEL for esp_wifi and esp_now
2020-03-26 14:46:15 +01:00
Benjamin Valentin
315d0bebce
boards/esp32-heltec-lora32-v2: enable sx1276 by default
...
Now that #12994 is merged we can enable sx1276 in addition to esp_wifi
by default.
2020-03-26 14:44:41 +01:00