summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-05-09revert 'end fix'ZakDanger
2025-05-09revert 'end fix'ZakDanger
2025-05-09vendor device open fix for descriptor parsingZakDanger
2025-05-06Merge pull request #3114 from hathach/fix-sigma-mouse-multiple-attachHa Thach
Fix sigma mouse multiple attach
2025-05-06add support for usbtmc vendor-spicific command messagesMoritz Scholjegerdes
2025-05-06clean up cihathach
2025-05-06move hil into build workflowhathach
2025-05-06chore(usbh): change removing_hubs to array instead of bitmaskhathach
2025-05-06usbh: force removed device in the same bus info, before setting address.hathach
usbh: move code around hub: queue status endpoint for detach/remove event
2025-05-04dcd/ci_hs: add vbus charge option.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-29fix pre-commmithathach
2025-04-29Merge pull request #3104 from hathach/usbh-attach-debounceHa Thach
Usbh attach debounce
2025-04-29define hcd_devtree_info_t forr backward compatiblehathach
2025-04-29add enum for set addr recoveryhathach
2025-04-29attach debouncing fixed issue with port1 highspeed on imxrthathach
2025-04-28- spelling fixes to pass ciEli Hughes
- added mca156 the list in boards.rst. - Fixup to family.cmake for mcxa156 to pass ci
2025-04-28Merge branch 'hathach:master' into mcxa156__sdk216ehughes
2025-04-28remove the old attach duplicated logic, debouncing skip should take care of it.hathach
2025-04-28usbh: add roothub debounncing flag to ignore attach/remove event on the ↵hathach
roothub that is currently doing debouncing delay
2025-04-28Merge pull request #3100 from wavenumber-eng/get_deps_fixHa Thach
Fixed broken deps on a fresh clone
2025-04-27Added initial support for FRDM-MCXA156 and fixed up a crash with MCXN947Eli Hughes
I will be porting tinyuf2 to MCXA156 and N947 and need this work in place. This is the 1st step before bringing in support for other MCX devices. We had previous patched https://github.com/hathach/mcux-sdk.git' for MCX support as it was not pulically available I updated get_deps to point to the mcux-sdk version 2.16.10 from NXP. I repointed the entry in the get_deps script to use NXP MCU repo. The existing current code couldn't build as the MCUXpresso SDK was old. - For now, I put a copy of fsl_spc.c in the drivers folder for the mcx family. None of the ports could build with the version in the mcux github sdk. The sdk on github has version 2.4.0. The SDK package that can be downloaded with the SDK generator uses 2.4.2. All of the clock_config routines use versions of the datastructure from 2.4.2. For now, keeping an updated copy in hw/bsp/mcx/drivers so we can build against the latest mcuxpresso sdk and enable MCXA156. I'll file an issue on the nxp github. - Cleaned up the MCX family.c a little bit. the MCXA/N these chips don't have SCT so I removed the neopixel code. - fixed a clock init issue w/ N947 that was causing it to crash when initializing the uart. - I tested the cmake and make scripts on the A153,A156 and N947 using the CDC/MSC sample. All worked OK. - Patched get_deps so it will do a fetch/check on a new folder. Some of the deps were failing on a fresh clone of tinyusb - Fixed lpc51,54 and lpc55 make/cmake files to build with mcuxpresso sdk 2.16.10 The folder structure for flexcomm/uart changed a little bit - lpc55s59 libpower_hardabi.a no longer is included in mcuxpressosdk, (fsl_power.c is replacement). remove of libpower_hardabi.a from the linker config. LPC55 still works as expected. - Using tinyuf2 get deps
2025-04-27using get-deps from tinyuf2Eli Hughes
2025-04-24Merge pull request #3096 from hathach/usbh-improve-hubHa Thach
Usbh improve hub
2025-04-24hub check status before get 1st device descriptorhathach
2025-04-24fix buildhathach
2025-04-24refactor hub driver and move port reset on connection change to usbh.hathach
hub: add hub_port_get_status_local(), ignore resp in hub_port_get_status(pot != 0) usbh properly deboucning with hub/rootport accordingly to usb specs, also add 10ms of reset recovery
2025-04-24Merge pull request #3095 from fenugrec/ex_cmake_CM0Ha Thach
examples cmake: fix gcc flag -mcpu=cortex=m0
2025-04-24add tuh_address_set() APIhathach
minor rename and move code around
2025-04-23examples cmake: fix gcc flag -mcpu=cortex-m0fenugrec
2025-04-23Merge pull request #3093 from hathach/refactor-usbh-bus-infoHa Thach
refactor(usbh) improve the usage of bus info
2025-04-23move usbh ctrl_xfer into usbh_datahathach
2025-04-23rename and expose tuh_bus_info_get() to applicationhathach
2025-04-23rename hcd_devtree_info_t to tuh_bus_info_t, hcd_devtree_get_info to ↵hathach
hcd_bus_info_get streamline bus info to usbh_devies, also replace dev0 (renamed to dev0_bus)
2025-04-23Merge pull request #3080 from HiFiPhile/enum_racingHa Thach
host: fix enumerate racing
2025-04-22Compile fix.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-22include h7rs in host examples.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-22reduce ENUM_DEBOUNCING_DELAY_MS to 200mshathach
replace dev0.enumerating by enumerating_daddr for better clean up on unplugging while enumerating move controller_id & enumerating_daddr into _usbh_data struct
2025-04-22move removing dev0 to process_removing_device()hathach
2025-04-22Also cleanup unaddressed device.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-22Move decouncing delay before USB reset.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-22host: fix enumerate racingHiFiPhile
- if a previous enumeration failed _ctrl_xfer status could stuck, it needs to be cleared before next attempt. - after _dev0.enumerating is reset in hcd_event_handler(), if an attach event arrived before _ctrl_xfer clean up in remove event, a racing condition will happen. Signed-off-by: HiFiPhile <[email protected]>
2025-04-21Merge pull request #3075 from maximevince/dwc2-proper-attach-debouncingHa Thach
dwc2/host: attach debouncing fixes
2025-04-21improve usbh stability with failed setup send, prevent control stage locked outhathach
2025-04-21Merge pull request #3088 from HiFiPhile/intvHa Thach
Fix 1st nak retry one frame shorter.
2025-04-19enable SOF interrupt only if not already enabledHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-19Merge pull request #3077 from HiFiPhile/ping_outHa Thach
2025-04-18Disable channel properly.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-18- correctly do_ping if received nyet as transfer complete e.g msc 31 byte ↵hathach
command - correctly carry out OUT transfer when PING is ack
2025-04-18Merge branch 'dwc2-proper-attach-debouncing' of ↵HiFiPhile
github.com:maximevince/tinyusb into dwc2-proper-attach-debouncing
2025-04-18Fix usbh racing later.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>