hathach
06bb9ad7a7
move STRING & XSTRING & STATIC_ASSERT to compiler.h
...
disable test for a class of cdc host
temporarily disable test for test_osal_none.c
change include in some core files
remove osal.h from common.h
2014-04-17 22:57:11 +07:00
hathach
69c46b2f9a
fix configure file
...
fix test_fifo.c
2014-04-17 20:51:41 +07:00
hathach
f1ea1ce52e
fixing test
...
- rename errors.h to tusb_errors.h
2014-04-17 20:40:34 +07:00
hathach
d70decf27f
update md
2014-03-28 17:50:30 +07:00
hathach
9eff09ef7f
document with markdown
2014-03-28 15:23:32 +07:00
hathach
b0af13c50b
fix image path
2014-03-27 17:59:45 +07:00
hathach
535c8be49d
markdown work for TDD page
2014-03-26 12:35:19 +07:00
hathach
3cf5a383e0
rename markdown files
2014-03-25 23:47:51 +07:00
hathach
758273323a
some markdown work
2014-03-25 17:32:31 +07:00
hathach
30c8f68930
able to get connect status change interrupt occured
2013-12-13 12:26:37 +07:00
hathach
51b6c6ff41
implement inline bit manipulation function
2013-12-12 12:21:38 +07:00
hathach
a5ba283557
change MCU to TUSB_CFG_MCU
2013-11-25 12:48:27 +07:00
hathach
318a058d3c
static assert to check OSAL_QUEUE_DEF's queue_depth parameter < 256
...
enable HOST_HCD_XFER_INTERRUPT by default (previously only enabled with HID), as it is widely used
implement tusbh_cdc_is_busy
add compilation switch in usbh enumeration for hub
rewrite CDC serial application to address usb-serial race condition
2013-10-27 19:34:36 +07:00
hathach
eb39d88360
rndis document
2013-10-27 15:42:31 +07:00
hathach
0d00742cf0
more doxygen work
...
rename tusb_mouse_report_t (keyboard) to hid_mouse_report_t (keyboard)
2013-10-25 17:28:31 +07:00
hathach
b71ffe3d5a
change TUSB_CFG_CONTROLLER0/1_MODE to TUSB_CFG_CONTROLLER_0/1_MODE for clearance
...
adding configuration docs for tinyusb_config.h
document HID mouse & keyboard API
2013-10-24 15:32:54 +07:00
hathach
2076e57d70
working on doxygen
2013-10-22 11:09:39 +07:00
hathach
de7e21dc66
refractor hub api
...
fix all test build errors
2013-10-16 11:05:33 +07:00
hathach
3d13516106
complete moving test project to /tests folder
2013-10-15 12:53:27 +07:00
hathach
e0eb21506c
move test project to tests folder
2013-10-15 12:39:27 +07:00
hathach
640b0ec546
- move disconnection handle to enum task --> move tusbh_xxx_unmount is invoked in non-isr context
2013-10-01 13:53:54 +07:00
hathach
cb600ed988
clean up hid host (temp let test failed)
2013-09-28 01:01:44 +07:00
hathach
eb1a101667
house keeping
2013-09-27 22:38:23 +07:00
hathach
9d60db0f9f
add scsi write10 & test unit ready
...
done copy command
implement get_fattime using __DATE__ and number of calls
2013-09-26 14:37:40 +07:00
hathach
bbfa85aa08
allow a limited model to deal with stalled pipe/transaction
...
added stall clear & able to mount the stupid toshiba thumb drive
add HCD pipe API
- bool hcd_pipe_is_busy(pipe_handle_t pipe_hdl);
- bool hcd_pipe_is_stalled(pipe_handle_t pipe_hdl);
- uint8_t hcd_pipe_get_endpoint_addr(pipe_handle_t pipe_hdl);
- tusb_error_t hcd_pipe_clear_stall(pipe_handle_t pipe_hdl);
remove tusbh_device_mount_failed_cb (not neccessary for user)
2013-09-24 18:23:34 +07:00
hathach
63b776f7cf
add some tests support for msc host
...
refractor msch buffer for getting inital scsi like inquiry, read capacity
adding support for resovling stall on control pipe
2013-09-24 15:21:16 +07:00
hathach
cc91a73cdc
fix pingstate for highspeed bulk out transfer
...
temp implementation of msc host --> can issue inquiry command
2013-09-22 18:44:55 +07:00
hathach
5708863859
house keeping, clean up warnings
2013-09-21 14:38:40 +07:00
hathach
d15ba08fdc
house keeping
2013-09-21 13:17:43 +07:00
hathach
295612b48f
remove ATTR_WEAK for all necessary driver callback
...
fix ceedling tests
2013-09-21 00:42:39 +07:00
hathach
52ae0afeb6
refine hid host driver
2013-09-20 16:20:28 +07:00
hathach
67453b89f0
fix task def with cmsis rtx
2013-09-13 23:01:43 +07:00
hathach
ad0ef2e266
all project can run ok
2013-09-13 22:30:11 +07:00
hathach
09dd83c05b
add set msg & get set cmplt for OID_GEN_CURRENT_PACKET_FILTER (default = 0 reject all) to
...
○ NDIS_PACKET_TYPE_DIRECTED
○ NDIS_PACKET_TYPE_MULTICAST
○ NDIS_PACKET_TYPE_BROADCAST
2013-09-11 15:03:37 +07:00
hathach
ce865721a5
add test & code to send rndis msg query for permanent address (MAC address)
2013-07-19 01:52:56 +07:00
hathach
0e14752c81
pass the initialize_cmplt
2013-07-06 19:06:30 +07:00
hathach
25304d142f
refractor qhd_xfer_error_isr (omit xfer_type para)
...
add accumulated total xferred byte for an endpoint until transfer with IOC set
- control xfer will have length of data phase in usbh_xfer_isr callback
2013-07-06 14:52:02 +07:00
hathach
e4ae45359d
fix bug with RNDIS class open using non-static variable p_cdc
...
fix bug with SUBTASK_EXIT with single if (add do while wrapper)
add payloay message
able to send initialize & wait on notification pipe & get initialize cmpt
2013-07-05 20:21:24 +07:00
hathach
355fd7e648
adding subclass RNDIS-CDC driver API
...
- implement init
- close
- xfer_isr
- open
adding waiting for notification after send rndis_initalize_msg
2013-07-05 16:22:42 +07:00
hathach
7345a4515d
fix bug with rndis overshadow the normal cdc callback
2013-07-05 13:37:57 +07:00
hathach
374aea7a11
change usbh_control_xfer_subtask to use flat API instead of passing tusb_control_request_t struct
2013-07-05 13:23:42 +07:00
hathach
c08c655fd1
implementing initializing for RNDIS
2013-07-05 11:46:12 +07:00
hathach
391e132d6b
no big deal, only rename tusb_std_request_t to tusb_control_request_t
2013-07-04 12:25:39 +07:00
hathach
d3aed01874
add some printf when a class is mounted
...
add initial tests for rndis
2013-07-04 10:47:31 +07:00
hathach
c5afb9d50f
change class (hid/cdc) _mounted_isr to _mounted_cb
2013-07-04 09:45:20 +07:00
hathach
4a8686e868
adding _mounted_isr & _umounted_isr callback for host keyboard & mouse
...
remove TUSB_EVENT_INTERFACE_OPEN & TUSB_EVENT_INTERFACE_CLOSE
2013-07-03 12:46:12 +07:00
hathach
b0f45b3651
temporarily check cdc mounted by pipe_in & pipe_out
...
add tests for tusbh_cdc_xfer_isr
2013-07-03 12:06:07 +07:00
hathach
1667ef5041
replace tusbh_cdc_isr by tusbh_cdc_xfer_isr with extra parameter as
...
- pipe id
- xferred_bytes
host_class_driver_t add xferred_bytes parameter
void (* const isr) (pipe_handle_t, tusb_event_t); --> void (* const isr) (pipe_handle_t, tusb_event_t, uint32_t);
update hid_host & its tests
2013-07-03 11:36:08 +07:00
hathach
b3f98bc15a
rename cdc descriptor type
...
add tusbh_cdc_mounted_isr & tusbh_cdc_unmounted_isr
2013-07-03 10:53:16 +07:00
hathach
539c7cdbe1
update usbh_xfer_isr to take actual byte transferred and correct tests
2013-07-02 17:37:55 +07:00