Commit Graph

25 Commits

Author SHA1 Message Date
hathach d88ae5cc16 rename ASSERT_STATUS to ASSERT_ERR, merge assertion.h to verify.h 2018-03-29 13:42:55 +07:00
hathach 03a4f02b89 rename ASSERT to TU_ASSERT to avoid name conflict 2018-03-28 14:49:00 +07:00
hathach 5f26c57b28 shorten descriptor type 2018-03-23 12:32:40 +07:00
hathach 34dbb3532c more rename 2018-03-12 22:45:35 +07:00
hathach 26d81c3ea1 rename TUSB_DIR_OUT, TUSB_DIR_IN 2018-03-11 20:20:59 +07:00
hathach fce85875c4 remove tusb_isr(), rename hal_hcd_isr() and hal_dcd_isr() 2018-03-06 17:38:35 +07:00
hathach 5aacc633b4 fix/correct the max_loop (upper bound for EHCI & OHCI) endpoint list. This causes multiple devices hub mounting problems previously 2014-04-29 01:54:28 +07:00
hathach 940d7fb7f6 merge EHCI_MAX_QHD/QTD and OHCI_MAX_QHD/QTD to HCD_MAX_ENDPOINT/XFER and scale with number of enabled classes.
default config to support up to 5 device (hub + 4 others)
2014-04-13 15:39:57 +07:00
hathach 4f1ae1cd1d clean up more warnings 2014-03-14 16:11:38 +07:00
hathach 16df2a2f62 Suppress Keil warnings #66-D: enumeration value is out of "int" range 2014-03-14 15:51:07 +07:00
hathach 958512a5bd clean up more warnings 2014-03-13 18:43:52 +07:00
hathach 13dd843a9f fix IAR alignment OHCI hcca will occupies the whole 256 (instead of just 252 like the specs) 2014-03-12 16:34:05 +07:00
hathach ad72db5aea change IAR TUSB_CFG_ATTR_USBRAM to _Pragma("location=\".ahb_sram1\"") instead of @ .ahb_sram1 so that we can place it before the variable for a cleaner code
change pipe xfer API buffer from void* to uint8_t*
change FIFO_DEF to have a separated buffer to be compatible with IAR\
refractor IAR data alignment pragma
2014-03-10 13:13:13 +07:00
hathach 6f24dd50a0 change lpc17xx cmsis file & ohci to be able to build with IAR 2014-03-04 15:19:50 +07:00
hathach 4b6c6929cb fix the duplicated plug connection status change with lpc17xx by using immediate reset on isr. However Khanh's G5 mouse is not enumerated !!
remove TUSB_CFG_CONFIGURATION_MAX from config file
fix some warning
2014-02-20 16:06:31 +07:00
hathach d020c2f609 remove immediately reset when device plug.
check to make sure device is still plug after initial delay (200ms) before reset
remove blocking waiting when reset in ehci.c
2013-12-19 13:55:22 +07:00
hathach cfcef0558a fix plug & unplug issue by reseting port immediately instead of waiting for usbh enumeration task to do so 2013-12-19 12:43:22 +07:00
hathach 2715650751 refractor ohci.c 2013-12-19 12:11:13 +07:00
hathach cc736fd45e able to run ohci hid mouse demo
- an old mouse cause double plug event
- an old mouse failed to response the first get 8 byte device descriptor
2013-12-19 11:59:19 +07:00
hathach b828aabbe4 implement hcd_pipe_close, able to plug & unplug device from ohci lpc17xx 2013-12-18 16:23:09 +07:00
hathach eaacbd4a36 able to run MSC host demo on lpc17xx
implement walk around for halted ED in OHCI
2013-12-18 14:57:34 +07:00
hathach 915296013e add in hcd_pipe_open & hcd_pipe_xfer 2013-12-17 11:26:39 +07:00
hathach 75ffc0bfec implement ohci
- hcd_port_reset
- hcd_port_connect_status
- hcd_port_speed_get
- hcd_pipe_control_open
- hcd_pipe_control_xfer
- done_queue_isr for control xfer

able to go through enumeration with MSC device
2013-12-16 12:35:05 +07:00
hathach 30c8f68930 able to get connect status change interrupt occured 2013-12-13 12:26:37 +07:00
hathach 4d14e2ac50 add structure & define for ohci 2013-12-11 14:31:27 +07:00