| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-07-03 | Merge pull request #3748 from mikeysklar/fix-max3421-oscok-hang | Ha Thach | |
| max3421: prevent USB host hang at startup | |||
| 2026-07-02 | license: 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. | |||
| 2026-07-01 | hcd(max3421): improve CHIPRES reset logic and refine oscillator ↵ | hathach | |
| stabilization timing | |||
| 2026-07-01 | max3421: prevent USB host hang at startup | Mikey Sklar | |
| On some boards the MAX3421E doesn't report its oscillator ready after a soft reset (CHIPRES), so hcd_init() waits on USBIRQ_OSCOK forever and the host hangs at startup before any USB device can be used. Bound the wait so it proceeds after a timeout; it is a no-op where OSCOK arrives normally. Needed on the Adafruit Feather ESP32 V2 (classic ESP32) + USB Host FeatherWing, which otherwise hangs on essentially every cold boot. Relates to adafruit/circuitpython#10053. | |||
| 2025-05-21 | add usbh_spin_lock/unlock() use spinlock instead of atomic flag for hcd max3421 | hathach | |
| 2025-04-03 | fix(hcd) hcd_edpt_open() return true if endpoint is already opened. | hathach | |
| 2025-03-25 | add tuh_edpt_close() API, it will abort any pending transfer | hathach | |
| implement hcd_edpt_close() for pio-usb and max3421e, also move max3421e api into its own header. | |||
| 2024-10-14 | change the tusb_rhport_init_t struct, exclude the rhport to make API more ↵ | hathach | |
| consistent | |||
| 2024-10-11 | hcd_init() take init struct | hathach | |
| 2024-08-26 | add sndfifo owner info to skip rewriting data for retrying NAKed | hathach | |
| 2024-08-23 | only check SNDBAV IRQ if there is data to send | Cumhur Onat | |
| 2024-08-23 | fix for out retry attempts with nak response | Cumhur Onat | |
| 2024-05-15 | implement max3421e hcd_edpt_abort_xfer() | hathach | |
| 2024-04-26 | - add esp32 c3, c6 mcu option | hathach | |
| - skip breakpoint for espressif riscv | |||
| 2024-04-25 | adding support for esp32 for use with max3421e host | hathach | |
| 2024-04-08 | add cpuctl and pinctl to tuh_configure() option for max3421 | hathach | |
| 2024-04-04 | fix build with gcc 11 | hathach | |
| 2024-04-04 | fix build with rp2040 + max3421 | hathach | |
| - forward MAX3421_HOST=1 from makefile to cmake - add feather_rp2040_max3421 board to run with ci for rp2040 + max3421 | |||
| 2024-04-02 | check cfg_param pointer | Ha Thach | |
| 2024-04-02 | correct max nak | Ha Thach | |
| 2024-04-02 | max3421 limit max nak | Ha Thach | |
| 2024-04-02 | clean up | hathach | |
| 2024-04-02 | add hcd_configure() to change max NAK dynamically | hathach | |
| 2024-04-02 | refactor: add hxfr per endpoint | hathach | |
| 2024-04-02 | always limit number of NAK per endpoint per usb frame to save cpu usage. ↵ | hathach | |
| Default to 1 NAK per endpoint | |||
| 2024-03-31 | fixed spelling | IngHK | |
| 2024-03-31 | reactivated TU_ASSERT(_hcd_data.hirq & HIRQ_SNDBAV_IRQ,); | IngHK | |
| 2024-03-31 | removed debug code | IngHK | |
| 2024-03-31 | added multiple attemp counting per frame | IngHK | |
| 2024-03-31 | improved code readability | IngHK | |
| 2024-03-31 | improved/fixed trigger 1st retryable EP | IngHK | |
| 2024-03-31 | removed redundant return true; | IngHK | |
| 2024-03-31 | replaced bits xfer_pending, xfer_complete and retry_pending by common 4 bits ↵ | IngHK | |
| state | |||
| 2024-03-31 | renamed define NAK_RETRY_HANDLING to CFG_TUH_MAX3421_MAX_ATTEMPS_PER_FRAME ↵ | IngHK | |
| as official option | |||
| 2024-03-31 | fixed EP0 control handling | IngHK | |
| 2024-03-31 | added further debug log outputs | IngHK | |
| 2024-03-26 | draft MAX3421E NAK retry handling next frame | IngHK | |
| 2024-03-26 | implement hcd_deinit() for max3421 | hathach | |
| 2023-12-26 | allow rp2040 to use max3421e as host controller | hathach | |
| - fix warnings build hcd max3421 with rp2040 - add tinyusb_host_max3421 target for rp2040 cmake, -DMAX3421_HOST=1 will enable this - add max3421 driver implementation for rp2040 family - update tusb_config for host to allow easy enable host selection for rp2040 (default/pio-usb/max3421) | |||
| 2023-11-29 | Merge pull request #2346 from IngHK/LogLineEnds | Ha Thach | |
| made log line end consistent \r\n | |||
| 2023-11-24 | made log line end consistent \r\n | IngHK | |
| 2023-11-20 | add tuh_max3421_reg_read(), tuh_max3421_reg_read() for application usage | hathach | |
| added max3241 for feather m4 and tested | |||
| 2023-11-02 | skip tuh_max3421_spi_cs_api() in hcd_init() | hathach | |
| only call tuh_max3421_spi_cs_api() in SPI start/end transfer since Arduino port use this to call begin/endTransaction() | |||
| 2023-10-27 | update s3 devkitm with max3421 pin following metro s3, check max3421 version ↵ | hathach | |
| to make sure it is valid | |||
| 2023-10-04 | change tuh_max3421_spi_xfer_api() signature | hathach | |
| tested working with sam d21 and d51, not tested with nrf52, seem not working with esp32 | |||
| 2023-09-28 | fix build with new freertos host example | hathach | |
| 2023-09-27 | Merge branch 'master' into add-max3421-esp32 | hathach | |
| 2023-09-27 | change hcd_int_handler(rhport, in_isr) signature: add in_isr | hathach | |
| change tuh_int_handler() to take in_isr as optional parameter (default = true) | |||
| 2023-09-27 | update max3421 to have hcd_int_handler_ext() | hathach | |
| 2023-09-25 | adding host/cdc_msc_hid_freertos example | hathach | |
