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

37333 Commits

Author SHA1 Message Date
7d9a177f25
USBUS: Adapt to xmit API
Converts the control endpoint to xmit API
2021-11-16 20:17:04 +01:00
a6b6f43ce2
sam0_common/usbdev: Adapt to xmit API 2021-11-16 20:17:04 +01:00
c81df904ea
stm32/usbdev: Adapt to xmit API 2021-11-16 20:17:04 +01:00
617027ab5c
nrf52/usb: Adapt to xmit API 2021-11-16 20:17:03 +01:00
f8e7e2f557
usbdev_mock: Adapt to xmit API
Includes the adaptations needed in the test application
2021-11-16 20:16:59 +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
Marian Buschsieweke
d91c9cdc5a
cpu/atmega_common: make cppcheck happy 2021-11-16 16:20:26 +01:00
3b1bdd6b3c
nrf5x_common: Add qdec peripheral implementation 2021-11-16 15:21:51 +01:00
Marian Buschsieweke
fa3d0ad0f1
tests/unittests: fix unaligned access 2021-11-16 14:23:45 +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
597f1d19aa
usbdev: Refactor to xmit API
This API change refactors the usbdev API to supply buffers via the
usbdev_ep_xmit function. This changes from the usbdev_ep_ready call to allow
separate buffers per call. An usbdev_ep_buf_t pseudotype is available and must
be used when defining buffers used for endpoints to adhere to the DMA alignment
restrictions often required with usb peripherals.

Main advantage is that the usbdev peripherals no longer have to allocate
oversized buffers for the endpoint data, potentially saving multiple KiB
of unused buffer space. These allocations are now the responsibility of
the individual USB interfaces in the firmware
2021-11-16 11:21:07 +01:00
59e85cf921
usbdev: Refactor to xmit API
This API change refactors the usbdev API to supply buffers via the
usbdev_ep_xmit function. This changes from the usbdev_ep_ready call to allow
separate buffers per call. An usbdev_ep_buf_t pseudotype is available and must
be used when defining buffers used for endpoints to adhere to the DMA alignment
restrictions often required with usb peripherals.

Main advantage is that the usbdev peripherals no longer have to allocate
oversized buffers for the endpoint data, potentially saving multiple KiB
of unused buffer space. These allocations are now the responsibility of
the individual USB interfaces in the firmware
2021-11-16 11:21:00 +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
4573d5f9dc
usbus_control: check received setup request data amount
This adds a check to the usbus control stack to ensure that the amount
of data received with a setup request does not exceed the amount
indicated within the setup request
2021-11-15 19:38:16 +01:00
2ba022221b
cdc_acm: Abort line coding request on incorrect size
This adds a sanity check to the line coding request of the CDC ACM code
to chcek the length parameter in the setup request with the size of the
expected payload struct
2021-11-15 19:36:03 +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