| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Fix sigma mouse multiple attach
|
|
|
|
|
|
|
|
|
|
usbh: move code around
hub: queue status endpoint for detach/remove event
|
|
Signed-off-by: HiFiPhile <[email protected]>
|
|
|
|
Usbh attach debounce
|
|
|
|
|
|
|
|
- added mca156 the list in boards.rst.
- Fixup to family.cmake for mcxa156 to pass ci
|
|
|
|
|
|
roothub that is currently doing debouncing delay
|
|
Fixed broken deps on a fresh clone
|
|
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
|
|
|
|
Usbh improve hub
|
|
|
|
|
|
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
|
|
examples cmake: fix gcc flag -mcpu=cortex=m0
|
|
minor rename and move code around
|
|
|
|
refactor(usbh) improve the usage of bus info
|
|
|
|
|
|
hcd_bus_info_get
streamline bus info to usbh_devies, also replace dev0 (renamed to dev0_bus)
|
|
host: fix enumerate racing
|
|
Signed-off-by: HiFiPhile <[email protected]>
|
|
Signed-off-by: HiFiPhile <[email protected]>
|
|
replace dev0.enumerating by enumerating_daddr for better clean up on unplugging while enumerating
move controller_id & enumerating_daddr into _usbh_data struct
|
|
|
|
Signed-off-by: HiFiPhile <[email protected]>
|
|
Signed-off-by: HiFiPhile <[email protected]>
|
|
- 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]>
|
|
dwc2/host: attach debouncing fixes
|
|
|
|
Fix 1st nak retry one frame shorter.
|
|
Signed-off-by: HiFiPhile <[email protected]>
|
|
|
|
Signed-off-by: HiFiPhile <[email protected]>
|
|
command
- correctly carry out OUT transfer when PING is ack
|
|
github.com:maximevince/tinyusb into dwc2-proper-attach-debouncing
|
|
Signed-off-by: HiFiPhile <[email protected]>
|