Commit Graph

357 Commits

Author SHA1 Message Date
hathach c211ee19dd migrate license from BSD 3 clause to MIT 2019-03-20 16:11:42 +07:00
Scott Shawcroft 52abbec7c5
Remove txbuf in favor of fifo.
Fifo incurs a second copy into a USB buffer but this ensures the
correct USB buffer alignment. Some LPC chips require 64 byte
alignment that txbuf couldn't do.
2019-01-08 14:10:40 -08:00
Scott Shawcroft aa281521a6
Fix the test 2019-01-04 18:32:42 -08:00
Scott Shawcroft 048fc9694c
Split out txbuf and add unit test. 2019-01-04 18:27:00 -08:00
hathach 351f0d7d78 merge binary.h into tusb_common.h 2018-12-14 15:45:49 +07:00
hathach 2a60427bdc rename bit_* helper to tu_bit_*, BIT_* to TU_BIT_* for consistency 2018-12-14 15:30:54 +07:00
hathach a3713f801d clean up compiler attribute 2018-12-14 13:08:21 +07:00
hathach 6d86db3977
rename edpt_dir/number/addr to tu_edpt_* 2018-12-12 11:51:31 +07:00
hathach dbc560658a
more hcd_pipe to hcd_edpt rename 2018-12-11 13:15:05 +07:00
hathach 0d04e6eb96
rename to hcd_edpt_open() 2018-12-11 13:12:21 +07:00
hathach b0717275c8
ehci periodic 2018-12-11 10:50:05 +07:00
hathach 9c3c782b64
host msc built but got hardfault with inquiry command 2018-12-10 22:11:02 +07:00
hathach 4e7596ca9c
add tuh_mount_cb/tuh_umount_cb 2018-12-10 19:25:57 +07:00
hathach 9c4c797502
add ep addr to host cdc 2018-12-10 19:01:28 +07:00
hathach 57233cead7
rename usbh_xfer_isr to hcd_event_xfer_complete 2018-12-10 05:47:33 +07:00
hathach 05913a7350
change usbh class driver open signature 2018-12-09 12:34:05 +07:00
hathach d3ac4c14a3
refactor hcd api 2018-12-08 20:51:48 +07:00
hathach 366ab79776
able to build host hid 2018-12-07 14:57:58 +07:00
hathach 89820a36a1 able to build with host msc 2018-12-07 12:56:42 +07:00
hathach 9478c647e3 change usbh_control_xfer name and signature 2018-12-07 12:23:37 +07:00
hathach c93fb23693 usbh rename vars 2018-12-07 00:47:16 +07:00
hathach 7d3ff7aff6 rename CFG_TUSB_HOST_CDC/MSC to CFG_TUH_CDC/MSC 2018-12-06 22:24:31 +07:00
hathach 5b09774ae0 clean up usbh, rename doxygen folder to docs 2018-12-06 21:46:34 +07:00
hathach a619ff88a3
rename xfer complete enum 2018-11-23 15:17:43 +07:00
hathach cb8782e5f2
rename tusb_event_t to xfer_result_t 2018-11-23 15:14:47 +07:00
hathach 60d8cde695
rename CFG_TUSB_MEM_SECTION to CFG_TUSB_MEM_SECTION 2018-11-22 17:21:07 +07:00
hathach c7340f4b0e clean up helper func 2018-10-23 12:19:32 +07:00
hathach c5d2f661e7 rename common func to avoid conflict 2018-08-23 20:09:28 +07:00
hathach 9f61493020 change HID config, move HID boot config to part of auto descriptor only 2018-07-28 12:38:45 +07:00
hathach f5b2912372 add tud_msc_set_sense(), update msc device to reponse with default sense (illegal request) when there is issue with scsi command 2018-07-26 15:59:13 +07:00
hathach 4342325ee1 reworking device hid class driver 2018-07-23 15:25:45 +07:00
hathach 3e66d2d31e rename fifo * to tu_fifo to avoid conflict with other module 2018-07-04 00:22:15 +07:00
hathach 29071c10b1 rename CFG_TUSB_CONTROLLER_0_MODE to CFG_TUSB_RHPORT0_MODE 2018-04-14 14:08:48 +07:00
hathach fa780edfb8 update project file 2018-04-12 13:32:27 +07:00
hathach 4b660175be rename CFG_TUSB_DEVICE_* to CFG_TUD_* 2018-04-12 13:23:52 +07:00
hathach 3d31f92106 rename OPT_MODE_ 2018-04-12 13:17:58 +07:00
hathach 18f97fef7e rename TUSB_OS_NONE, TUSB_OS_FREERTOS to OPT_OS_NONE, OPT_OS_FREERTOS 2018-04-12 12:55:53 +07:00
hathach fecef9ca42 minor clean up 2018-04-10 15:31:36 +07:00
hathach 33af6b6549 clean up remove CFG_TUSB_TICKS_HZ 2018-04-10 14:47:33 +07:00
hathach 81935c91e9 rename CFG_TUSB_DEVICE_CONTROL_ENDOINT_SIZE to CFG_TUSB_DEVICE_ENDOINT0_SIZE 2018-04-10 14:43:13 +07:00
hathach 3c24671960 mass rename TUSB_CFG to CFG_TUSB 2018-04-10 14:31:11 +07:00
hathach 3e5e1f70bf more shorten name 2018-03-23 12:42:30 +07:00
hathach 5f26c57b28 shorten descriptor type 2018-03-23 12:32:40 +07:00
hathach 17a227ca90 osal subtask rename 2018-03-21 20:42:23 +07:00
hathach d6dc1aa2e9 rename TUSB_REQUEST to simply TUSB_REQ_ 2018-03-21 15:31:58 +07:00
hathach 88f1291c09 replacing RF1GHZNODE with LPCXPRESSO11U68 (not yet implement the actual board) 2014-08-04 02:30:08 +07:00
hathach 74fd9de3af add lpcxpresso spifi flash setting 2014-05-13 10:37:28 +07:00
hathach 05c767313d make freertos source unmodified to ease the upgrade process later
use CGU_GetPCLKFrequency as configCPU_CLOCK_HZ for lpc43xx using with freeRTOS
move portmarco.h include to FreeRTOSConfig.h to have untouched version of freertos
add a readme.md to vendor/freertos
refractor usbh.c, increase POWER_STABLE_DELAY = 500, RESET_DELAY = 200
fix bug with hub, only handle 1 port at a time when reading hub status change endpoint --> other port will be handled in the next cycle
2014-04-28 14:20:00 +07:00
hathach 6aecb62be2 disable running test for lpc175x_6x on travis 2014-04-18 14:01:36 +07:00
hathach 2c9ecb300a get all tests passed with lpc18xx_43xx. Need to disable some though 2014-04-18 13:51:54 +07:00