Commit Graph

  • 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
  • 68da489c2e refractor ehci.c adding qhd_get_xfer_type hathach 2013-07-06 13:41:48 +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
  • 9d50b0fa6a update docs hathach 2013-07-04 16:08:33 +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
  • 4a8686e868 adding _mounted_isr & _umounted_isr callback for host keyboard & mouse remove TUSB_EVENT_INTERFACE_OPEN & TUSB_EVENT_INTERFACE_CLOSE hathach 2013-07-03 12:46:12 +07:00
  • b0f45b3651 temporarily check cdc mounted by pipe_in & pipe_out add tests for tusbh_cdc_xfer_isr hathach 2013-07-03 12:06:07 +07:00
  • 294ddd0acc complete CDC serial demo (in a quick hacking way) hathach 2013-07-03 11:39:09 +07:00
  • 1667ef5041 replace tusbh_cdc_isr by tusbh_cdc_xfer_isr with extra parameter as - pipe id - xferred_bytes hathach 2013-07-03 11:36:08 +07:00
  • b3f98bc15a rename cdc descriptor type add tusbh_cdc_mounted_isr & tusbh_cdc_unmounted_isr hathach 2013-07-03 10:53:16 +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
  • b04b145965 add cdc_rndis enum & struct hathach 2013-07-02 14:45:42 +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
  • 958d390a85 refractor code hathach 2013-07-01 20:28:16 +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
  • e94ce81b04 fix compilation error hathach 2013-07-01 10:43:55 +07:00
  • a4f7dc1105 add & pass a first few test for cdc host implement cdch_open_subtask hathach 2013-07-01 10:35:37 +07:00
  • a943cce991 test refractor hathach 2013-06-29 21:00:33 +07:00
  • 9e607f6dee add SUBTASK_EXIT in osal.h for TDD project hathach 2013-06-29 16:20:24 +07:00
  • 689e36856e update ,travis.yml hathach 2013-06-29 16:18:36 +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
  • c7f7bc9808 increase sequence each 64 byte packet hathach 2013-06-23 14:26:56 +07:00
  • a531d27a49 should fix problem with demo bulk out hathach 2013-06-23 14:21:44 +07:00
  • 2cc5df9b00 add custom bulk out test hathach 2013-06-23 01:10:59 +07:00
  • fe53297b17 fix bug with custom class that terminate xfer after the first QTD hathach 2013-06-22 22:26:00 +07:00
  • 54c065b1d5 fix license hathach 2013-06-22 12:54:47 +07:00
  • 34b4332ff4 remove redundant project files hathach 2013-06-21 22:17:49 +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
  • f219a9c77d add dcd_pipe_control_read hathach 2013-06-14 19:06:33 +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
  • 503d279af5 ADDING LPC176X device implementing dcd_lpc175x_6x.c add usbd_dcd.h add usbd_isr with TUSB_EVENT_SETUP_RECEIVED & TUSB_EVENT_BUS_RESET event parameterize TUSB_CFG_DEVICE_CONTROL_PACKET_SIZE (replace USB_MAX_PACKET0) hathach 2013-06-08 02:50:10 +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
  • 7f8752b38b add LPC175x_6x cmiss (got from xpresso example) add LPC175x_6x driver lib (got from http://git.lpcware.com//lpc175x_6x.git hathach 2013-06-04 11:45:01 +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
  • a3ed66344d fix compiler bug with ceedling tests hathach 2013-06-03 16:40:02 +07:00
  • f982a10b6b house keeping hathach 2013-06-03 16:04:03 +07:00
  • 9f9adca03b add TUSB_CFG_PROUDCT_ID check move USB_MAX_EP_NUM to device dependency - lpc43 --> 6 - lpc11/13 --> 5 hathach 2013-06-03 15:56:14 +07:00
  • 52f18f3784 refractor device mouse main.c & tusbd_hid_mouse_send_report hathach 2013-06-03 14:37:41 +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
  • 03d85acfc7 refractor string descriptors, allow one-stop configure descriptor for - manufacturer, product etc ... (only english now) hathach 2013-05-31 18:21:31 +07:00
  • abf1054745 refractor & beautify string descriptors hathach 2013-05-31 16:31:13 +07:00
  • 376482558a clean up device main.c demo code hathach 2013-05-31 14:53:26 +07:00
  • ed64401e61 rename descriptor variables hathach 2013-05-31 14:36:42 +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