summaryrefslogtreecommitdiff
path: root/src/class/usbtmc
AgeCommit message (Collapse)Author
2026-07-05Fix USBTMC status byte notification bufferaineoae86-sys
Queue the USB488 READ_STATUS_BYTE interrupt notification through tud_usbtmc_transmit_notification_data so it uses the class notification endpoint buffer for the asynchronous transfer. Fixes #2928 Generated-by: OpenAI Codex Signed-off-by: aineoae86-sys <[email protected]>
2026-07-05Fix USBTMC notification endpoint claimaineoae86-sys
Use usbd_edpt_claim() before queuing USBTMC notification data so the interrupt endpoint is reserved through the normal endpoint ownership path. Release the claim if the notification payload cannot be copied before the transfer is queued. Fixes #2735 Generated-by: OpenAI Codex Signed-off-by: aineoae86-sys <[email protected]>
2026-07-02license: use SPDX identifiers for src/ headers (#3749)Ha Thach
* license: use SPDX identifiers for src/ headers Replace the full ~20-line MIT license boilerplate on every src/ file with a two-line SPDX tag (SPDX-FileCopyrightText + SPDX-License-Identifier), following the REUSE convention used by CircuitPython and the Linux kernel. Removes ~3500 lines of duplicated boilerplate.
2025-10-31Merge remote-tracking branch 'tinyusb/master' into ↵HiFiPhile
copilot/fix-dcd-edpt-xfer-issue Signed-off-by: HiFiPhile <[email protected]>
2025-10-28fix Identifiers that start with '__' or '_[A-Z]' are reserved.hathach
fix compiling with nuc family
2025-10-22Fix copilot issuesMengsk
Signed-off-by: Mengsk <[email protected]>
2025-10-22Add is_isr parameter to usbd_edpt_xfer and usbd_edpt_xfer_fifocopilot-swe-agent[bot]
- Added bool is_isr parameter to usbd_edpt_xfer() and usbd_edpt_xfer_fifo() wrapper functions - These are called by class drivers to queue USB transfers - Updated all callers to pass false by default (non-ISR context) - Updated audiod_rx_xfer_isr() and audiod_tx_xfer_isr() to pass true (ISR context) - All 21 unit tests pass Co-authored-by: HiFiPhile <[email protected]>
2025-09-18Potential fix for code scanning alert no. 914: Commented-out codeZixun LI
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-09-17Update weak callbacks to new syntaxHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-07-26Update src/class/usbtmc/usbtmc_device.cHa Thach
Co-authored-by: Copilot <[email protected]>
2025-07-11fix last transfer sizeZixun LI
Co-authored-by: Copilot <[email protected]>
2025-07-11typo fixZixun LI
Co-authored-by: Copilot <[email protected]>
2025-06-08Code reformatHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-05-06add support for usbtmc vendor-spicific command messagesMoritz Scholjegerdes
2024-11-27Fix missing protoype warning, change TUD_EPBUF_TYPE_DEF order (#2889)Ha Thach
* change TUD_EPBUF_TYPE_DEF order * add and fix -Wmissing-prototypes warnings for cmake (skip make)
2024-11-22TUD_EPBUF_TYPE_DEF usbtmc_device.c and vendor_device.chathach
2024-04-28Merge pull request #2494 from tommie/usbtmcnotifHiFiPhile
Add notification support for device class USBTMC
2024-04-27Fix CI.HiFiPhile
2024-04-27Buffer int msg to ensure alignment and placement correctness.HiFiPhile
2024-04-27bulk_in: copy buffer to ensure alignment correctness.HiFiPhile
2024-04-22fix print lu format warnings with clanghathach
2024-04-08fix missing if mutex requiredhathach
2024-04-08add class driver deinithathach
2024-03-15[usbtmc] cast to uintptr_t to get rid of const for usbd_edpt_xfer.Tommie Gannert
2024-02-26add notification support for device class USBTMC.Tommie Gannert
The ep_int_in is already used for responding to USB488 READ_STATUS_BYTE requests, but that EP is defined for all of USBTMC. This extends the functionality to let callers send notifications and receive ACKs.
2023-07-24rename CFG_TUSB_MEM_SECTION to CFG_TUD_MEM_SECTION in device stackhathach
CFG_TUD_MEM_SECTION is default to CFG_TUSB_MEM_SECTION
2023-03-22more updatehathach
2023-03-22fix bitorder in usbtmc_response_capabilities_488_thathach
2023-03-18more clean uphathach
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
2023-02-22use tu_static instead of static _fuzz_threadhathach
2023-02-22rename maros from FUZZ to _FUZZ, change TU_STATIC to static _fuzz_threadhathach
2023-01-20fix: Change all static variables to thread when fuzzingNathaniel Brough
2023-01-04More warning fixesMengsk
2023-01-02Fix IAR warning: Warning[Pe381]: extra ";" ignoredMengsk
2022-12-15fix build with usbtmchathach
2022-12-08Added missing typecast to pass build checksscoudreau
2022-12-08usbtmc: correct packet size bugSebastien COUDREAU
Code was only reading the first 64 bytes of a 512 bytes packet.
2022-12-04more typoshathach
2022-12-04Fix typosBastien Nocera
2022-07-09USBTMC: explicit type conversions fixNConrad
2022-06-26USBTMC: Handle busy interrupt in.NConrad
2022-06-24USBTMC: Manually stall and unstall EP when clear(ENDPOINT_HALT) is received.NConrad
2022-06-21Update USBTMC driver to support dynamic packet sizes (based on descriptor).NConrad
2022-06-17correct bulk size for highspeed endpoint in dynamic_configuration and usbtmc ↵hathach
exmaples
2022-02-25rename TUSB_OPT_DEVICE_ENABLED to CFG_TUD_ENABLEDhathach
TUSB_OPT_DEVICE_ENABLED still usable for backward compatible
2022-01-05No exceptions on broadcom. Add parens to ifScott Shawcroft
2021-10-24remove ep descriptor wMaxPacketSize bitfield due to endian issuehathach
2021-10-24indenthathach
2021-10-15fix -Wcast-qualhathach