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

34531 Commits

Author SHA1 Message Date
5c478a0c25
boards/microbit-v2: add support for pyocd programmer 2021-02-10 13:39:52 +01:00
c6cae514d4
tests/board_microbit: add microbit-v2 in whitelist 2021-02-10 13:39:52 +01:00
8f16f99936
boards/microbit-v2: adapt microbit mineplex to v2 2021-02-10 13:39:52 +01:00
a4f9435779
examples/default: add microbit-v2 in boards with netif list 2021-02-10 13:39:52 +01:00
41a89a31a9
boards: cpu: nfr52: fix typo in nrf52833 cpu model name 2021-02-10 13:39:51 +01:00
36ca3845c2
cpu/nrf5x_common: fix pin support for nrf52833xxaa model 2021-02-10 13:39:51 +01:00
13ca17ff24
boards: add initial support for microbit v2 2021-02-10 13:39:51 +01:00
MrKevinWeiss
c84c34c005 sys/fmt: Add print_s64_dec to header 2021-02-10 13:32:54 +01:00
Marian Buschsieweke
d7f3e92c30
Merge pull request #15975 from maribu/ztimer-doc
sys/ztimer: clearify doc on clock ops
2021-02-10 12:23:55 +01:00
6d0942a863
Merge pull request #15963 from aabadie/pr/tests/driver_bq2429_bug
tests/driver_bq2429x: fix implicit conversion in helper function
2021-02-10 10:55:07 +01:00
Marian Buschsieweke
f95f3bf99a
tests/periph_ptp_clock: update to new API 2021-02-10 10:13:47 +01:00
Marian Buschsieweke
dbd241ef26
cpu/stm32/periph_ptp: update to new API 2021-02-10 10:09:26 +01:00
Marian Buschsieweke
acd9f4cc1a
drivers/periph_ptp: fix adjustment API
The clock adjustment API only used a 16 bit integer for speed correction. This
is to course grained to allow compensating clock drifts at high accuracy.
Using a 32 bit integer instead would allow to fix for a drift of up to
about 1 nanosecond drift per each 5 seconds.

That ought to be enough for anyone! (*cough* *cough*)
2021-02-10 09:55:52 +01:00
Marian Buschsieweke
4304600512
build system: fix using optional blacklisted features 2021-02-10 09:38:21 +01:00
Marian Buschsieweke
8fb30660b5
makefiles/features_check.inc.mk: fix declaration order
FEATURES_CONFLICTING previously was declared prior to the function it is
calling, resulting in empty output during the first dependency resolution
iteration. This fixes the order so that the conflicting features are detected
right from the first recursion.
2021-02-10 09:29:50 +01:00
Leandro Lanzieri
609c9ada34
Merge pull request #15945 from nmeum/pr/clif_get_attr_bounds
clif: After incrementing pos, make sure it is still in bounds
2021-02-10 08:50:10 +01:00
Martine Lenders
1db480006c
Merge pull request #15939 from namib-project/dhcp-mud-fix
sys/net/dhcpv6: Fixes for MUD URL option
2021-02-10 08:30:06 +01:00
Martine Lenders
4e9980c804
Merge pull request #15838 from fjmolinas/pr_openwsn_sock_udp_fix
pkg/openwsn/sock: fix sock_udp_close handling
2021-02-10 08:28:43 +01:00
Francisco
92bc4c1b0b
Merge pull request #15974 from maribu/bugfix-features-required-any
build system: fix feature resolution
2021-02-10 00:01:29 +01:00
Benjamin Valentin
1298518be9 boards/[cc13x0, cc26x0]: move programmer config to common folder 2021-02-09 23:48:53 +01:00
Benjamin Valentin
9f0ee88d51 boards/common/cc26x2_cc13x2: rename to cc26xx_cc13xx 2021-02-09 23:37:26 +01:00
benpicco
a69da13d56
Merge pull request #15948 from jeandudey/2021_02_08-cc1350-launchpad
boards: add cc1350 launchpad
2021-02-09 23:34:58 +01:00
Jean Pierre Dudey
2bca4d3ac3 boards: add cc1350-launchpad
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-09 23:04:24 +01:00
Jean Pierre Dudey
b289c698b8 cpu/cc26xx_cc13xx: define GPIO_PIN macro
This allows using the macro inside the periph_conf.h board files since the
periph/gpio.h header can't be included on the peripheral configuration.

Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-09 23:04:24 +01:00
Marian Buschsieweke
e241b43d3f
sys/ztimer: clearify doc on clock ops 2021-02-09 22:34:04 +01:00
807b154fc4
Merge pull request #15956 from fjmolinas/pr_riotboot_uncrustify
sys/riotboot: uncrustify
2021-02-09 22:14:50 +01:00
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