summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-05-24Merge pull request #1451 from kasjer/kasjer/pic32-sanity-fixesHa Thach
pic32 sanity fixes
2022-05-10clean uphathach
2022-05-01dcd_pic32: Fix memory overwrite in incoming dataJerzy 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-01dcd_pic32: Add asserts transfer sanity checkJerzy Kasenberg
TU_ASSERTS added to detect transfer inconsistency.
2022-05-01Add TU_BREAKPOINT for mips architectureJerzy Kasenberg
_mips is provided by xc32-gcc
2022-04-29configure hid_to_cdc example to build with rp2040 with pio usb as hosthathach
2022-04-28more clean uphathach
2022-04-27make hcd_event_handler() fastfunc, and force inline other helperhathach
2022-04-27clean uphathach
2022-04-27add TU_ATTR_FAST_FUNC for rp2040 __not_in_flash() sectionhathach
2022-04-26minor clean uphathach
2022-04-26improve pio usb endpoint handlerhathach
2022-04-26follow pio usb changeshathach
2022-04-22more with pio usbhathach
2022-04-22keep up with pio usbhathach
2022-04-21Merge branch 'master' into pio-hosthathach
2022-04-20add note for tud_task() behavior in freertos examplehathach
2022-04-20add 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-20fix freertos issue when 1 tick > 1 mshathach
2022-04-20add msec timeout to osal_queue_receive(), tud_task() and tuh_task() both ↵hathach
pending for event queue with timeout of 1 ms
2022-04-18clean up pio driverhathach
2022-04-16support pio dcd endpiont stallhathach
2022-04-15pio device works wellhathach
2022-04-14catch up with pio libhathach
2022-04-08proof of concpet that device pio-usb work with host pio-usbhathach
2022-04-05add need_pre for pio usb, but not work out wellhathach
2022-04-03correct pio usb speed, and close devicehathach
2022-04-03use pio usb host inithathach
2022-04-03clean up hcd piohathach
2022-04-02extracting hw root porthathach
2022-04-01update to use pio hw endpointhathach
2022-04-01rename pio to pio_usbhathach
2022-04-01hid example work wellhathach
2022-04-01pio usb control work well including stall responsehathach
2022-03-31implement pio_usb_irq_handlerhathach
2022-03-30make use pio_usb_port_reset_start/endhathach
2022-03-20Merge branch 'master' into pio-hosthathach
2022-03-19rename usbh_edpt_open() to tuh_edpt_open()hathach
2022-03-19add parse config descriptor to examplehathach
move usbh_edpt_open() to public API, remove rhport from its signature
2022-03-18implement tuh_edpt_xfer() for non-controlhathach
2022-03-18move code aroundhathach
2022-03-18move daddr into xfer structhathach
2022-03-18update sync API, move timeout into xfer structhathach
remove tuh_control_xfer_sync()
2022-03-18minor update for control xferhathach
2022-03-18try to fix cihathach
2022-03-17rename user_arg to user_datahathach
2022-03-17add CFG_TUH_API_EDPT_XFER to enable generic edpt xferhathach
2022-03-17rename tuh_control_xfer_t to tuh_xfer_thathach
2022-03-17add actual_len supportedhathach
2022-03-17slightly change the signature of tuh_control_xferhathach