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

45701 Commits

Author SHA1 Message Date
Marian Buschsieweke
03914582ea
Merge pull request #20567 from krzysztof-cabaj/esp8266-DOC
cpu/esp8266: fix doxygen unbalanced grouping
2024-04-16 06:04:10 +00:00
Marian Buschsieweke
30c9204322
Merge pull request #20572 from maribu/cpu/msp430/uart_usci
cpu/msp430/periph_uart: Fix uart_write() for USCI peripheral
2024-04-15 13:52:45 +00:00
Martine Lenders
72817bc85c
Merge pull request #20561 from Teufelchen1/fix/gcoap_dns_typo
net/gcoap: Fix typo, replacing _uri with _proxy
2024-04-15 13:26:56 +00:00
Marian Buschsieweke
f4baa0f2e1
cpu/msp430/periph_uart: Fix uart_write() for USCI peripheral
In TX-only mode the UART was previously release before all bits of the
last byte were shifted out. This adds a busy loop waiting while the
peripheral is still busy, fixing the issue.

Co-authored-by: benpicco <benpicco@googlemail.com>
2024-04-15 14:43:10 +02:00
Marian Buschsieweke
714feaf568
Merge pull request #20575 from maribu/boards/olimex-msp430-h2618/ztimer
boards/olimex-msp430-h2618: fix ztimer config
2024-04-15 11:55:02 +00:00
Teufelchen1
b05ae93e4b net/gcoap: Fix typo, replacing _uri with _proxy 2024-04-15 12:56:27 +02:00
Marian Buschsieweke
53edb4e981
Merge pull request #20571 from maribu/cpu/msp430/timer
cpu/msp430/periph_timer: add a static_assert() for clear mask
2024-04-15 10:21:52 +00:00
Marian Buschsieweke
680c5aa23f
Merge pull request #20574 from maribu/cpu/msp430/timer-query
cpu/msp430/periph_timer: fix timer_query_freqs()
2024-04-15 10:21:43 +00:00
Marian Buschsieweke
3c3c5c281c
Merge pull request #20569 from maribu/tree-wide/IWYU-pragmas
tree wide: add `IWYU pragma: export` where needed
2024-04-14 21:25:14 +00:00
Marian Buschsieweke
43fa3bcfa7
boards/olimex-msp430-h2618: fix ztimer config
The MSP430 timer prescaler can device the 16 MHz clock down to
(16 / 2^x) MHz, with 0 <= x < 4. So no slower than 2 MHz.

With the current ztimer config the clock would run at twice the speed.
2024-04-14 20:26:19 +02:00
Marian Buschsieweke
189bb29f76
tests/periph/timer: also test for idx out of range
Also test that `timer_query_freqs()` for an index out of range
does return 0, as stated by the doc.
2024-04-14 20:22:38 +02:00
Marian Buschsieweke
5adf1f1a28
cpu/msp430/periph_timer: fix timer_query_freqs()
`timer_query_freqs()` should return 0 when index is out of range
according to the doc. This changes the code to live up to the
spec.
2024-04-14 20:20:36 +02:00
Marian Buschsieweke
49d59d166d
cpu/msp430/periph_timer: add a static_assert() for clear mask
The driver assumes that timer A and timer B have the same register
layout regarding all the features exposed by the driver. This is
backed by the MCU family datasheets for the MSP430 x1xx and the
MSP430 G2xx / F2xx MCUs (and likely more families).

The assert() is pretty limited in coverage, but more to document why
a "timer A clear" mask is used but still claiming the driver also
works for timer B. It just looks too much like a bug otherwise.
2024-04-14 16:01:58 +02:00
Marian Buschsieweke
cf6fa4edf0
tree wide: add IWYU pragma: export where needed
We occasionally have some public `foo.h` header that includes a private
`foo_arch.h` header. Users are expected to include the `foo.h` header
and not the `foo_arch.h`. However, clangd will claim that the `#include`
of `foo.h` is unused if only functions / macros/ types / ... from
`foor_arch.h` is used and nothing from `foo.h`.

This adds the `IWYU pragma: export` comment to the include of
`foo_arch.h` in `foo.h`, so that clangd treats functions / macros /
types provided by `foo_arch.h` as if they were instead provided by
`foo.h`, which fixes the false positives.
2024-04-14 14:26:05 +02:00
Karl Fessel
8eb4e6a36e dist/tools/doccheck: do not ignore unbalanced groups 2024-04-11 22:05:13 +02:00
krzysztof-cabaj
2f0a78640f cpu/esp8266: fix issue found by static tests 2024-04-11 19:19:58 +02:00
krzysztof-cabaj
569b4b5294 cpu/esp8266: fix doxygen unbalanced grouping 2024-04-11 19:04:06 +02:00
benpicco
3cdc4379b7
Merge pull request #20565 from emmanuel-ferdman/wip
gcoap: update the example reference
2024-04-11 11:49:56 +00:00
Emmanuel Ferdman
4394c36cee
gcoap: update the example reference 2024-04-11 12:28:07 +03:00
benpicco
e3c02f5601
Merge pull request #19849 from krzysztof-cabaj/LWIP-ifconfig-IPv4-configuration
sys/shell/lwip: add IPv4 configuration to lwip ifconfig command
2024-04-10 16:48:36 +00:00
Teufelchen
8791e67e7d
Merge pull request #19519 from Teufelchen1/feat/gba
boards/cpu: Add GBA boot support to RIOT
2024-04-10 15:19:19 +00:00
MrKevinWeiss
06c4cbbe9c */Makefile.ci: Add gba_cartridge 2024-04-10 17:06:18 +02:00
Teufelchen1
c8d5fe2352 boards/cpu: Add limited GBA boot support to RIOT 2024-04-10 17:06:14 +02:00
benpicco
5a4d55a66a
Merge pull request #20559 from benpicco/suit-ENOBUFS
sys/suit: return error when URL buffer is too small
2024-04-09 16:35:05 +00:00
Dylan Laduranty
3e7bda9584
Merge pull request #20556 from krzysztof-cabaj/nucleo-f767zi-DOC
boards/nucleo-f767zi: doc update
2024-04-09 13:45:47 +00:00
Kevin "Tristate Tom" Weiss
5c4480dcea
Merge pull request #20541 from chrysn-pull-requests/doc-shell-constraint
shell/doc: Point users who run into shell buffer issues to the stdin buffer
2024-04-09 12:34:01 +00:00
Marian Buschsieweke
93b05d5dc4
Merge pull request #20523 from MrKevinWeiss/pr/guard_shell_pm
core|sys: Guard periph_pm calls
2024-04-09 12:04:12 +00:00
benpicco
f5e667746d
Merge pull request #20558 from derMihai/mir/isrpipe_timeout
sys/isrpipe/read_timeout: don't set up timer if data is available
2024-04-09 09:08:04 +00:00
Benjamin Valentin
68c7bfc20d sys/suit: return error when URL buffer is too small 2024-04-09 10:48:09 +02:00
Teufelchen
65959363b3
Merge pull request #20560 from dylad/pr/cpu/nrf9160/fix_gpio_isr
cpu/nrf9160: fix GPIOTE ISR
2024-04-09 06:48:32 +00:00
Dylan Laduranty
f7d0523295 boards/nrf9160dk: enable internal pullup on buttons
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-04-08 20:22:22 +02:00
Dylan Laduranty
d75595751c cpu/nrf9160: fix gpiote0 vector isr
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-04-08 20:13:45 +02:00
Teufelchen
9f3786e336
Merge pull request #20555 from Teufelchen1/fix/nimble
pkg/nimble: Ignore bogus adv. during scan
2024-04-08 15:22:03 +00:00
Mihai Renea
016f074d7e sys/isrpipe/read_timeout: don't set up timer if data is available 2024-04-08 16:42:45 +02:00
Kevin "Tristate Tom" Weiss
e6bd633eaf
Merge pull request #20553 from MrKevinWeiss/pr/feather/neopixle
boards/feather-nrf52840-sense: Add WS281X_PARAM_PIN
2024-04-08 14:01:17 +00:00
Teufelchen
43f010c751
Merge pull request #20551 from derMihai/mir/test_at_all_config
tests/drivers/at_unit: fix unit tests on native
2024-04-08 13:44:55 +00:00
krzysztof-cabaj
f648886d87 boards/nucleo-f767zi: doc update 2024-04-08 14:16:22 +02:00
Teufelchen1
cc88e0d41f pkg/nimble: Ignore bogus adv. during scan 2024-04-08 14:07:13 +02:00
MrKevinWeiss
cc1ac9e0ee
boards/feather-nrf52840-sense: Add WS281X_PARAM_PIN 2024-04-08 11:23:58 +02:00
MrKevinWeiss
b8c4617768
sys/*: expose periph/pm.h
I guess to reduce clutter we can always have the headers exposed since they are always included
even when we are not using them.
2024-04-08 11:20:14 +02:00
benpicco
1fee41059f
Merge pull request #20542 from benpicco/vfs/exfat-bump
vfs: increase _FATFS_FILE_EXFAT
2024-04-08 08:38:30 +00:00
Mihai Renea
627926869f tests/drivers/at_unit: fix unit tests on native 2024-04-08 09:40:52 +02:00
Marian Buschsieweke
8bb8c5be20
Merge pull request #20546 from chrysn-pull-requests/doc-shell-no-security
sys/shell/doc: Shell access is root access
2024-04-06 10:13:31 +00:00
Dylan Laduranty
ad0d0b7a6c
Merge pull request #20548 from dylad/pr/tests/sys/shell/fix_ci_error_llvm
tests/sys/shell: increase the stack size of periodic thread
2024-04-06 10:03:22 +00:00
dylad
1a69d9c4c1 tests/sys/shell: add boards to BOARD_INSUFFICIENT_MEMORY
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2024-04-06 12:00:16 +02:00
dylad
364519d5ce tests/sys/shell: increase the stack size of periodic thread
Otherwise the test seems to be broken with LLVM toolchain

Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2024-04-06 10:14:10 +02:00
Marian Buschsieweke
00c30acf55
Merge pull request #20547 from chrysn-pull-requests/lookup-plausibility
cord_lc: Process truncated reads
2024-04-06 06:20:40 +00:00
chrysn
9820a65846 cord_lc: Process truncated reads
Co-Authored-By: Marian Buschsieweke <maribu@users.noreply.github.com>
2024-04-05 23:45:50 +02:00
chrysn
df6256876c sys/shell/doc: Shell access is root access 2024-04-05 20:25:36 +02:00
chrysn
b0bec0276a shell/doc: Point users who run into shell buffer issues to the stdin buffer 2024-04-05 17:27:50 +02:00