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
hathach
2013-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
hathach
2013-07-05 20:21:24 +07:00
355fd7e648
adding subclass RNDIS-CDC driver API - implement init - close - xfer_isr - open
hathach
2013-07-05 16:22:42 +07:00
e4ff63c604
fix a minor bug
hathach
2013-07-05 13:41:34 +07:00
7345a4515d
fix bug with rndis overshadow the normal cdc callback
hathach
2013-07-05 13:37:57 +07:00
374aea7a11
change usbh_control_xfer_subtask to use flat API instead of passing tusb_control_request_t struct
hathach
2013-07-05 13:23:42 +07:00
c08c655fd1
implementing initializing for RNDIS
hathach
2013-07-05 11:46:12 +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
hathach
2013-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
hathach
2013-07-04 14:00:41 +07:00
97cbb39f6f
port osal_mutex to freeRTOS, able to mount mouse & cdc device tinyusb host stack overflow though
hathach
2013-07-04 13:24:54 +07:00
391e132d6b
no big deal, only rename tusb_std_request_t to tusb_control_request_t
hathach
2013-07-04 12:25:39 +07:00
8c0bc38713
house keeping
hathach
2013-07-04 10:54:51 +07:00
d3aed01874
add some printf when a class is mounted add initial tests for rndis
hathach
2013-07-04 10:47:31 +07:00
c5afb9d50f
change class (hid/cdc) _mounted_isr to _mounted_cb
hathach
2013-07-04 09:45:20 +07:00
544b48183a
opt out hardfault handler in board.c which causes problem in compiling with asm inline
hathach
2013-07-03 13:48:11 +07:00
51e9a1817b
change some license text
hathach
2013-07-03 13:14:14 +07:00
539c7cdbe1
update usbh_xfer_isr to take actual byte transferred and correct tests
hathach
2013-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
hathach
2013-07-02 17:20:25 +07:00
6ce90e2bd8
add tusbh_cdc_send, t usbh_cdc_receive add cdc_serial_app for virtual com demo
hathach
2013-07-02 16:41:13 +07:00
51f894b0bf
add tests for tusbh_cdc_serial_is_mounted
hathach
2013-07-02 15:39:53 +07:00
7e5c6ded2d
add tusbh_cdc_serial_is_mounted API test for cdch close driver
hathach
2013-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
hathach
2013-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
hathach
2013-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
hathach
2013-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
hathach
2013-07-01 16:14:46 +07:00
3f0d740776
rename usbh_isr to usbh_xfer_isr
hathach
2013-07-01 15:30:29 +07:00
35adca5ba3
house keeping
hathach
2013-07-01 11:34:08 +07:00
e1883fcd26
add acm_capability saving to host data & its test
hathach
2013-07-01 11:29:23 +07:00
d7fc73ff76
rename test folder
hathach
2013-06-29 16:16:05 +07:00
7e6e5cc356
[CDC] - add configure option - add include path - add driver function table
hathach
2013-06-29 16:06:45 +07:00
d4f31e149a
adding descriptor, structure, enum support for cdc
hathach
2013-06-29 15:56:32 +07:00
a07ff5a3ce
use SUBTASK_EXIT to restart & exit task without "assert"
hathach
2013-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)
hathach
2013-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
hathach
2013-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
hathach
2013-06-26 18:00:05 +07:00
4ce4f463c4
add test support for lpc176x
hathach
2013-06-21 22:05:15 +07:00
4239da1188
add cmsis for lpc11u remove app_os_prio.h in host_os_none demo
hathach
2013-06-21 21:03:23 +07:00
4f8faebbab
add files for bulk custom test
hathach
2013-06-21 20:57:20 +07:00
07f36e8a61
fix a stupid bug
hathach
2013-06-21 14:52:18 +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
hathach
2013-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
hathach
2013-06-21 13:11:16 +07:00
743e5a7a93
house keeping
hathach
2013-06-16 15:39:09 +07:00
4d6121d44a
refractor set endpoint max packet size
hathach
2013-06-16 15:32:08 +07:00
357e8d32ec
clean up some & add code for managing control request targeting interface
hathach
2013-06-16 14:41:48 +07:00
77e0834f34
use dcd_pipe_control_read in endpoint_control_isr
hathach
2013-06-14 19:10:11 +07:00
40b65b265c
implement hidd_control_request including std & class specific to interface number. refractor usbd_setup_received
hathach
2013-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
hathach
2013-06-12 21:06:43 +07:00
ee57a6f13f
clean up
hathach
2013-06-12 14:06:41 +07:00
17a27f7398
[lpc176x][device] pass set configure control request
hathach
2013-06-11 17:53:33 +07:00
5ae9c72f84
[lpc176x][device] get pass get string descriptors
hathach
2013-06-11 17:35:53 +07:00
cae19b8f56
fix bug with setup packet received (wrong increasement of pointer)
hathach
2013-06-11 17:12:44 +07:00
049a22f2cc
refractor dcd_pipe_control_write_zero_length to use dcd_pipe_control_write
hathach
2013-06-11 16:30:06 +07:00
d55f9ecef1
get pass set address
hathach
2013-06-11 16:13:50 +07:00
72b5b61597
able to xfer device descriptor on control endpoint of lpc176x
hathach
2013-06-11 16:01:30 +07:00
e3bb5e9f2f
change buffer_start_addr from uint8_t* to uint32_t due to travis linux 64bit
hathach
2013-06-05 11:56:55 +07:00
8123eed39d
add test for lpc176x dd structure
hathach
2013-06-05 11:45:43 +07:00
0687d6b80d
forgot to add files in lpc175x_6x test project
hathach
2013-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
hathach
2013-06-05 11:23:41 +07:00
6fb34f0e7a
rename TDD project to prevent confusion on users
hathach
2013-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)
hathach
2013-06-04 13:36:18 +07:00
4239e1390e
delete some pdf docs
hathach
2013-06-04 11:47:37 +07:00
cdc830782f
rename tusb_device_is_configured remove dcd_lpc18xx_lpc43xx.h and dcd_lpc11uxx_lpc13xx move define to hal
hathach
2013-06-04 10:43:58 +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
hathach
2013-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
hathach
2013-06-01 21:54:08 +07:00
9e49056721
refractor change tusbd_hid_keyboard_send_report API
hathach
2013-05-31 21:24:40 +07:00
3b9a616ca9
change at86rf to 1ghznode rom device runs ok with lpc11uxx
hathach
2013-05-31 13:57:57 +07:00
04a641f067
ea4357 can be enumerated, but get setconfiugre value of 0
hathach
2013-05-29 16:56:15 +07:00
d5836751d9
keyboard example works with lpc1347 xpresso
hathach
2013-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
hathach
2013-05-29 14:39:14 +07:00