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

45805 Commits

Author SHA1 Message Date
Marian Buschsieweke
aef5b65244
cpu/msp430/f2xx: clean up periph_uart,periph_spi
This cleans up the USCI based UART and SPI implementations and allows
multiple instances of either interface to be configured by the
boards. In addition, it allows sharing the USCI peripherals to provide
multiple serial interfaces with the same hardware (round-robin).
2024-03-27 18:54:07 +01:00
krzysztof-cabaj
50e03bb2c9 boards/nucleo-c031c6: initial PWM config 2024-03-27 18:09:01 +01:00
Martine Lenders
a2e3ca07cb
Merge pull request #20514 from miri64/gcoap/cleanup/gcoap_req_send_aliasing
gcoap: make gcoap_req_send_tl() an alias of gcoap_req_send()
2024-03-27 17:00:50 +00:00
Marian Buschsieweke
04620d471c
Merge pull request #20438 from MrKevinWeiss/pr/kconfig/dep/removal
Remove Kconfig dependency modelling
2024-03-27 16:39:56 +00:00
Marian Buschsieweke
29374c6550
Merge pull request #20512 from miri64/gnrc_mac/cleanup/deprecate
gnrc_mac / gnrc_lwmac / gnrc_gomach: Deprecate modules
2024-03-27 16:39:30 +00:00
benpicco
1b4f45fe47
Merge pull request #20511 from Remmirad/enable-tree-nav-resizeing
doc: Allow resizing of doxygen side-nav
2024-03-27 16:37:05 +00:00
Marian Buschsieweke
42b68a5a43
Merge pull request #20504 from MrKevinWeiss/pr/feather-nrf52840-sense/generic
driver/lsm6dsxx: Allow generic LSM6DSXX driver
2024-03-27 16:32:47 +00:00
Marian Buschsieweke
e67e2fc8e0
Merge pull request #20517 from maribu/tests/rust_libs
tests/rsut_libs: add missing dependency
2024-03-27 16:25:35 +00:00
Marian Buschsieweke
c140eedace
tests/rsut_libs: add missing dependency
In `main.c:115` the call
`ztimer_sleep(ZTIMER_MSEC, _periodic_ctx.period.ms);` depends on the
module `ztimer_msec`. Apparently, this was previously pulled in
indirectly and the missing dep has gone unnoticed. This adds the
dep explicitly to fix compilation issues that now have surfaced in
the CI.
2024-03-27 17:18:06 +01:00
Karl Fessel
568d60720f sys/auto_init/can: include board periph_conf.h 2024-03-27 14:52:05 +01:00
Marian Buschsieweke
9c50a36177
doc: fix switched rows in board selection guide
The nRF52840DK is an excellent wireless dev board due to the
integrated debugger, the nRF52840-Dongle is missing the debugger and
therefore a suboptimal choice.

The nRF52840-Dongle is cheap and has an excellent form factor that
allows to easily plug it into e.g. an OpenWRT system to quickly provide
a border router. The nRF52840DK is too large and too expensive for that
use case.

It appears that the rows have just been switched by mistake, this
switches them back to be correct.
2024-03-27 14:12:08 +01:00
Martine Lenders
27308585c3
gcoap: make gcoap_req_send_tl() an alias of gcoap_req_send()
As per the deprecation notice from July 2021 ;-).
2024-03-27 12:21:57 +01:00
Marian Buschsieweke
45c473d721
sys/vfs: use atomic_utils rather C11 atomics
This has the following advantages:

- faster and leaner when C11 atomics are not efficient (e.g. on LLVM
  this is almost always the case, as LLVM will only use efficient
  atomics if it doesn't has to bail out to library calls even for
  exotic things)
    - Even for GCC e.g. on the nucleo-f429zi this safes 72 B of .text
      for examples/filesystem despite runtime checks added for
      over- and underflow
- less pain in the ass for C++ and rust users, as both C++ and
  c2rust are incompatible with C11 atomics
- adds test for overflow of the open file counter for more robust
  operation
- adds `assumes()` so that underflows are detected in non-production
  code
2024-03-27 11:26:15 +01:00
Martine Lenders
0e2ab509fb
opendsme: fix markdown formatting of ASCII art in documentation 2024-03-27 11:07:31 +01:00
Martine Lenders
653417d895
gnrc_gomach: deprecate module 2024-03-27 11:07:31 +01:00
Martine Lenders
2deb8882dd
gnrc_lwmac: deprecate module 2024-03-27 11:07:12 +01:00
Martine Lenders
0acb666da6
gnrc_mac: deprecate module 2024-03-27 10:50:23 +01:00
MrKevinWeiss
d265330a26
kconfig.md: Update kconfig doc with removed deps 2024-03-27 10:28:15 +01:00
MrKevinWeiss
1c02ab353f
makefiles/docker.inc.mk: Remove TEST_KCONFIG from env var 2024-03-27 10:28:15 +01:00
MrKevinWeiss
d6dbf1cd86
makefiles/kconfig.mk: Remove TEST_KCONFIG dep modelling 2024-03-27 10:28:14 +01:00
MrKevinWeiss
20fcb1d99d
tests/*: Remove TEST_KCONFIG symbols 2024-03-27 10:28:14 +01:00
MrKevinWeiss
9c9cc379a9
*psa_crypto: Adapt tests/examples with removed Kconfig 2024-03-27 10:28:13 +01:00
MrKevinWeiss
be8a2c84a1
kconfiglib: remove TEST_KCONFIG symbol 2024-03-27 10:28:13 +01:00
MrKevinWeiss
e0fdc3c16c
*Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
Remmirad
084c42c2a9 doc: Allow resizing of side-nav
Currently it is not possible to resize the side-nav of the RIOT doxygen website in firefox.
This is caused by the window resize_handler being called even for resizing inside the window.
The resize_handler resets the side-nav to a cached size preventing resizing. This commit fixes
this by checking if the window was actually resized.
2024-03-27 09:31:05 +01:00
benpicco
d13faeb1cc
Merge pull request #19005 from benpicco/tests/shell-preempt
tests/shell: add test for preemption
2024-03-26 23:56:59 +00:00
benpicco
84bf9215b7
Merge pull request #20508 from Teufelchen1/core/guard_pm
core: Guard pm_set_lowest with module_periph_pm
2024-03-26 23:19:46 +00:00
Benjamin Valentin
16cfaab235 cpu/samd5x: fix C++ build 2024-03-27 00:15:36 +01:00
Benjamin Valentin
ac383b33ae tests/shell: add test for preemption
This tests if a blocking stdio read will allow other threads to be scheduled.
2024-03-27 00:11:53 +01:00
mguetschow
edefdb78ee
Merge pull request #20460 from Einhornhool/pr/psa-use-csprng
sys/psa_crypto: use SHA256 CSPRNG as default
2024-03-26 19:04:27 +00:00
Teufelchen1
e3da305ae2 core: Guard pm_set_lowest with module periph_pm 2024-03-26 19:56:33 +01:00
Marian Buschsieweke
2c93cded6c
Merge pull request #20507 from benpicco/tools/openocd-tigard_fix
tools/openocd: define SWD_EN signal for tigard
2024-03-26 18:19:15 +00:00
benpicco
222a2e1d99
Merge pull request #20478 from mariemC/Mariem/dtls_default_user_params_fix
pkg/tinydtls: enforce the default dtls user params to be configurable
2024-03-26 17:48:08 +00:00
Benjamin Valentin
3c78c3d8ac tools/openocd: define SWD_EN signal for tigard 2024-03-26 18:42:43 +01:00
MrKevinWeiss
b98e5bd55d
dist/tools/doccheck/exclude_simple: Add LSM6 excludes 2024-03-26 18:13:20 +01:00
MrKevinWeiss
9f9da87306
tests/drivers/lsm6dsxx: use generic driver with test 2024-03-26 18:13:20 +01:00
MrKevinWeiss
1fcc34d119
makefiles/tools/usb_board_reset.mk: Add test-with-config to deps 2024-03-26 18:13:20 +01:00
MrKevinWeiss
2ace90a8fc
drivers/lsm6dsxx: Allow non-specific variant 2024-03-26 18:13:19 +01:00
Lena Boeckmann
1924b063ec sys/psa_crypto: use SHA256 CSPRNG as default 2024-03-26 17:05:58 +01:00
Martine Lenders
4059244388
Merge pull request #16502 from francois-berder/remove-code-duplication
sys/net/gnrc: Remove code duplication
2024-03-26 16:01:42 +00:00
Marian Buschsieweke
285b99c87e
Merge pull request #20493 from OlegHahm/pr/doxygen/add_term_config
doc: add terminal program configuration
2024-03-26 15:41:59 +00:00
Karl Fessel
20decc9cfe
Merge pull request #20498 from miri64/doc/enh/vision-graphic
doc: add graphic to vision page
2024-03-26 15:31:38 +00:00
Karl Fessel
7b1ed57513
Merge pull request #20506 from maribu/doc/doxygen-menu/fix-name-of-modules-category
doc/doxygen: fix name and intro of "Modules" section
2024-03-26 15:30:52 +00:00
benpicco
53497750c5
Merge pull request #19709 from benpicco/appendectomy
rdm/radio_hal: remove appendix A
2024-03-26 15:03:36 +00:00
Francois Berder
9056e14e74 gnrc/gomach: Reduce code duplication
The function gomach_vtdma_end is nearly identical to _no_vtdma_after_cp
expect the first few lines. This commit replaces the duplicating code
in gomach_vtdma_end by a call to _no_vtdma_after_cp.

Signed-off-by: Francois Berder <fberder@outlook.fr>
2024-03-26 15:30:56 +01:00
Francois Berder
7523bb08a3 gnrc/lwmac: Reduce code duplication
Both _rx_management_failed and _rx_management_success functions
attempt to sleep after handling the packet reception
failure/success. This commit extracts the sleep attempt in a
new _rx_management_attempt_sleep function.

Signed-off-by: Francois Berder <fberder@outlook.fr>
2024-03-26 15:30:56 +01:00
Firas Hamdi
491a1cdf2b tests/drivers/candev: add test commands 2024-03-26 15:17:48 +01:00
Firas Hamdi
74bf01baa8 drivers/mcp2515: load RX mailbox 2024-03-26 15:17:48 +01:00
Firas Hamdi
01782e8673 dist/tools/doccheck: exclude macro def error 2024-03-26 15:17:48 +01:00
Firas Hamdi
a40735a0e1 sys/include/can: include mailbox feature 2024-03-26 15:17:48 +01:00