1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 09:52:45 +01:00
Commit Graph

37175 Commits

Author SHA1 Message Date
Erik Ekman
d1b87ca3f5 tests/lwip_sock_ip: Use lwip_netif_t 2021-11-16 22:04:44 +01:00
Erik Ekman
9829db9564 test/lwip_sock_udp: Use lwip_netif_t 2021-11-16 22:04:44 +01:00
Erik Ekman
7593bb0e40 pkg/lwip: Update netif_get_name implementation
Correctly refer to the struct netif inside the netif_t

Fix call to netif_get_name from lwIP ifconfig shell command
2021-11-16 22:04:44 +01:00
Erik Ekman
efeaac51ca pkg/lwip: Add lwip_netif_t struct
Extending netif_t struct from sys/net/netif to support the
stack-independent API.
2021-11-16 22:04:44 +01:00
83c2f2d367
Merge pull request #17155 from maribu/cpu/native
cpu/native: align stack in thread_stack_init()
2021-11-16 20:48:32 +01:00
0c9240125e
Merge pull request #17189 from kaspar030/update_security_guide
SECURITY.md: add gpg key information
2021-11-16 19:17:11 +01:00
eb8513f375
Merge pull request #17173 from kaspar030/native_guard_motor_driver
boards: native: guard motor driver simulation code
2021-11-16 19:15:23 +01:00
Leandro Lanzieri
b0c380a9a9
Merge pull request #17039 from MrKevinWeiss/pr/turodefault
sys/turo: Allow default selection of json
2021-11-16 18:22:55 +01:00
06929c1a9b boards: native: guard motor driver simulation code 2021-11-16 14:08:14 +01:00
chrysn
69dadf61e9
Merge pull request #17152 from maribu/sys/posix/sockets
sys/posix/socket: align struct sockaddr{,_storage}
2021-11-16 13:55:27 +01:00
427ae33acd
Merge pull request #17198 from aabadie/pr/boards/stm32f746disco
boards: add support for stm32f746g-disco
2021-11-16 13:51:45 +01:00
3873046682 SECURITY.md: add gpg key information 2021-11-16 13:36:15 +01:00
76215adef1
Merge pull request #17154 from maribu/cpu/stm32/periph_usb
cpu/stm32/periph/usbdev: fix alignment issues
2021-11-16 11:20:34 +01:00
dba0dab1b1
doccheck: add stm32f746g-disco warning to exclude patterns 2021-11-16 10:51:48 +01:00
c452ab183f
tests: add stm32f746g-disco to boards with netif 2021-11-16 10:51:48 +01:00
9e79afb412
boards: add support for stm32f746g-disco 2021-11-16 10:51:48 +01:00
Martine Lenders
3c402d88a8
Merge pull request #16774 from miri64/lwip/enh/v2.1.3
lwip: bump to v2.1.3
2021-11-16 10:25:50 +01:00
Francisco
6dd0521203
Merge pull request #17196 from maribu/tests/pthread_barrier
tests/pthread_barrier: fix test script
2021-11-16 10:21:06 +01:00
3bf4ef88fe
Merge pull request #17181 from fjmolinas/pr_examples_lorawan_ztimer
examples/lorawan: use ztimer_msec if not rtc
2021-11-16 09:51:59 +01:00
MrKevinWeiss
6f345d5bee
unittests/turo: Fix turo to use check 2021-11-16 08:37:46 +01:00
MrKevinWeiss
56cb210722
tests/turo: Remove OUTPUT_FORMAT and use default 2021-11-16 08:37:45 +01:00
MrKevinWeiss
5a66307314
sys/turo: Allow default selection of json 2021-11-16 08:37:45 +01:00
Francisco
5f119e3b6c
Merge pull request #17200 from bergzand/pr/usbus_cdc_ecm/check_max_frame_len
cdc_ecm: Truncate frames at max ethernet size
2021-11-16 07:54:01 +01:00
chrysn
d7559cc121
Merge pull request #17205 from benpicco/create-Makefile.ci
Makefile.include: rename Makefile.ci target to create-Makefile.ci
2021-11-15 21:59:12 +01:00
Dylan Laduranty
8f4ef1eb75
Merge pull request #17186 from benpicco/cpu/sam0_common/uart-frac
cpu/sam0_common: uart: set oversampling based on baud rate
2021-11-15 21:53:19 +01:00
Benjamin Valentin
3303b8c16a Makefile.include: rename Makefile.ci target to create-Makefile.ci
If we

    -include Makefile.ci

and `Makefile.ci` does not exist, but we provide `make` with a way
on how to do so, it will try to create `Makefile.ci`.

This is not what we want, but I don't know how to disable this automagic.
So rename the target to `create-Makefile.ci` to avoid the conflict.
2021-11-15 20:20:11 +01:00
chrysn
5a1c5ad096
Merge pull request #17202 from Ollrogge/doxygen_fix_pr
periph/flashpage: fix wrong doxygen group
2021-11-15 19:43:32 +01:00
Francisco
72abac66f1
Merge pull request #17183 from fjmolinas/pr_stm32wl_adc
cpu/stm32/wl: initial periph_adc implementation
2021-11-15 19:06:24 +01:00
3871948015
Merge pull request #17126 from bergzand/pr/benchmark/ztimer
sys/benchmark: Convert to ztimer
2021-11-15 18:56:18 +01:00
benpicco
7c8504186e
Merge pull request #16109 from benpicco/dist/tools/create_makefile.ci.sh
tools/insufficient_memory: add create_makefile.ci.sh and Makefile.ci make target
2021-11-15 18:12:01 +01:00
1855b9e9bd
Merge pull request #17199 from aabadie/pr/boards/stm32f769i-disco-cleanup
boards/stm32f769i-disco: fix and cleanup default configuration
2021-11-15 17:58:51 +01:00
Benjamin Valentin
0b3e4cd43f tools/insufficient_memory: add create_makefile.ci.sh 2021-11-15 17:41:54 +01:00
Ollrogge
37403c09eb periph/flashpage: fix wrong doxygen group 2021-11-15 17:25:59 +01:00
Francisco Molina
6346fc8613 boards/lora-e5-dev: map a4, a5 analog inputs 2021-11-15 17:07:21 +01:00
cd489cebd1
cdc_ecm: Truncate frames at max ethernet size
This truncates the incomming frames to ETHERNET_FRAME_LEN and silently
discards the rest of the frame until the end of the frame. This should
be modified to an endpoint halt condition after #17090 is merged, but
for now this should be good enough.

Stalling the endpoint with the current stall implementation could cause
a ping of death scenario, so for now the data is truncated until the
above solution can be implemented.
2021-11-15 16:04:13 +01:00
2f6b7bc651
Merge pull request #17082 from kaspar030/add_doxy_pattern_script
dist/tools/doccheck: add create_pattern.sh
2021-11-15 15:35:59 +01:00
556160b9a3
Merge pull request #17182 from ML-PA-Consulting-GmbH/fix/20211111__sys-suit__deps
sys/suit: adjust dependencies for CoAP transport
2021-11-15 15:27:47 +01:00
600adb8ec6
Merge pull request #17197 from fjmolinas/pr_dwm1001_spi0_pins
boards/dwm1001: fix SPI0 miso/mosi pins
2021-11-15 15:25:41 +01:00
f1feaa2063
tests/periph_gpio: Convert to ztimer 2021-11-15 15:24:38 +01:00
d9c78201cc
boards/stm32f769i-disco: remove wrong DMA configuration 2021-11-15 15:09:04 +01:00
benpicco
70ae34a448
Merge pull request #16979 from ospoco/master
cpu/stm32: Add hardening changes to stm32
2021-11-15 15:09:01 +01:00
527d321533
boards/stm32f769i-disco: fix mistake in Kconfig clock config 2021-11-15 15:08:20 +01:00
8c2f0dd2af
sys/benchmark: Convert to ztimer 2021-11-15 14:14:23 +01:00
Francisco Molina
2b842a9ec5 boards/dwm1001: fix SPI0 miso/mosi pins 2021-11-15 10:53:36 +01:00
Francisco
6dbf1c3013
Merge pull request #17102 from aabadie/pr/drivers/ads101x_ztimer
drivers/ads101x: migrate to ztimer
2021-11-15 09:56:14 +01:00
Francisco Molina
63c51d4add cpu/stm32/wl: initial periph_adc implementation 2021-11-15 09:52:45 +01:00
Marian Buschsieweke
e78a45b319
tests/pthread_barrier: fix test script
Previously the test script relied on the exact sequence of numbers
returned by the used PRNG. This resulting e.g. in

```
$ USEMODULE=prng_musl_lcg make -C tests/pthread_barrier flash test
```

to fail, only because the order in which the children completed is
slightly different due to different sleep durations. This fixes the
issue.
2021-11-15 09:10:03 +01:00
Marian Buschsieweke
5e925e1906
Merge pull request #17192 from maribu/sys/fido2
sys/fido2: fix CBOR parsing
2021-11-13 21:43:57 +01:00
Marian Buschsieweke
8a178f49e7
sys/fido2: fix CBOR parsing
The TinyCBOR library takes a `size_t *` length argument in many
functions which at function call contains the length of a buffer, and
at exit the actual size of the data. The FIDO-2 code however uses
`uint8_t` fields in `struct`s to store the data. Previously, a pointer
to that `uint8_t` filed was just casted to `size_t *`, resulting in
three neighboring bytes also being interpreted as being part of the
buffer size - which could result in undetected buffer overflows.
Similar, upon exit of the function not only the `uint8_t` sized length
`struct` member but also three neighboring bytes were written to.

I didn't care to investigate, but this really looks like crafted CBOR
payloads send to the FIDO2 implementation could result in arbitrary
code execution on the device.
2021-11-13 20:32:02 +01:00
benpicco
7da50b05a9
Merge pull request #17190 from benpicco/drivers/dose-padding
drivers/dose: reduce struct padding
2021-11-12 20:45:24 +01:00