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

44592 Commits

Author SHA1 Message Date
Marian Buschsieweke
cf21a4f552
CODEOWNERS: clean up
This drops people who have not contributed to RIOT (including, most
importantly, reviews) for at least a year.

For contributors it is a bit annoying to have a long list of assigned
reviewers, but none of them will ever show up to do the review. This
is especially true for new contributors who don't know which of the
reviewers are active which are ["Karteileichen"][1].

[1]: https://de.wikipedia.org/wiki/Karteileiche
2024-01-02 13:27:18 +01:00
Marian Buschsieweke
20c389870a
Merge pull request #20117 from MrKevinWeiss/pr/venv
.gitignore: Add venv
2023-11-29 11:35:16 +00:00
MrKevinWeiss
680373b6de
.gitignore: Add venv
I try to keep my system nice an clean with venvs... More than once
I added my venv so maybe it would be nice to add this in.
2023-11-29 12:22:13 +01:00
benpicco
6eed92b1b7
Merge pull request #20114 from benpicco/gnrc_netif-error
sys/net/gnrc/netif: print which netif failed to init
2023-11-29 00:14:45 +00:00
Benjamin Valentin
c5b6a49b21 sys/net/gnrc/netif: print which netif failed to init 2023-11-28 23:01:21 +01:00
benpicco
0306600c84
Merge pull request #20115 from krzysztof-cabaj/nucleo-wb55-DOC
boards/p-nucleo-wb55: documentation update
2023-11-28 17:44:12 +00:00
benpicco
db6d918c46
Merge pull request #19965 from benpicco/sock_udp_recv-ealry
sock/udp: work around gnrc_sock_recv() returning early timeout
2023-11-28 12:31:39 +00:00
benpicco
a36817cc2b
Merge pull request #20004 from benpicco/coap_get_code_decimal
nanocoap: rename coap_get_code() -> coap_get_code_decimal()
2023-11-28 12:23:12 +00:00
Benjamin Valentin
e2e5e03439 nanocoap_sock: use coap_get_code_raw() 2023-11-28 13:11:11 +01:00
Benjamin Valentin
b8ec36aef3 tests/unittests: coap_get_code() -> coap_get_code_decimal() 2023-11-28 13:11:11 +01:00
Benjamin Valentin
4bfd87ffa2 nanocoap: rename coap_get_code() -> coap_get_code_decimal() 2023-11-28 13:11:11 +01:00
Marian Buschsieweke
7790f85054
Merge pull request #20044 from bissell-homecare-inc/stm32_adc_cal
cpu/stm32: add ADCAL operation
2023-11-28 08:48:45 +00:00
david-vankampen
b09713e058
Merge branch 'RIOT-OS:master' into stm32_adc_cal 2023-11-27 14:22:39 -05:00
krzysztof-cabaj
e73c18167a boards/p-nucleo-wb55: documentation update 2023-11-27 20:22:20 +01:00
benpicco
ad7bf85712
Merge pull request #20113 from gschorcht/drivers/mtd/fix_xfa
drivers/mtd: fix the order of entries in the MTD pointer XFA `mtd_dev_xfa`
2023-11-27 19:00:04 +00:00
Benjamin Valentin
c4634f51dd examples/gcoap: add saml1x-xpro to Makefile.ci 2023-11-27 18:48:48 +01:00
benpicco
31224b4d2d
Merge pull request #20112 from maribu/drivers/lpsxxx
drivers/lpsxxx: add missing sign extension
2023-11-27 16:14:39 +00:00
Gunar Schorcht
ff79f39fd5 drivers/mtd: fix the order in the MTD pointer XFA
The commit fixes the order of entries in the MTD pointer XFA `mtd_dev_xfa` according to their index by using the index as the priority in the XFA.
2023-11-27 17:14:23 +01:00
benpicco
c93a5b84a3
Merge pull request #20020 from gompper/periph/freqm
drivers/include/periph: add FREQM peripheral driver
2023-11-27 16:06:52 +00:00
Benjamin Valentin
b36e8e9d9d kconfigs/Kconfig.features: define periph_freqm 2023-11-27 16:56:14 +01:00
Marian Buschsieweke
bf6807c85a
drivers/lpsxxx: add missing sign extension
Fixes https://github.com/RIOT-OS/RIOT/issues/20093
2023-11-27 10:17:47 +01:00
Marian Buschsieweke
73bde97e9d
Merge pull request #20102 from maribu/cpu/nrf5x_common/clean_up_uart
cpu/nrf5x: clean up periph_uart
2023-11-26 20:43:29 +00:00
Marian Buschsieweke
a28003f0fa
cpu/nrf5x_common: add whitespace to please linter
Fixes the "comma should be followed by whitespace" warning from
`static-tests`.
2023-11-26 21:33:23 +01:00
Marian Buschsieweke
63faa5f162
cpu/nrf5x: clean up periph_uart
- nRF51: Use `uart_conf_t` for consistency with nRF52
- nRF52832: Use UARTE (UART with EasyDMA) over UART (without DMA), as
  done for all other nRF52 family members
- use `UARTE_PRESENT` to detect whether an UARTE can be used, rather
  than family names
2023-11-26 21:33:23 +01:00
Marian Buschsieweke
0c6d696d10
Merge pull request #20109 from chrysn-pull-requests/fix-externalboarddirs
makefile: Don't $(info) when the output can break info-boards-supported
2023-11-25 20:22:35 +00:00
chrysn
f18208eb64 makefile: Don't $(info) when the output can break info-boards-supported 2023-11-25 20:47:13 +01:00
Marian Buschsieweke
80e46e3a3b
Merge pull request #20106 from maribu/boards/nrf51dk
boards/nrf51dk: add ADC and Arduino features
2023-11-24 10:26:49 +00:00
Marian Buschsieweke
60676bfd5c
Merge pull request #20107 from maribu/cpu/nrf51/periph/i2c.c
cpu/nrf51: fix periph_i2c driver
2023-11-24 10:23:57 +00:00
Marian Buschsieweke
cd897ebb99
Merge pull request #20103 from chrysn-pull-requests/fix-rng-docs
sys/rng doc: Point to auto initialization
2023-11-24 09:09:32 +00:00
Marian Buschsieweke
e407460243
cpu/nrf51: fix periph_i2c driver
The `i2c_read_bytes()` and `i2c_write_bytes()` function return the
number of bytes written / read, instead of `0` as the API contract
says. This fixes the issue.
2023-11-24 10:03:07 +01:00
Marian Buschsieweke
f55af92735
boards/nrf51dk: add arduino features 2023-11-24 09:49:19 +01:00
Marian Buschsieweke
fa0b6824d2
boards/nrf51dk: add periph_adc 2023-11-24 09:49:11 +01:00
Marian Buschsieweke
6ae0b4d5ed
Merge pull request #20084 from maribu/stm32_spi
cpu/stm32/periph_spi: Fix /CS handling
2023-11-24 07:59:39 +00:00
Marian Buschsieweke
f4729c28ec
cpu/stm32/periph_spi: improve prescaler calculation
With only 8 possible prescalers, we can just loop over the values
and shift the clock. In addition to being much easier to read, using
shifts over divisions can be a lot faster on CPUs without hardware
division.

In addition an `assert()` is added that checks if the API contract
regarding the SPI frequency is honored. If the requested clock is too
low to be generated, we should rather have a blown assertion than
hard to trace communication errors.

Finally, the term prescaler is used instead of divider, as divider may
imply that the frequency is divided by the given value n, but
in fact is divided by 2^(n+1).
2023-11-24 08:49:25 +01:00
Marian Buschsieweke
63a2a50b5f
cpu/stm32/periph_spi: Fix /CS handling
Previously, the /CS signal was performed by enabling / disabling the
SPI peripheral. This had the disadvantage that clock polarity settings
where not applied starting with `spi_acquire()`, as assumed by e.g.
the SPI SD card driver, but only just before transmitting data.

Now the SPI peripheral is enabled on `spi_acquire()` and only disabled
when calling `spi_release()`, and the `SPI_CR2_SSOE` bit in the `CR2`
register is used for hardware /CS handling (as supposed to).
2023-11-24 08:49:25 +01:00
Marian Buschsieweke
7057aa674d
cpu/stm32: Provide spi_mode_t
This doesn't change the firmware, since for all STM32 MCUs with an
SPI driver the register setting in the mode did match the SPI mode
number by chance. But for some STM32 MCUs with no SPI driver yet
the register layout is indeed different. This will help to provide an
SPI driver for them as well.
2023-11-24 08:49:24 +01:00
chrysn
e9e1f9cce4 sys/random doc: Point to auto initialization and its caveats 2023-11-23 23:34:56 +01:00
Urs Gompper
bfb3b5fe72 dist/tools/doccheck: add FREQM config to generic_exclude_pattern 2023-11-23 21:00:16 +01:00
Urs Gompper
a2e4fa30fd boards/same54-xpro: overwrite GCLK definitions 2023-11-23 21:00:16 +01:00
Urs Gompper
12acc8dec9 cpu/samd5x: make GCLK definitions overwritable 2023-11-23 21:00:16 +01:00
Urs Gompper
f352609c5e cpu/sam0_common: added peripheral FREQM configuration declaration 2023-11-23 21:00:16 +01:00
Urs Gompper
6849ef9827 boards/same54-xpro: added FREQM peripheral configuration 2023-11-23 21:00:16 +01:00
Urs Gompper
b1e31fbf61 cpu/samd5x: define GCLK pins 2023-11-23 21:00:15 +01:00
Urs Gompper
97bde07e0d drivers/periph_common: add peripheral freqm to Kconfig 2023-11-23 20:53:15 +01:00
Urs Gompper
82f803b7cf boards/same54-xpro: add freqm peripheral to Kconfig 2023-11-23 20:53:15 +01:00
Urs Gompper
c2f7aa66f9 boards/same54-xpro: add periph_freqm to Makefile.features 2023-11-23 20:53:14 +01:00
Urs Gompper
5479c7eb96 cpu/samd5x: add conditional enabling of freqm peripheral 2023-11-23 20:53:14 +01:00
Urs Gompper
4a9ae47499 tests/periph: add test-application for peripheral freqm 2023-11-23 20:53:14 +01:00
Urs Gompper
afcd4801bd drivers/include: add header definition for freqm 2023-11-23 20:37:52 +01:00
Urs Gompper
4c97a27826 cpu/sam0_common: implement freqm peripheral 2023-11-23 20:37:51 +01:00