Mikolai Gütschow
67edd6c417
sys/usb_cdc_acm_stdio: only submit and flush for non-empty buffer
2024-11-13 20:08:34 +01:00
MrKevinWeiss
e0fdc3c16c
*Kconfig*: Modify Kconfig to remove dep model
2024-03-27 10:28:12 +01:00
Benjamin Valentin
68c8a9a3a2
sys/usb/cdc/acm: port to new interface
2024-02-09 15:24:22 +01:00
3b505a2883
pkg/tinyusb: sys: fix stdio buffered inclusion in Kconfig
2023-06-17 15:12:31 +02:00
MrKevinWeiss
d419898d6a
sys/usb: Rework usb kconfig model
2023-05-31 12:55:52 +02:00
Gunar Schorcht
1fa988d135
sys/usbus: handle exceeding of number of endpoints
...
If the number of endpoints is not sufficient for an application, it should not be silently ignored and cause a non-working application. Rather, should cause an assertion as it is a configuration issue.
2023-03-10 07:59:14 +01:00
Benjamin Valentin
59f067171f
core/init: call vfs_bind_stdio() in early_init()
2023-01-08 22:26:13 +01:00
Gunar Schorcht
5f0d9ff3a6
sys/usb/ubsus/cdc/acm: move board reset function
...
The board reset function `usb_board_reset_coding_cb` can be used on any CDC ACM interface. It is not necessary that the highlevel STDIO is used. Therefore, the call of the board reset function `usb_board_reset_coding_cb` has been moved from the USBUS STDIO CDC ACM implementation to USBUS CDC ACM implementation and is thus a feature of the USBUS CDC ACM interface that don't require any other functionality.
2022-12-11 11:17:15 +01:00
Gunar Schorcht
93215df868
sys/usb/usbus: enable USBUS stdio_cdc_acm only if tinyUSB is not used
2022-12-03 12:52:45 +01:00
Gunar Schorcht
af621ec91b
sys/usb/cdc/acm: implementation of stdio_available
2022-01-03 16:14:11 +01:00
Leandro Lanzieri
398df91a99
sys/usb/usbus: model cdc acm stdio in Kconfig
2021-11-26 11:06:47 +01:00
Dylan Laduranty
aa8608eff5
Merge pull request #17064 from bergzand/pr/usbdev/xmit
...
USB: refactor to xmit-based API
2021-11-17 09:07:00 +01:00
1a0bc3d8bc
USBUS/cdc_acm: Adapt to xmit API
2021-11-16 20:17:04 +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
9f510fb1ab
usbus/cdc_acm: resolve vera++ issues
2021-11-04 13:49:35 +01:00
6a509308fe
usbus/cdc_acm: Return stall on line coding not supported
...
The SetLineCoding request is optional to support (CDC PSTN subclass). No
need to claim to support it to the host and actually discard the data if
it is not supported by the implementation.
2021-10-30 11:56:42 +02:00
Antonio Galea
9c9056844e
USB CDC: fix typo in definitions
2021-02-22 14:56:37 +01:00
57e79d6c24
all: add missing sys/types.h includes
2020-11-25 17:52:34 +01:00
Bas Stottelaar
1b35d06a51
sys/*: realign ENABLE_DEBUG
2020-10-23 11:27:48 +02:00
Bas Stottelaar
80d9da90df
sys/*: add missing include of assert.h
2020-10-22 11:13:09 +02:00
Leandro Lanzieri
d25fc243c4
treewide: change prefix for generated Kconfig symbols.
...
This changes the prefixes of the symbols generated from USEMODULE and
USEPKG variables. The changes are as follow:
KCONFIG_MODULE_ => KCONFIG_USEMODULE_
KCONFIG_PKG_ => KCONFIG_USEPKG_
MODULE_ => USEMODULE_
PKG_ => USEPKG_
2020-08-31 09:37:09 +02:00
chrysn
a787875cf8
usb_board_reset: Split headers into public and private
...
The private parts need USB definitions (and are thus preferably used
from USB_H_USER_IS_RIOT_INTERNAL compilation units). Functions like
usb_board_reset_in_bootloader do not depend on USB headers for their
definitions and are fair game throughout the application even for
generic RIOT USB devices.
2020-07-01 13:22:25 +02:00
Kees Bakker
173098db9e
usbus/cdc/acm: correct return expression of stdio_write
...
This resolves issue #14184
2020-06-07 11:53:19 +02:00
Leandro Lanzieri
934bede70e
usbus/cdc/acm: Expose configurations to Kconfig
2020-04-07 14:34:57 +02:00
Leandro Lanzieri
51c4f119a5
usbus/cdc/acm: Move USBUS_CDC_ACM_BULK_EP_SIZE to 'CONFIG_' namespace
2020-04-07 14:34:56 +02:00
Leandro Lanzieri
cd3ac726d9
usbus/cdc/acm: Move USBUS_CDC_ACM_STDIO_BUF_SIZE to 'CONFIG_' namespace
2020-04-07 14:34:52 +02:00
95bf34ee9c
makefiles: sys/cdc-acm-stdio: provide a reset in bootloader hook
2020-03-18 10:43:05 +01:00
chrysn
e65f3f372b
USB VID/PID: Set whitelist define for internals that use usb.h
...
This list is probably incomplete as it was created experimentally.
2020-01-30 15:04:10 +01:00
5fd981b2e2
Merge pull request #12402 from ant9000/pr/usbus_cdc_acm_stdio_fix
...
Fix to avoid lost characters on USBUS CDC ACM STDIO
2020-01-15 19:52:13 +01:00
Antonio Galea
6c04cb1a45
USBUS CDC ACM: disable interrupts when using tsrb
2020-01-15 11:37:38 +01:00
benpicco
341d23dded
Merge pull request #12504 from bergzand/pr/usbus/descr_terminology
...
usbus: Unify terminology to use 'descriptor' everywhere
2019-11-12 11:41:10 +01:00
3db4678384
usbus: Unify terminology to use 'descriptor' everywhere
2019-11-12 10:29:19 +01:00
benpicco
acaaee910e
Merge pull request #12536 from bergzand/pr/usbus/cdcacm_activate_on_dte_present
...
cdcacm: Activate data out endpoint on DTE present signal
2019-10-29 13:03:39 +01:00
1d7032a257
cdcacm: Activate data out endpoint on DTE present signal
2019-10-29 08:45:31 +01:00
d22ddc1e95
usbus: Fix usb, initialization and detected spelling mistakes
...
This commit fixes a number of difficult words in the USB stack and
related test files.
2019-10-23 10:43:52 +02:00
23edf5cc6b
cdcacm: Add the interface assoc descriptor to the length
2019-10-21 20:28:33 +02:00
Antonio Galea
01c3043f6f
USBUS CDC ACM: discard oldest data if unconnected
2019-10-20 18:58:29 +02:00
80f9788324
cdc acm: add interface association descriptor
2019-10-20 15:55:23 +02:00
Antonio Galea
b0b2ba61c1
USBUS CDC ACM STDIO: flush stdio buffer upon write
2019-10-14 10:58:52 +02:00
59743aed13
USBUS cdc acm: Add STDIO wrapper for CDC ACM
2019-09-30 18:40:59 +02:00
852b7c8d0a
usbus: Add cdc acm function
2019-09-30 18:40:59 +02:00