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

39901 Commits

Author SHA1 Message Date
Marian Buschsieweke
6e2f726f5e
dist/tools/compile_commands: fix clangd linting
This fixes bogus clangd linting errors for C11 stdatomic.h due to
incorrect order of header search paths and missing -nostdinc
2022-05-05 20:36:43 +02:00
Karl Fessel
9d798d6113 unittest/sock_util: add test for missing addr variants 2022-05-05 16:53:11 +02:00
Marian Buschsieweke
7b827f405c
Merge pull request #18058 from maribu/pkg/openwsn
pkg/openwsn: fix mismatching function signatures
2022-05-05 15:04:02 +02:00
benpicco
de23ba0d04
Merge pull request #18046 from benpicco/nanocoap-minor
nanocoap: minor fixes
2022-05-05 14:56:47 +02:00
a32b01a0af
Merge pull request #18032 from aabadie/pr/sys/quad_math_remove
sys/quad_math: remove unused module for quad arithmetic
2022-05-05 12:57:25 +02:00
Marian Buschsieweke
9ca01eb398
Merge pull request #18059 from maribu/sys/time_units
sys/include/time_units.h: add more constants
2022-05-05 12:14:22 +02:00
Marian Buschsieweke
08ae9bd771
sys/include/time_units.h: add more constants
Added all sensible conversion factors up to days and ordered them.
2022-05-05 11:31:45 +02:00
Marian Buschsieweke
e38259fd0a
pkg/openwsn: fix mismatching function signatures
This allows OpenWSN again to be compiled with newer versions of GCC,
which in `master` fails with:

```
"make" -C /home/maribu/Repos/software/RIOT/build/pkg/openwsn/drivers/common/crypto -f /home/maribu/Repos/software/RIOT/Makefile.base MODULE=openwsn_crypto
/home/maribu/Repos/software/RIOT/build/pkg/openwsn/drivers/common/crypto/aes128.c:49:30: error: argument 1 of type 'uint8_t[16]' {aka 'unsigned char[16]'} with mismatched bound [-Werror=array-parameter=]
   49 | owerror_t aes128_enc(uint8_t buffer[16], uint8_t key[16]) {
      |                      ~~~~~~~~^~~~~~~~~~
In file included from /home/maribu/Repos/software/RIOT/build/pkg/openwsn/drivers/common/crypto/aes128.c:12:
/home/maribu/Repos/software/RIOT/build/pkg/openwsn/drivers/common/crypto/aes128.h:22:31: note: previously declared as 'uint8_t *' {aka 'unsigned char *'}
   22 | owerror_t aes128_enc(uint8_t *buffer, uint8_t *key);
      |                      ~~~~~~~~~^~~~~~
/home/maribu/Repos/software/RIOT/build/pkg/openwsn/drivers/common/crypto/aes128.c:49:50: error: argument 2 of type 'uint8_t[16]' {aka 'unsigned char[16]'} with mismatched bound [-Werror=array-parameter=]
   49 | owerror_t aes128_enc(uint8_t buffer[16], uint8_t key[16]) {
      |                                          ~~~~~~~~^~~~~~~
In file included from /home/maribu/Repos/software/RIOT/build/pkg/openwsn/drivers/common/crypto/aes128.c:12:
/home/maribu/Repos/software/RIOT/build/pkg/openwsn/drivers/common/crypto/aes128.h:22:48: note: previously declared as 'uint8_t *' {aka 'unsigned char *'}
   22 | owerror_t aes128_enc(uint8_t *buffer, uint8_t *key);
      |                                       ~~~~~~~~~^~~
cc1: all warnings being treated as errors
```
2022-05-05 10:47:39 +02:00
chrysn
1259fb66e6
Merge pull request #18054 from kfessel/p-deprecate-ztimer-now64
ztimer: deprecate ztimer_now64 and ztimer_now_t
2022-05-04 17:42:20 +02:00
Karl Fessel
3680198619 ztimer: deprecate ztimer_now64 and ztimer_now_t 2022-05-04 15:57:57 +02:00
benpicco
b1715feb03
Merge pull request #17959 from benpicco/core-dummy
core: provide dummy implementation of thread and mutex for riotboot
2022-05-04 14:46:50 +02:00
Kevin "Tristate Tom" Weiss
126ed47a94
Merge pull request #18011 from aabadie/pr/pkg/cryptoauthlib_kconfig
pkg/cryptoauthlib: model in kconfig
2022-05-04 10:05:39 +02:00
Kevin "Tristate Tom" Weiss
69960b05e4
Merge pull request #18024 from aabadie/pr/pkg/nanors-kconfig
pkg/nanors: model in kconfig
2022-05-04 09:39:11 +02:00
Marian Buschsieweke
2025b64f99
Merge pull request #18023 from chrysn-pull-requests/efm32-gpio-ll
cpu/efm32: Minimal support for gpio_ll
2022-05-04 01:40:29 +02:00
chrysn
d90e0f1e85 cpu/efm32: Support pull-up/-down resistors 2022-05-03 19:32:08 +02:00
chrysn
e9a577c384 cpu/efm32: Document what is and is not implemented
Collapsing strengths as they'll stay unused for the time being.
2022-05-03 19:32:08 +02:00
chrysn
ed9cfba747 cpu/efm32: Push-pull support for GPIO_LL 2022-05-03 19:32:08 +02:00
chrysn
3264a1d51d cpu/efm32: Minimal support for gpio_ll 2022-05-03 19:32:08 +02:00
e7a1cae885
tests/pkg_nanors: add Kconfig configuration 2022-05-03 16:22:42 +02:00
2b95efeda3
pkg/nanors: model in Kconfig 2022-05-03 16:09:20 +02:00
ae530a9db2
tests/pkg_cryptoauthlib*: add Kconfig configuration 2022-05-03 16:06:22 +02:00
b78c8f695f
pkg/cryptoauthlib: model in Kconfig 2022-05-03 16:06:22 +02:00
1b16ad1e9a
sys/auto_init: model auto_init_security in Kconfig 2022-05-03 16:06:22 +02:00
Benjamin Valentin
f3c364ca90 pkg/littlefs2: bump version to 2.5.0
see https://github.com/littlefs-project/littlefs/releases/tag/v2.5.0
2022-05-03 14:00:44 +02:00
Marian Buschsieweke
bae91c1660
Merge pull request #17723 from benpicco/periph_timer_periodic-set_stopped
drivers/periph/timer: add TIM_FLAG_SET_STOPPED flag
2022-05-03 12:06:37 +02:00
Kevin "Tristate Tom" Weiss
f4141c676e
Merge pull request #18017 from aabadie/pr/pkg/lua-kconfig
pkg/lua: model in kconfig
2022-05-03 11:46:17 +02:00
Benjamin Valentin
0847c18a18 nanocoap: use size_t for payload_len 2022-05-03 11:32:20 +02:00
Benjamin Valentin
cabb2c912d nanocoap: use void * for payload bytes 2022-05-03 11:32:20 +02:00
chrysn
a4f1ce680b
Merge pull request #18048 from chrysn-pull-requests/riot-sys-0.7.7
{examples,tests}/rust: Rust updates
2022-05-03 11:25:42 +02:00
benpicco
8401ee7fb1
Merge pull request #18044 from benpicco/iolist-helper
sys/iolist: add helper functions
2022-05-03 10:12:13 +02:00
chrysn
ec498cd51c {examples,tests}/rust: Rust updates
Updating to riot-sys 0.7.7 enables support for more recent C2Rust
versions, and to riot-wrappers 0.7.22 unblocks [17990].

[17990]: https://github.com/RIOT-OS/RIOT/pull/17990
2022-05-03 09:23:24 +02:00
Benjamin Valentin
76090d98d4 nanocoap: fix doc of coap_blockwise_cb_t return code
see 04a8a36734
2022-05-03 03:54:17 +02:00
Benjamin Valentin
d03c6390c8 nanocoap_sock: release rx buffer on RESET
We must not return without calling sock_udp_recv_buf() again.
2022-05-03 03:53:56 +02:00
Benjamin Valentin
fcd61c922d tests/driver_pcf857x: rename local functions to avoid name collision 2022-05-03 00:58:34 +02:00
Benjamin Valentin
9d1dd98a24 unittests/tests-mtd: prefix local functions
This avoids a conflict with the functions from unistd.h
2022-05-03 00:53:34 +02:00
Benjamin Valentin
e55f0f8831 sys/net/grnc: make use of iolist_to_buffer() 2022-05-02 23:23:52 +02:00
Benjamin Valentin
42e5d0d402 sys/vfs: add vfs_write_iol() 2022-05-02 23:23:52 +02:00
Benjamin Valentin
501ca7e34d sys/iolist: introduce iolist_to_buffer() 2022-05-02 23:23:52 +02:00
benpicco
1b92fb9858
Merge pull request #17350 from benpicco/gnrc_rpl/auto_init_on_prefix
gnrc/ipv6_auto_subnets: init RPL root when adding a prefix
2022-05-02 21:38:21 +02:00
fabian18
5db3ddd642
Merge pull request #17951 from maribu/makefiles/arch/riscv.inc.mk
build system: Fix compilation for RISC-V with newer GCC
2022-05-02 19:23:46 +02:00
Marian Buschsieweke
95b35c6de0
Merge pull request #17982 from maribu/gpio_ll/atmega
cpu/atmega_common: implement periph/gpio_ll{,_irq}
2022-05-02 17:28:30 +02:00
Benjamin Valentin
35588d46bd cpu/sam0_common: adc: Automatically configure extref pin 2022-05-02 16:23:49 +02:00
benpicco
95975988a3
Merge pull request #18019 from ML-PA-Consulting-GmbH/fix/20220427__drivers-mcp2515__set_bitrate
drivers/mcp2515: fix set bittiming
2022-05-02 16:05:51 +02:00
Marian Buschsieweke
04ab5a74f3
cpu/atmega_common: implement periph/gpio_ll{,_irq}
Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
Co-authored-by: Alexandre Abadie <alexandre.abadie@inria.fr>
2022-05-02 14:44:55 +02:00
Daniel Lockau
257ffdb442 drivers/mcp2515: fix set bittiming
- apply hardware dependent parameters to bittiming struct before
  reinitializing the hardware with the new parameter set
2022-05-02 14:04:52 +02:00
Benjamin Valentin
8100203e95 core/thread, mutex: provide dummy implementation for riotboot
This is intended for the bootloader module where we don't enter thread
mode, so mutex must never attempt to switch context.

Instead use a simple busy wait that is enough to make the possible mutex
users (e.g. interrupt based SPI) in bootloader mode work.
2022-05-02 13:18:39 +02:00
benpicco
dd2d8a464a
Merge pull request #18041 from krzysztof-cabaj/stm32f469i-disco-LEDs
boards/stm32f469i-disco: LEDX_ON LEDX_OFF mismatch
2022-05-02 12:16:25 +02:00
benpicco
bb8313a047
Merge pull request #18039 from krzysztof-cabaj/stm32f469i-disco-cpy2remed
boards/stm32f469i-disco: enable cpy2remed programmer
2022-05-02 12:15:48 +02:00
krzysztof-cabaj
3f49e9b17a boards/stm32f469i-disco: LEDX_ON LEDX_OFF mismatch fix 2022-05-02 05:06:00 -04:00
Benjamin Valentin
a881af8b08 gnrc/ipv6_auto_subnets: bail out early if prefix stays the same 2022-05-01 21:37:32 +02:00