chrysn
d73ef09d5c
Merge pull request #20123 from chrysn-pull-requests/roadmap-802154
...
doc: Extend and take responsibility for 802.15.4 security roadmap
2023-11-30 15:24:17 +00:00
chrysn
0c4f60c0e7
Merge pull request #20122 from chrysn-pull-requests/move-roadmap-from-wiki
...
doc: Move roadmap in from the wiki
2023-11-30 15:15:22 +00:00
chrysn
5542ecd9a7
doc: Extend and take responsibility for 802.15.4 security roadmap
2023-11-30 13:42:57 +01:00
Marian Buschsieweke
0887218224
Merge pull request #20118 from maribu/tests/periph/spi
...
tests/periph/spi: allow use on more boards
2023-11-30 11:11:54 +00:00
chrysn
7b01d41eca
doc: Whitespace cleanup
2023-11-30 11:43:20 +01:00
chrysn
b5b7826b0c
doc: Adjust markdown styles from GitHub to doxygen
2023-11-30 11:41:58 +01:00
chrysn
07a26742a4
doc: roadmap now done through pull requests
2023-11-30 11:40:13 +01:00
Martine Lenders
2c2bade7b1
Merge pull request #19969 from mguetschow/hashes-sha512
...
sys/hashes: add SHA-512 support
2023-11-30 10:39:19 +00:00
chrysn
437fb43f12
doc: Move roadmap in from the wiki
...
This copies the version of 2020-05-29, with only the header line added.
2023-11-30 11:22:29 +01:00
Marian Buschsieweke
b90f985d47
tests/periph/spi: allow use on more boards
...
- Disable the benchmark on low memory boards
- Reduce the help message length on low memory boards
- Update to new shell command interface using XFA
2023-11-30 11:10:04 +01:00
benpicco
f22405e7a5
Merge pull request #20120 from krzysztof-cabaj/nucleo-wb55-PWM2
...
boards/p-nucleo-wb55: add PWM configuration
2023-11-30 09:48:29 +00:00
krzysztof-cabaj
c0a4b9c3a5
boards/p-nucleo-wb55: doc update concerning PWM
2023-11-29 19:45:37 +01:00
krzysztof-cabaj
4a2ea66e16
boards/p-nucleo-wb55: full PWM config in periph_conf.h
2023-11-29 19:43:06 +01:00
krzysztof-cabaj
2e4018ea57
boards/p-nucleo-wb55: PWM config: Kconfig, Makefile.features, periph_conf.h
2023-11-29 19:43:06 +01:00
Mikolai Gütschow
6935ea21e7
sys/hashes: add SHA-512 support
2023-11-29 19:18:51 +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