hathach
fcb8e295ec
clean up, update tests for hcd_port_reset after 8 byte descriptor & set configure before open class driver
2013-03-29 23:37:59 +07:00
hathach
086a8e4a2d
add flag_supported_class to usbh_devices
...
remove all ATTR_WEAK in init,open,isr,close driver functions of USBH-CLASS API
- prefer testing
2013-03-26 02:02:54 +07:00
hathach
56cd8be75e
change website from tinyusb.net to tinyusb.org
2013-03-25 11:46:30 +07:00
hathach
92c137243d
refractor
...
- rename usbh_device_info_pool to usbh_devices
- create a struct for control pipe in usbh_device_info_t
2013-03-24 16:44:59 +07:00
hathach
ea04815bbc
rename sem_hdl in usbh_device_info_t control_sem_hdl
2013-03-24 16:22:58 +07:00
hathach
ce63980386
clean up:
...
- refractor tusb_handle_device_t device_hdl to uint8_t dev_addr
add keyboard_app.c/h
2013-03-24 15:50:49 +07:00
hathach
44e09cc397
enhance some tests
...
add test for usbh_isr error invoke
fix bug if device unplugged before is set to new address
- clean up & close control addr0 in usbh_device_unplugged_isr
2013-03-23 17:31:51 +07:00
hathach
d7ba86c85e
refractor
...
- rename usbh_device_info_t.status to state
- rename enum TUSB_DEVICE_STATUS_* to TUSB_DEVICE_STATE_*
2013-03-23 11:34:51 +07:00
hathach
97c9001d40
add hard fault handler to bsp.c
...
rename class_install_subtask to class_open_subtask
add class_close for unmount
adding code for usbh_device_unplugged_isr & invoke it in hcd_isr
2013-03-13 10:57:30 +07:00
hathach
38ff7123b4
add semaphore reset & queue flush API for osal
...
add semaphore reset when opening control pipe
2013-03-12 00:10:52 +07:00
hathach
ef08654e73
add prototype for hcd_pipe(control)_close
...
- update test code for enum task respectively
2013-03-06 22:41:14 +07:00
hathach
82bd4719ce
continue to strengthen include policy
2013-02-28 15:58:18 +07:00
hathach
b1d33c7ffc
rename tusbh_device_mount_succeed_cb
...
add set configure and tusbh_device_mount_succeed_cb invocation
refractor get_configure_number_for_device
2013-02-27 12:42:32 +07:00
hathach
4023d07df0
add parsing configuration desc & invoke driver install subtask
2013-02-27 01:57:40 +07:00
hathach
49da210860
add osal subtask support
...
add usbh_control_xfer_subtask as xfer and wait
fix potential error when update device info & open control pipe for new address
fix build error with hal_****.c
add STATIC_ASSSERT to perform compile time checking with sizeof later
update osal_queue_receive and osal_semaphore_wait for osal_none to support subtask
2013-02-26 17:28:05 +07:00
hathach
5bacdc6c0f
updating usbh init with class init
2013-02-08 12:52:46 +07:00
hathach
e6ed1729b2
update enumeration up to get full configuration descriptor
2013-02-06 18:12:26 +07:00
hathach
060c4b3b30
refractor move device_addr0 into usbh_device_pool
...
enum_entry contains speed and enum task will not carry out disconnection clean up
2013-02-06 16:52:18 +07:00
hathach
7961f04e17
remove hcd_addr0_close_Ignore
...
add code to check error handling from enum task
2013-02-06 13:50:17 +07:00
hathach
e20025b54d
refractor move test enum to its own file
...
add assert with handler
add task assert with error catcher
2013-02-06 12:03:01 +07:00