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
hathach2013-07-06 14:52:02 +07:00
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
hathach2013-07-05 20:21:24 +07:00
355fd7e648
adding subclass RNDIS-CDC driver API - implement init - close - xfer_isr - open
hathach2013-07-05 16:22:42 +07:00
aed07d83db
host enum task use static control_request variable instead of literal of requests increase enum task stack size from 128 to 150 as it comes dangerously close to overflow
hathach2013-07-04 16:01:20 +07:00
0d37c4a319
refractor control request used in enumeration task to reduce task data --> enum task now can work with 128 depth
hathach2013-07-04 14:00:41 +07:00
97cbb39f6f
port osal_mutex to freeRTOS, able to mount mouse & cdc device tinyusb host stack overflow though
hathach2013-07-04 13:24:54 +07:00
391e132d6b
no big deal, only rename tusb_std_request_t to tusb_control_request_t
hathach2013-07-04 12:25:39 +07:00
539c7cdbe1
update usbh_xfer_isr to take actual byte transferred and correct tests
hathach2013-07-02 17:37:55 +07:00
e1ad7b62cf
add way to calculate the actual byte transferred with ehci add come callback for cdch add code for cdc serial demo
hathach2013-07-02 17:20:25 +07:00
6ce90e2bd8
add tusbh_cdc_send, t usbh_cdc_receive add cdc_serial_app for virtual com demo
hathach2013-07-02 16:41:13 +07:00
51f894b0bf
add tests for tusbh_cdc_serial_is_mounted
hathach2013-07-02 15:39:53 +07:00
7e5c6ded2d
add tusbh_cdc_serial_is_mounted API test for cdch close driver
hathach2013-07-02 15:32:41 +07:00
12526b34a1
extract qhd_xfer_error_isr add support for period list in xfer_error_isr pass period TUSB_EVENT_XFER_ERROR & TUSB_EVENT_XFER_STALLED tests
hathach2013-07-02 12:22:46 +07:00
9fea5291bf
refractor extract list_next add support for TUSB_EVENT_XFER_STALL add test for error/stall in periodic list
hathach2013-07-02 12:01:51 +07:00
3f9f3f08d2
add cdc host driver close cdch_close refractor - add helper function in ehci qhd_next & qtd_next - extract function qhd_create_pipe_handle rename tusb_transfer_type_t to tusb_xfer_type_t add some handling for stall
hathach2013-07-01 18:53:25 +07:00
d8bd749c75
change control xfer check in usbh_xfer_isr rename - async_list_process_isr to async_list_xfer_complete_isr - period_list_process_isr to period_list_xfer_complete_isr
hathach2013-07-01 16:14:46 +07:00
3f0d740776
rename usbh_isr to usbh_xfer_isr
hathach2013-07-01 15:30:29 +07:00
7e6e5cc356
[CDC] - add configure option - add include path - add driver function table
hathach2013-06-29 16:06:45 +07:00
d4f31e149a
adding descriptor, structure, enum support for cdc
hathach2013-06-29 15:56:32 +07:00
a07ff5a3ce
use SUBTASK_EXIT to restart & exit task without "assert"
hathach2013-06-27 16:32:54 +07:00
3bca56665c
add mutex support for osal add test for mutex in test_osal_none.c implement usbh_control_xfer using mutex to get access to queue xfer on control pipe (while semaphore is used to sync with hcd DMA) failed to issue control xfer: set idle & get report descriptor in hidh_open_subtask (more to work on)
hathach2013-06-27 16:19:22 +07:00
c81c4bb817
add set idle request for hidh_open_subtask add interface number to hidh_interface_info_t refractor hidh_open_subtask to be a true subtask cannot run with set idle code ON because of semaphore misuse
hathach2013-06-27 03:20:14 +07:00
ea2e63a332
remove app_os_prio.h in os_none configure remove instance_num in hidh API temporarily pause device stack developement should fix travis-ci build error
hathach2013-06-26 18:00:05 +07:00
c7f7bc9808
increase sequence each 64 byte packet
hathach2013-06-23 14:26:56 +07:00
a531d27a49
should fix problem with demo bulk out
hathach2013-06-23 14:21:44 +07:00
2cc5df9b00
add custom bulk out test
hathach2013-06-23 01:10:59 +07:00
fe53297b17
fix bug with custom class that terminate xfer after the first QTD
hathach2013-06-22 22:26:00 +07:00
5c564df8c1
add api for hcd: hcd_pipe_is_idle add api for usbh: tusbh_device_get_mounted_class_flag implement api for custom class - is mounted - read
hathach2013-06-21 14:20:08 +07:00
3924764dff
[host lpc43xx] adding support for host custom class refractor usbh class driver indexing opt out periodic list code in EHCI (need to refractor/group later) [device lpc176x] rename dcd_endpoint_configure to dcd_pipe_open add usbd_pipe_open to manage pipe
hathach2013-06-21 13:11:16 +07:00
40b65b265c
implement hidd_control_request including std & class specific to interface number. refractor usbd_setup_received
hathach2013-06-14 18:22:40 +07:00
4103cc374f
add coreid to hidd_init temporarily implement hidd_init using dcd from lpc17xx add more test for dcd lp176x implement dcd_endpoint_configure
hathach2013-06-12 21:06:43 +07:00
e3bb5e9f2f
change buffer_start_addr from uint8_t* to uint32_t due to travis linux 64bit
hathach2013-06-05 11:56:55 +07:00
8123eed39d
add test for lpc176x dd structure
hathach2013-06-05 11:45:43 +07:00
0687d6b80d
forgot to add files in lpc175x_6x test project
hathach2013-06-05 11:26:08 +07:00
f69fefefa9
added dcd_dma_descriptor_t typdef reorganize test project, multiple test projects each is specifically for an MCU
hathach2013-06-05 11:23:41 +07:00
6fb34f0e7a
rename TDD project to prevent confusion on users
hathach2013-06-04 13:37:45 +07:00
3394b4beaa
re-create ngx4330.h remove some rom driver dependency on upper layer introduce CAP_DEVICE_ROMDRIVER to overwrite TUSB_CFG_DEVICE_USE_ROM_DRIVER within the lib add support for lpc175x_6x - able to build and blink led on lpcxpresso1769 with device (without any class enabled)
hathach2013-06-04 13:36:18 +07:00
b527e6ec4a
refractor tusb_descriptors usbd device_class_driver added & tested HID mouse for device (work together with hid keyboard) rename DEVICE_ROM_REG_BASE, DEVICE_ROM_DRIVER_ADDR
hathach2013-06-03 14:31:17 +07:00
7d78fc1baf
rename romdriver handle forming API for USBD-CLASS driver (abstract away from rom driver) separate buffer of hid class from buffer of core driver
hathach2013-06-01 21:54:08 +07:00
9e49056721
refractor change tusbd_hid_keyboard_send_report API
hathach2013-05-31 21:24:40 +07:00
03d85acfc7
refractor string descriptors, allow one-stop configure descriptor for - manufacturer, product etc ... (only english now)
hathach2013-05-31 18:21:31 +07:00
3b9a616ca9
change at86rf to 1ghznode rom device runs ok with lpc11uxx
hathach2013-05-31 13:57:57 +07:00
04a641f067
ea4357 can be enumerated, but get setconfiugre value of 0
hathach2013-05-29 16:56:15 +07:00
d5836751d9
keyboard example works with lpc1347 xpresso
hathach2013-05-29 15:23:07 +07:00
dda0808ebb
fix lpcxpresso1347 board_leds temp change USBD_API to ROM_API add lpc13xx device support fix romdriver pointer able to init rom driver
hathach2013-05-29 14:39:14 +07:00