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

46310 Commits

Author SHA1 Message Date
947c5a14e5
Merge pull request #20733 from gzordrai/b-l072z-lrwan1-adc-feature
boards/b-l072z-lrwan1: add missing adc feature
2024-06-06 08:41:06 +00:00
gzordrai
c6d7b13a0a boards/b-l072z-lrwan1: add missing adc feature 2024-06-06 01:17:51 +02:00
Marian Buschsieweke
a62f10f7e3
Merge pull request #20731 from chrysn-pull-requests/ws281x-saul-write
drivers/ws281x: Fix SAUL writes
2024-06-05 21:04:51 +00:00
chrysn
ad2a031e6c drivers/ws281x: Return correct number of written elements 2024-06-05 22:41:40 +02:00
chrysn
329f6e4573 drivers/ws281x: Remove unconditional debug output 2024-06-05 22:41:22 +02:00
Marian Buschsieweke
54702a53db
examples/dtls-wolfssl: Sort Makefile.ci 2024-06-05 22:04:43 +02:00
Marian Buschsieweke
21151691d7
cpu/native: Fix C11 atomic sizes for musl
musl and glibc have different types for fast atomic integers. This
selects the correct size depending on the used library.
2024-06-05 22:04:43 +02:00
Marian Buschsieweke
70f5747712
core/native_shed: Fix compilation with musl
On musl, `spu_set_t` is provided by system headers, so only provide
that with glibc.
2024-06-05 21:57:43 +02:00
Marian Buschsieweke
1582fdd571
drivers/at25xxx: s/PAGE_SIZE/AT25_PAGE_SIZE/
On musl, PAGE_SIZE has a different meaning. So add an AT25_ prefix
to avoid a name clash.
2024-06-05 21:56:29 +02:00
Marian Buschsieweke
be387a25bd
sys/posix: Don't shadow <sys/select.h> on native
This fixes compilation issues on musl, where the host POSIX headers
don't mix well with RIOT's POSIX headers.

This adds an conditional `#include_next <sys/select.h>` to RIOT's
`<sys/select.h>` header.
2024-06-05 21:47:56 +02:00
benpicco
c20a9d1276
Merge pull request #20728 from LP-HAW/fix-w5500-link-state
drivers/w5500: fix W5500 link up/down events in interrupt mode
2024-06-05 17:01:31 +00:00
LP-HAW
7efb4d9fb6 sys/hashes: change SHA2 PAD type to const 2024-06-05 18:21:21 +02:00
LP-HAW
8ab2c795e5 drivers/w5500: enable polling in interrupt mode 2024-06-05 16:30:59 +02:00
LP-HAW
134d84401d drivers/w5500: remove Kconfig 2024-06-05 16:30:59 +02:00
Leandro Lanzieri
3d9649183c
pkg/wakaama/objects: add Voltmeter 2024-06-05 16:03:59 +02:00
Leandro Lanzieri
703adb948f
pkg/wakaama/objects: add Temperature Sensor 2024-06-05 16:03:59 +02:00
Leandro Lanzieri
8cc4b481a0
pkg/wakaama/objects: add Illuminance Sensor 2024-06-05 16:03:58 +02:00
Leandro Lanzieri
206b5264c0
pkg/wakaama/objects: add Humidity Sensor 2024-06-05 16:03:58 +02:00
Leandro Lanzieri
1e18b31e9c
pkg/wakaama/objects: add Current Sensor 2024-06-05 16:03:58 +02:00
Leandro Lanzieri
88e1b83b3b
pkg/wakaama/objects: add Barometer 2024-06-05 16:03:57 +02:00
Leandro Lanzieri
572dddcef3
pkg/wakaama/objects: add IPSO sensor base 2024-06-05 16:03:47 +02:00
benpicco
54cd5248c9
Merge pull request #20726 from maribu/core/thread/valgrind-disable
core/thread: "fix" valgrind erros in thread_measure_stack_free()
2024-06-05 13:08:02 +00:00
Marian Buschsieweke
11e273c4db
core/thread: "fix" valgrind erros in thread_measure_stack_free()
The dark magic used used in thread_measure_stack_free() is frowned upon
by valgrind. E.g. valgrind may deduce (by monitoring the stack pointer)
that a specific value was at some point allocated on the stack, but has
gone out of scope. When that value is now read again to estimate stack
usage, it does look a lot like someone passed a pointer to a stack
allocated value, and that pointer is referenced after that value has
gone out of scope.

This is "fixed" by temporarily disabling valgrind error reporting while
iterating over the stack.
2024-06-05 14:31:58 +02:00
chrysn
571754fcd9
Merge pull request #20727 from miri64/gh-actions/enh/bump-check-labels
check-labels.yml: bump to v1.1.2
2024-06-05 08:23:37 +00:00
Martine Lenders
98b5c18ce4
check-labels.yml: bump to v1.1.2 2024-06-05 10:15:11 +02:00
Marian Buschsieweke
ec71eba868
Merge pull request #20723 from benpicco/tests/thread_stack_alignment-usage
measure_stack_free_internal(): don't try to align end of stack
2024-06-04 18:27:54 +00:00
Benjamin Valentin
5b73294dad tests/core/thread_stack_alignment: also test for stack usage 2024-06-04 16:57:05 +02:00
Benjamin Valentin
02fe256a06 core/thread: don't try to align end of stack 2024-06-04 16:57:05 +02:00
Dylan Laduranty
5668de68e0
Merge pull request #20722 from maribu/cpu/native/fix-gcc-14-1
cpu/native: fix compilation with GCC 14.1
2024-06-04 14:30:53 +00:00
Marian Buschsieweke
ff3f055dc7
cpu/native: fix compilation with GCC 14.1
The first argument to `calloc()` is the number of members, the
second the member size. This fixes an instance where the arguments
where switched.
2024-06-04 15:43:53 +02:00
mguetschow
2576649b52
Merge pull request #20700 from maribu/features/netif-cleanup
build system: clean up netif features
2024-06-03 12:40:35 +00:00
benpicco
266a8405e9
Merge pull request #20717 from krzysztof-cabaj/nucleo-f303ze-pinout
boards/nucleo-f303ze: add pinout
2024-06-03 11:59:19 +00:00
Marian Buschsieweke
47f52bd750
build system: provide netif_ethernet implicitly
If there is an Ethernet peripheral (periph_eth feature provided), we
can conclude that an Ethernet network interface can be provided.

Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
2024-06-03 12:25:21 +02:00
mguetschow
f2c18b0b58
Merge pull request #20718 from LP-HAW/fix-sha2prng-init
sys/random: fix SHAxPRNG init_by_array
2024-06-03 09:27:00 +00:00
Marian Buschsieweke
86e0ca351a
Merge pull request #20719 from maribu/esp32/fix-build-gcc13
cpu/esp*: fix compilation with GCC 14.1.0
2024-06-03 09:08:38 +00:00
Marian Buschsieweke
784fb5da14
pkg/esp32_sdk: fix compilation with modern GCC 2024-06-02 18:51:08 +02:00
Marian Buschsieweke
59f37cd8f8
cpu/esp_common: fix compilation with modern newlib/gcc 2024-06-02 18:51:07 +02:00
Dylan Laduranty
a67793d601
Merge pull request #20279 from keestux/add-sara-sff-status
boards/sodaq-sara-sff: add status pin for SARA
2024-06-01 20:47:45 +00:00
Teufelchen
893fab953b
Merge pull request #20713 from dylad/pr/cpu/samd21/avoid_bitfields_reg
cpu/samd21: avoid the use of bitfield
2024-06-01 16:10:12 +00:00
Kees Bakker
08862b2e65 boards/sodaq-sara-sff: add status pin for SARA 2024-06-01 14:04:09 +02:00
LP-HAW
9cf9638fdc sys/random: fix SHAxPRNG init_by_array 2024-05-31 23:29:09 +02:00
Marian Buschsieweke
886c6a2709
Merge pull request #18942 from maribu/cpu/native
cpu/native: fix build with musl
2024-05-31 18:22:21 +00:00
Marian Buschsieweke
e93b5e4b98
core/thread: fix thread_measure_stack_free()
`thread_measure_stack_free()` previously assumed that reading past the
stack is safe. When the stack was indeed part of a thread, the
`thread_t` structure is put after the stack, increasing the odds of
this assumption to hold. However, `thread_measure_stack_free()` could
also be used on the ISR stack, which may be allocated at the end of
SRAM.

A second parameter had to be added to indicate the stack size, so that
reading past the stack can now be prevented.

This also makes valgrind happy on `native`/`native64`.
2024-05-31 19:54:10 +02:00
krzysztof-cabaj
64a6adef84 boards/nucleo-f303ze: add pinout diagram to documentation page 2024-05-31 19:43:41 +02:00
krzysztof-cabaj
7a1b5c8a9b boards/nucleo-f303ze: add pinout file 2024-05-31 19:36:34 +02:00
Marian Buschsieweke
835eaee630
*/Cargo.lock: bump rust-riot-wrappers 2024-05-31 18:26:48 +02:00
Lena Boeckmann
002882a089 pkg/cryptoauthlib: add example config 2024-05-31 16:49:20 +02:00
Lena Boeckmann
1c062d8d6a sys/shell: add atca write config 2024-05-31 16:49:20 +02:00
Marian Buschsieweke
2ef8b21ea2
Merge pull request #20716 from kfessel/f-make-compile-commads
Makefile.include: place compile_commands.json by rule target
2024-05-31 12:08:08 +00:00
Karl Fessel
b58b25516c Makefile.include: place compile_commands.json by rule target 2024-05-31 13:37:43 +02:00