| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-05-01 | dcd_pic32: Fix memory overwrite in incoming data | Jerzy Kasenberg | |
| When transfer was finished rx_fifo_read() read all that was to read RXPKTRDY was cleared allowing next packet to be received. Then xfer_complete was called. Interrupt for OUT endpoint was left enable, that would not be a problem if data was handled fast and new transfer was scheduled. For MSC when host sends a lot of data this interrupt that was enabled could cause epn_handle_rx_int() to be called after transfer was completed and next was not scheduled yet. Without TU_ASSERT that was added to detect this, incoming data was written past buffer provided by user code resulting in random memory corruption. This just blocks RX interrupt when transfer is finished, and also only unmasked rx interrupts are handled. | |||
| 2022-05-01 | dcd_pic32: Add asserts transfer sanity check | Jerzy Kasenberg | |
| TU_ASSERTS added to detect transfer inconsistency. | |||
| 2022-05-01 | Add TU_BREAKPOINT for mips architecture | Jerzy Kasenberg | |
| _mips is provided by xc32-gcc | |||
| 2022-04-20 | add note for tud_task() behavior in freertos example | hathach | |
| 2022-04-20 | add tud_task_ext(), tuh_task_ext() as exteneded version that take timeout ↵ | hathach | |
| and in_isr also allow exit tud_task,tuh_task after processing all events for running other background task for user | |||
| 2022-04-20 | fix freertos issue when 1 tick > 1 ms | hathach | |
| 2022-04-20 | add msec timeout to osal_queue_receive(), tud_task() and tuh_task() both ↵ | hathach | |
| pending for event queue with timeout of 1 ms | |||
| 2022-03-19 | rename usbh_edpt_open() to tuh_edpt_open() | hathach | |
| 2022-03-19 | add parse config descriptor to example | hathach | |
| move usbh_edpt_open() to public API, remove rhport from its signature | |||
| 2022-03-18 | implement tuh_edpt_xfer() for non-control | hathach | |
| 2022-03-18 | move code around | hathach | |
| 2022-03-18 | move daddr into xfer struct | hathach | |
| 2022-03-18 | update sync API, move timeout into xfer struct | hathach | |
| remove tuh_control_xfer_sync() | |||
| 2022-03-18 | minor update for control xfer | hathach | |
| 2022-03-18 | try to fix ci | hathach | |
| 2022-03-17 | rename user_arg to user_data | hathach | |
| 2022-03-17 | add CFG_TUH_API_EDPT_XFER to enable generic edpt xfer | hathach | |
| 2022-03-17 | rename tuh_control_xfer_t to tuh_xfer_t | hathach | |
| 2022-03-17 | add actual_len supported | hathach | |
| 2022-03-17 | slightly change the signature of tuh_control_xfer | hathach | |
| 2022-03-17 | change return type of callback to void | hathach | |
| 2022-03-17 | remove const in xfer callback | hathach | |
| 2022-03-17 | move result into transfer struct | hathach | |
| 2022-03-17 | change tuh_control_xfer_t struct | hathach | |
| 2022-03-16 | update hid host to use new control xfer for set config | hathach | |
| 2022-03-16 | fix -Wnull-dereference warnings | hathach | |
| 2022-03-13 | add synchronous (blocking) support for usbh control transfer | hathach | |
| - add synchronous version of all get descriptor API - update bare example to use sync API for string descriptor - change order of index, language_id in tuh_descriptor_get_string() to match similar API of libusb - add index to tuh_descriptor_get_hid_report() | |||
| 2022-03-12 | minor changes | hathach | |
| 2022-03-12 | misplace fallthrough | hathach | |
| 2022-03-12 | rework usbh enumeration process using user arg from control transfer as state | hathach | |
| 2022-03-11 | update hid,msc to new usbh control API | hathach | |
| 2022-03-11 | rework usbh control xfer | hathach | |
| - change API of tuh_control_xfer and its callback - rename tuh_control_complete_cb_t to tuh_control_xfer_cb_t - add user argument to control callback - migrate usbh and hub | |||
| 2022-03-11 | merge device_info into bare_api example | hathach | |
| 2022-03-11 | remove usbh_control.c | hathach | |
| 2022-03-10 | fix build warning | hathach | |
| 2022-03-10 | fix enumeration issue when plugging hub with multiple devices attached | hathach | |
| 2022-03-10 | refactor and integrate usbh control xfer back to usbh.c | hathach | |
| fix enumeration with hub when reset port before set address | |||
| 2022-03-10 | remove obsolete device state | hathach | |
| 2022-03-10 | refactor host control xfer | hathach | |
| 2022-03-10 | merge control stage host and device value | hathach | |
| 2022-03-10 | more clean up | hathach | |
| 2022-03-09 | minor clean up | hathach | |
| 2022-03-09 | refactor usbd to also use common endpoint claim/release | hathach | |
| 2022-03-09 | implement tu_edpt_release() | hathach | |
| 2022-03-09 | adding tusb_private.h to implement common edpt claim | hathach | |
| 2022-03-09 | add tusb_debug.h remove tusb_error.h | hathach | |
| move debug utils to new header | |||
| 2022-03-09 | update use of mutex for host | hathach | |
| 2022-03-09 | rename host descriptor function | hathach | |
| 2022-03-09 | add tuh_descriptor_hid_report_get() | hathach | |
| 2022-03-08 | Merge pull request #1389 from hathach/fix-1359 | Ha Thach | |
| fix issue 1359 | |||
