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

34655 Commits

Author SHA1 Message Date
Marian Buschsieweke
f3ec10ac64
Merge pull request #15997 from maribu/serpente-led-pwm
boards/serpente: add SAUL PWM integration
2021-02-13 13:17:00 +01:00
Marian Buschsieweke
50b91f35a0
boards/serpente: add SAUL PWM integration 2021-02-13 12:20:20 +01:00
Francisco
579de7c35e
Merge pull request #15973 from maribu/feature-resolution-test
tests/feature_resolution: add build system unit tests
2021-02-13 09:53:48 +01:00
Sören Tempel
178c9eb745 gnrc_pktbuf: use _free function with gnrc_pktbuf_malloc
Otherwise the local mallocs variable is not decremented correctly (if
TEST_SUITES is defined) and the fuzzing setup (i.e. when MODULE_FUZZING
is defined) does not terminate. This regression was introduced in
3970b667aa.
2021-02-12 18:15:40 +01:00
Hauke Petersen
f3d0be4566 boards/nrf52840dongle: enable DCDC converters 2021-02-12 11:03:46 +01:00
Hauke Petersen
9d7a37a571 cpu/nrf5x: also enable DCDC for REG0 if used 2021-02-12 10:37:43 +01:00
3a9f8d5851
Merge pull request #15988 from aabadie/pr/cpu/fe310_newlib_default
cpu/fe310: set back newlib as default libc
2021-02-12 09:59:48 +01:00
Benjamin Valentin
c1348c80a0 drivers/mtd_spi_nor: fix poll on init
The while condition for polling the chip ID is broken, it will always
poll for the max ammount of retries.

Change the condition from `or` to `and` to fix the logic.

fixes #15894
2021-02-11 22:49:42 +01:00
4dc7f33b2b
cpu/fe310: set newlib as default libc 2021-02-11 21:49:43 +01:00
Martine Lenders
2991466cdd
Merge pull request #15986 from maribu/llvm-target-tripple
build system: support wrong target triples with LLVM
2021-02-11 19:15:31 +01:00
Marian Buschsieweke
efb2adf27a
Merge pull request #15977 from maribu/ptp-api-fix-adjust
drivers/periph_ptp: fix clock adjustment API
2021-02-11 17:28:02 +01:00
Marian Buschsieweke
6dcd3bb8ff
build system: support wrong target triples with LLVM
clang/LLVM is a bit more finicky with what target triples it accepts compared
to GCC. However, the GCC target triple is needed to properly locate the C
libraries. In case a locally installed GCC toolchain uses a technically not
fully correct target triple, it might be impossible to build with LLVM.

The solution here is to allow specifying a TARGET_ARCH_LLVM target triple
(which defaults to TARGET_ARCH), which is passed to clang. For locating the
C lib, still TARGET_ARCH is used.
2021-02-11 17:19:15 +01:00
benpicco
e8cca1e079
Merge pull request #15982 from haukepetersen/add_nrf52_adcvddhdiv5
cpu/nrf52: add VDDHDIV5 as ADC input
2021-02-11 14:55:13 +01:00
Kevin "Tristate Tom" Weiss
3ebe62f1d9
Merge pull request #15979 from MrKevinWeiss/pr/fix/fmt
sys/fmt: Add print_s64_dec to header
2021-02-11 11:11:43 +01:00
Hauke Petersen
63c23598b3 cpu/nrf52: add VDDHDIV5 as ADC input 2021-02-11 10:40:11 +01:00
MrKevinWeiss
f22dede3ce test/periph_ptp_clock: Remove redundant function 2021-02-11 09:30:58 +01:00
Marian Buschsieweke
ed2ae85985
tests/feature_resolution: add build system unit tests
This test "application" contains a set of unit tests for the feature resolution
of RIOT's build system.
2021-02-10 21:05:38 +01:00
MrKevinWeiss
73cd498dba tests/fmt_print: improve test coverage 2021-02-10 13:40:40 +01:00
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
f515036c91 tests/ssp: silence array-bounds warning if present
This warning is triggered on gcc 10 with riscv and makes the build to fail
2021-02-10 09:17:34 +01:00
a51df1fd30 pkg/cn-cbor: ignore return local address warning
This warning is triggered with gcc 10 on riscv and make the build to fail
2021-02-10 09:17:34 +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