Leandro Lanzieri
8cca9bfc28
drivers/wdt: Expose configuration to Kconfig
2020-03-31 13:39:38 +02:00
Leandro Lanzieri
00b71a2708
drivers/wdt: Move WDT_WARNING_PERIOD to 'CONFIG_' namespace
2020-03-31 13:39:37 +02:00
Benjamin Valentin
2867ab8b9b
sys/riotboot: add a warning about the size of riotboot_flashwrite_t
...
On e.g. samd5x FLASHPAGE_SIZE is 8k (4k on kinetis, stm32w, nrf52)
so placing this struct on the stack will almost always cause a stack
overflow.
2020-03-31 13:27:05 +02:00
Gunar Schorcht
1505c105d2
cpu/esp32: allow WiFi modem sleep
...
Due to stability reasons, the SoftAP interface of the WiFi module was always enabled in former versions even if only the station interface was used. Therefore the WiFi modem had to be always active and the SoC could not enter the modem sleep mode. Therefore, the SoftAP interface is only enabled when ESP-NOW is used.
2020-03-31 13:17:23 +02:00
934f68ead8
Merge pull request #13094 from francois-berder/pic32-uart-3
...
UART RX implementation on PIC32 devices
2020-03-31 10:45:43 +02:00
9de2ff72a8
Merge pull request #10867 from kaspar030/uncrustify_core
...
core: uncrustify
2020-03-30 21:23:54 +02:00
8efe5960aa
core: uncrustify
2020-03-30 17:02:08 +02:00
f99bc894de
core: make some formatting uncrustify friendly (or ignore)
2020-03-30 17:00:32 +02:00
4a31068d15
core: disable uncrustify for atomic_*.c
2020-03-30 17:00:32 +02:00
Francisco Molina
8437673237
boards/common/cc2538/include: re-order timer config
2020-03-30 16:09:18 +02:00
Francisco
e738508308
Merge pull request #13195 from HendrikVE/shell-fix-longcmd
...
sys/shell: correctly detect and handle long lines
2020-03-30 13:37:17 +02:00
Hendrik van Essen
e38e3c5db9
tests/driver_pca9685: add atmega32u4 boards to Makefile.ci
...
fixed shell is too big for atmega32u4 based boards
2020-03-30 12:32:57 +02:00
Hendrik van Essen
a9b21ed911
tests/shell: remove redundant parentheses
2020-03-30 12:26:23 +02:00
Hendrik van Essen
68a35f53de
tests/shell: add test case for exceeding lines
...
Co-authored-by: Juan Carrano <j.carrano@fu-berlin.de>
2020-03-30 12:26:23 +02:00
Hendrik van Essen
8a8416a6f6
tests/shell: fix test case for line cancelling
...
The test for the line cancellation (ctrl-c) functionality was unable to
detect error because of the way pexpect matches output.
While working on the long line shell bug, a regression was about to be
introduced because of this. This commit fixes the test by directly reading from
the child process and expects an exact response.
Co-authored-by: Juan Carrano <j.carrano@fu-berlin.de>
2020-03-30 12:26:22 +02:00
Hendrik van Essen
c1e3e613a5
tests/shell: check for shell prompt
...
Co-authored-by: Juan Carrano <j.carrano@fu-berlin.de>
2020-03-30 12:26:22 +02:00
Hendrik van Essen
32d7c9b6b8
tests/shell: check for startup message
...
Co-authored-by: Juan Carrano <j.carrano@fu-berlin.de>
2020-03-30 12:26:21 +02:00
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
Benjamin Valentin
611f4161d6
drivers/at86rf215: fix reset after deep sleep
...
When the radio is in DEEP SLEEP, reading the state register will return 0.
This makes the reset routine abort early even though the device is connected
and still waking up.
Instead, just add a timeout to the polling of the WAKEUP IRQ bit.
In practise it has shown that the loop will be taken two times on 'normal'
reset and four times when the radio was in DEEP SLEEP.
Polling 255 times sure does not hurt.
To reproduce the issue, put both interfaces into SLEEP mode,
then reboot the module:
ifconfig 7 set state sleep
ifconfig 8 set state sleep
reboot
2020-03-29 19:44:40 +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
Benjamin Valentin
3ec0acde8a
tests/driver_w5100: add compile-test for w5100
2020-03-28 19:23:19 +01:00
Benjamin Valentin
732cd51a52
tests/driver_xbee: use common netdev test
2020-03-28 18:02:09 +01:00
Benjamin Valentin
f71226c016
tests/driver_dose: add compile-test for DOSE
2020-03-28 18:02:09 +01:00
Benjamin Valentin
e02dffe5f8
tests/driver_mrf24j40: add compile-test for mrf24j40
2020-03-28 18:02:09 +01:00
Benjamin Valentin
b775475d1b
tests/driver_netdev_common: add compile-test for netif drivers
2020-03-28 18:02:09 +01: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