Francisco Molina
3d6d8b1872
pkg/openwsn/sock: drop messages in mbox on close
2021-02-09 21:28:22 +01:00
Marian Buschsieweke
47035fbc2a
build system: fix feature resolution
...
Fix FEATURES_REQUIRED_ANY using more features than needed.
2021-02-09 21:24:03 +01:00
698a09f29d
Merge pull request #15964 from aabadie/pr/tests/driver_hih6130_fix_integer_absolute
...
tests/driver_hih6130: fix 'absolute-value' error
2021-02-09 20:48:14 +01:00
Martine Lenders
7bb706356a
Merge pull request #15962 from miri64/pyterm/fix/space-after-prompt
...
pyterm: read space after prompt into prompt
2021-02-09 20:34:34 +01:00
Jan Romann
9af849387c
tests/gnrc_dhcpv6_client_6lbr: add test-as-root to README
2021-02-09 19:47:47 +01:00
Jan Romann
b382de1693
tests/gnrc_dhcpv6: add test-as-root to README
2021-02-09 19:47:47 +01:00
Jan Romann
6a2aa7ad52
sys/net/dhcpv6: Fix MUD URL option
2021-02-09 19:47:47 +01:00
benpicco
6929577c76
Merge pull request #15845 from benpicco/boards/adafruit-itsybitsy-m4
...
boards: add adafruit-itsybitsy-m4
2021-02-09 19:41:43 +01:00
ed8f14e5fb
makefiles/cc2538-bsl: define FFLAGS as overridable + cleanup
2021-02-09 18:53:16 +01:00
dbd8c7975e
makefiles/jlink: define FLASHER var as overridable
2021-02-09 18:48:00 +01:00
benpicco
b25c63757e
Merge pull request #15884 from benpicco/boards/zigduino
...
boards: add zigduino
2021-02-09 18:40:48 +01:00
Marian Buschsieweke
633dc78fa2
Merge pull request #15957 from maribu/features_required_any_order_fix
...
build system: fix FEATURES_REQUIRED_ANY
2021-02-09 17:34:25 +01:00
Martine Lenders
bd96e4b400
tests/shell: add command with empty output
2021-02-09 17:17:25 +01:00
Martine Lenders
271d1ae3a2
pyterm: read space after prompt into prompt
...
Currently, when the prompt is read in `pyterm` the space after it is
ignored for the prompt and the output command just adds its own prompt.
This leads to the next output always having a leading space, see e.g.
this output from `tests/shell` using `RIOT_TERMINAL=pyterm`:
```
make: Entering directory '/home/mlenders/Repositories/RIOT-OS/RIOT2/tests/shell'
/home/mlenders/Repositories/RIOT-OS/RIOT2/dist/tools/pyterm/pyterm -p "/dev/ttyUSB1" -b "500000"
Twisted not available, please install it if you want to use pyterm's JSON capabilities
2021-02-09 14:47:15,071 # Connect to serial port /dev/ttyUSB1
Welcome to pyterm!
Type '/exit' to exit.
bufsize
2021-02-09 14:47:19,712 # bufsize
2021-02-09 14:47:19,712 # 128
> bufsize
2021-02-09 14:47:21,535 # bufsize
2021-02-09 14:47:21,536 # 128
>
```
While this isn't necessarily a problem in most cases, it becomes a
problem when the prompt is expected and the output of a command is
empty. In that case, the space is added to the empty output, making it
" ", so the prompt output command is never triggered and the prompt is
added to the next command in the log output. To demonstrate I added a
command `empty` to `tests/shell` that just does nothing and deactivated
the command echoing using `CFLAGS=-DCONFIG_SHELL_NO_ECHO=1`:
```
empty
> empty
empty
bufsize
2021-02-09 14:54:33,753 # > > 128
>
```
This fixes that problem by also reading the assumed space (we already
assume the prompt, so I don't see no harm in that) and if it is not a
space to skip the reading of the next char in the next iteration of the
reader loop.
2021-02-09 17:17:25 +01:00
Francisco Molina
ca2e59d6a2
pkg/openwsn/sock: add mutex around linked list access
...
Fix possible race conditions when sock is closed while iterating
through the linked list.
2021-02-09 17:04:25 +01:00
Francisco Molina
75d53b0c46
tests/pkg_openwsn_sock_udp: add test for sock_udp_close
...
Basic sock_udp_close() functionality is tested durin teardown,
but teardown does not test that there are no messages lingering
for the closed sock.
2021-02-09 17:04:24 +01:00
Martine Lenders
40da80085e
pyterm: move char reading and reconnect to their own private functions
2021-02-09 16:51:52 +01:00
Benjamin Valentin
735d22ea1b
pkg/wolfssl: add SAMD51 to name collision hack
...
Fix this properly in the future by not pulling in all vendor files
through cpu_conf.h which gets included by several core headers.
2021-02-09 16:15:34 +01:00
Benjamin Valentin
b130142785
boards: add adafruit-itsybitsy-m4
2021-02-09 16:15:34 +01:00
Benjamin Valentin
73f58bfa04
cpu/samd5x: Kconfig: don't provide periph_eth on CPU level
...
It's up to the board to expose it.
2021-02-09 16:15:33 +01:00
Benjamin Valentin
1d638bf017
boards/samd21-arduino-bootloader: increase preflash delay
...
The USB bootloader can take a while to be ready / Linux takes a while
to set up the interface.
1s is right at the edge, leading to races and often failed flashing.
Bump the delay to 2s for a wider safety margin, with this flashing is
a lot more reliable.
2021-02-09 16:13:23 +01:00
Benjamin Valentin
91e863f616
boards/samd21-arduino-bootloader: add support for samd51
2021-02-09 16:13:07 +01:00
2e3488154c
tests/driver_hih6130: fix 'absolute-value' error
2021-02-09 15:57:48 +01:00
eea04fd81f
tests/driver_bq2429x: fix implicit conversion in helper function
...
The parameter expects a bq2429x_chrg_fault_t but is declared as bq2429x_chrg_stat_t
2021-02-09 15:37:58 +01:00
Benjamin Valentin
ae4d7ee116
Makefile.ci: add zigduino
2021-02-09 15:26:03 +01:00
Benjamin Valentin
5fdbd09187
boards: add zigduino
...
This adds support for the ATmega128RFA1 based Zigduino.
The board is available on the Strasbourg site of the IoT lab for testing.
2021-02-09 15:26:03 +01:00
benpicco
5fba2c8387
Merge pull request #14448 from benpicco/l2-peerstats-rebased
...
net/netstats: L1/L2 per neighbor statistics
2021-02-09 14:54:53 +01:00
benpicco
bd79f573c7
Merge pull request #15935 from benpicco/cpu/native-flashpage
...
cpu/native: add periph/flashpage implementation
2021-02-09 14:54:08 +01:00
Marian Buschsieweke
cf36439b58
Merge pull request #15797 from fjmolinas/pr_cpp11_condition_variable_test
...
tests/cpp11_condition_variable: reduce thread number
2021-02-09 14:49:42 +01:00
Francisco Molina
6a79d94f1a
sys/riotboot: uncrustify
2021-02-09 13:38:31 +01:00
benpicco
27c5978710
Merge pull request #15912 from fjmolinas/pr_riotboot_flashwrite_invalidate_checksum
...
sys/riotboot/flashwrite: when invalidating erase checksum as well
2021-02-09 13:36:19 +01:00
Benjamin Valentin
cc9c58aae3
nrfmin: depend on gnrc_netif instead of gnrc_netdev_default
...
`gnrc_netdev_default` is a pseudomodule, what this driver really wants
is gnrc_netif.
2021-02-09 12:27:58 +01:00
Benjamin Valentin
b7b6beb65c
tests/netstats_neighbor: add compile-test for netstats_neighbor
2021-02-09 12:27:58 +01:00
Benjamin Valentin
75bb317eba
l2util: add l2util_addr_equal()
2021-02-09 12:27:58 +01:00
Benjamin Valentin
37dbbd969b
shell_commands: provide command for neighbor statistics
2021-02-09 12:27:58 +01:00
3b7e852773
net/gnrc/netif: hook up netstats_neighbor
2021-02-09 12:27:58 +01:00
f97267ba68
sys/net: add netstats_neighbor
2021-02-09 12:27:58 +01:00
Francisco Molina
6baadad152
sys/riotboot/flashwrite: when invalidating erase checksum as well
2021-02-09 11:11:47 +01:00
Francisco Molina
85caf7cbc7
drivers/flashpage: add FLASHPAGE_ERASE_STATE definition
2021-02-09 11:11:46 +01:00
Marian Buschsieweke
f41dcc9a8d
build system: fix FEATURES_REQUIRED_ANY
...
Previously, FEATURES_REQUIRED_ANY didn't honor the order of the alternatives
provided, if none of the features were already in used and multiple options
are provided. This fixes this.
2021-02-09 10:45:03 +01:00
Francisco Molina
235e024483
tests/cpp11_condition_variable: reduce thread number
2021-02-09 10:16:01 +01:00
Francisco Molina
eb9d2fb5b4
tests/cpp11_condition_variable: nucleo-f334r8 reduce thread size
2021-02-09 10:16:01 +01:00
benpicco
64779b6f98
Merge pull request #15944 from jeandudey/2021_02_08-cc26x0-cc13x0
...
cpu/cc26x0: rename to cc26x0_cc13x0
2021-02-08 21:10:06 +01:00
Martine Lenders
209b48e385
Merge pull request #15694 from maribu/gnrc_tx_sync
...
sys/net/gnrc/tx_sync: new module
2021-02-08 19:47:43 +01:00
Jean Pierre Dudey
aec0edbcb9
cpu/cc26x0_cc13x0: use SetupTrimDevice only on cc26x0
...
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-08 17:25:42 +01:00
Jean Pierre Dudey
7db791476e
cpu/cc26x0: rename to cc26x0_cc13x0
...
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-08 17:25:42 +01:00
Marian Buschsieweke
bd37457e14
tests/gnrc_tx_sync: add test for gnrc_tx_sync
2021-02-08 16:13:11 +01:00
Marian Buschsieweke
9895b840cd
sys/net: gnrc_tx_sync not implemented for gnrc_sixlowpand_frag_sfr
...
It is currently not possible to use both gnrc_tx_sync and
gnrc_sixlowpand_frag_sfr at the same time - this will be added in a follow
up PR.
2021-02-08 16:13:11 +01:00
317534fe7b
Merge pull request #15942 from bergzand/pr/riscv_common/thread_yield_in_irq
...
riscv_common: make thread_yield_higher IRQ compatible
2021-02-08 14:59:56 +01:00
Sören Tempel
0d141bf93a
clif: Don't access any data if input is empty
...
This is relevant as clif_decode_link may invoke clif_get_attr with
input_len == 0.
2021-02-08 13:42:18 +01:00