1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/cpu/stm32
bors[bot] 513676f6e0
Merge #17086
17086: usbdev: Add dedicated stall functions r=benpicco a=bergzand

### Contribution description

This PR adds dedicated stall functions for usbdev peripherals. Two
functions are added. The first function (usbdev_ep_stall) to enable and
disable the stall condition on generic endpoints. The second function is
a dedicated function to set the stall condition on endpoint zero in both
directions. This status can only be set and should automatically be
cleared by the usbdev implementation (or hardware) after a new setup
request is received from the host.

### Testing procedure

- examples/usbus_minimal should still enumerate correctly on the host side.
- #17085 can be used to demonstrate the ep0_stall function with the `tests/usbus_cdc_acm_stdio/` test

### Issues/PRs references

None

Co-authored-by: Koen Zandberg <koen@bergzand.net>
Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
2023-03-10 00:12:40 +00:00
..
bootloader
dist treewide/stm32: Make CLOCK_HS* configurable 2022-11-03 11:37:28 +01:00
include cpu/stm32/periph/i2c_1: export PERIPH_I2C_MAX_BYTES_PER_FRAME 2023-02-14 17:39:42 +01:00
kconfigs cpu/stm32/kconfig: rework clock tree 2022-11-03 11:37:33 +01:00
ldscripts cpu/{cortexm_common, stm32}: add support for backup RAM 2022-01-21 15:53:18 +01:00
periph Merge #17086 2023-03-10 00:12:40 +00:00
stmclk treewide/stm32: Make CLOCK_HS* configurable 2022-11-03 11:37:28 +01:00
vectors cpu/stm32: Add Kconfig dependency modeling 2021-07-02 15:11:05 +02:00
cpu_common.c cpu/stm32: add initial support for stm32u5 family 2021-12-23 11:04:41 +01:00
cpu_init.c cpu: call early_init() 2023-01-08 22:26:12 +01:00
doc.txt treewide/stm32: Make CLOCK_HS* configurable 2022-11-03 11:37:28 +01:00
Kconfig cpu/stm32/kconfig: rework clock tree 2022-11-03 11:37:33 +01:00
Makefile
Makefile.cmsis pkg: Move versions to dedicated line 2022-09-26 17:45:54 +02:00
Makefile.default
Makefile.dep cpu/stm32: improvement of USB driver selection 2022-11-03 13:52:01 +01:00
Makefile.features cpu/stm32: Implement periph/gpio_ll{,_irq} except for STM32F1 2022-04-22 14:34:57 +02:00
Makefile.include cpu/stm32: extend RAM with SRAM4 2022-01-02 15:43:37 +01:00
stm32_info.mk cpu/stm32: add initial support for stm32u5 family 2021-12-23 11:04:41 +01:00
stm32_line.mk cpu/stm32: Add STM32_LINE cases for STM32L1xxx6 2022-03-01 17:20:16 +01:00
stm32_mem_lengths.mk cpu/stm32: fix RAM_LEN for F427, F429, F437, F439 models 2022-11-15 22:29:34 +01:00
stm32_riotboot.mk
stm32.config cpu/stm32: Add Kconfig dependency modeling 2021-07-02 15:11:05 +02:00