hathach
910a94e9ca
clean up
2019-05-14 13:12:16 +07:00
hathach
3e6d911ce9
more clean up use inline bit funciton instead of macros
2019-05-14 12:54:29 +07:00
hathach
81fc7b7e2b
clean up endian convert function
2019-05-14 12:14:51 +07:00
hathach
3e24daac79
remove deprecated tusb_task, clean up tusb compiler
2019-05-14 12:03:06 +07:00
hathach
61ec407752
update license year to 2019
2019-05-14 11:48:05 +07:00
hathach
6135019230
clean up
2019-05-14 11:46:22 +07:00
hathach
1174949308
change tud_descriptor_string_cb() to be consistent with other descriptor callback
2019-05-12 15:38:15 +07:00
hathach
de56a0ca89
add tud_descriptor_string_cb() for getting string descriptor from application
...
- remove tud_desc_set.string_arr/string_count
2019-05-11 16:31:52 +07:00
hathach
f9d9eebfe1
support hid generic inout #58
...
- add report descriptor template TUD_HID_REPORT_DESC_GENERIC_INOUT
- add TUD_HID_INOUT_DESCRIPTOR & TUD_HID_INOUT_DESC_LEN
- add hid_generic_inout example
2019-05-02 14:30:49 +07:00
hathach
6102183193
clean up
2019-04-11 00:22:18 +07:00
hathach
f3a954e7de
self powered and remote wakeup support are from configuration descriptor attribute
2019-03-30 17:38:00 +07:00
hathach
1c2beba85c
working on suspend and resume
...
change dcd_init signature
2019-03-29 16:23:00 +07:00
hathach
18f248b142
remove tusb_hal_millis() usage, less work for porting
2019-03-24 01:19:32 +07:00
hathach
df1aac44b8
add board_noos_millis() for blinky
2019-03-23 16:51:07 +07:00
hathach
c211ee19dd
migrate license from BSD 3 clause to MIT
2019-03-20 16:11:42 +07:00
hathach
5e92d67015
stm32 update TX Fifo for edpt IN, both CDC + MSC work great
...
- call dcd_event_xfer_complete() when enough bytes received
- add dcd_get_frame_number()
2019-03-15 18:43:09 +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
048fc9694c
Split out txbuf and add unit test.
2019-01-04 18:27:00 -08:00
hathach
902697ca07
add dcd_get_microframe()
2018-12-17 12:14:11 +07: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
a6b9432600
clean up error enum
2018-12-13 14:57:21 +07:00
hathach
bc46dc6edf
osal clean up
...
remove OSAL_TASK_DEF, osal_task_create. Applicaton should create a task
and call tinyusb_task(). This make API consistent with NO OS.
2018-12-13 13:49:09 +07:00
hathach
5fd60e5761
clean up
2018-12-12 12:36:40 +07:00
hathach
6c0b0917e1
rename descriptor_* helper to tu_desc_*
2018-12-12 12:01:15 +07:00
hathach
6d86db3977
rename edpt_dir/number/addr to tu_edpt_*
2018-12-12 11:51:31 +07:00
hathach
67d6d753d6
replace all hcd pipe close by hcd_device_remove
2018-12-12 00:00:33 +07:00
hathach
600fac1845
fix build error with ohci
2018-12-11 16:18:56 +07:00
hathach
9c4c797502
add ep addr to host cdc
2018-12-10 19:01:28 +07:00
hathach
9478c647e3
change usbh_control_xfer name and signature
2018-12-07 12:23:37 +07:00
hathach
6f3898572d
add role to OSAL_QUEUE_DEF() to disable correct dcd/hcd isr
2018-12-05 17:01:19 +07:00
hathach
394a22ecf7
remove pragma GCC diagnostic
2018-11-23 15:25:25 +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
569e85a0c0
cdc work ok with lpc43xx
2018-11-22 17:40:20 +07:00
hathach
215f8603b1
nrf5x: refactor device control transfer.
...
- make control transfer as part of usbd. Class driver must use
usbd_control_ API() instead of dcd_ api.
- change the signature of class driver's control_request
- allow control request complete to stall in staus stage
- move control request parser & handling to usbd.
2018-11-16 21:56:39 +07:00
hathach
983225ae60
Merge pull request #7 from tannewt/tinyusb_samd
...
Add SAMD support and simplify OS_NONE
2018-11-14 15:36:12 +07:00
hathach
3fe7cd1659
added tud_cdc_write_str, tu_fifo only use mutex for RTOS config
2018-11-13 15:45:22 +07:00
Scott Shawcroft
537a29273c
Exempt from strict warnings for struct packing and add MCU options
2018-11-09 00:10:44 -08:00
hathach
f6076b0e06
add mutex support (optional) for tu_fifo
2018-11-02 17:28:07 +07:00
hathach
bfa10016ae
rename verify_breakpoint to TU_BREAKPOINT
2018-10-24 12:37:43 +07:00
hathach
55427606ef
replace dcd_xfer_complete by dcd_xfer_complete()
2018-10-24 00:44:26 +07:00
hathach
c7340f4b0e
clean up helper func
2018-10-23 12:19:32 +07:00
hathach
99c5219dc1
rename queue.h to sys_queue.h to prevent name conflict
2018-09-28 01:59:47 +07:00
hathach
a6870add95
format queue.h a bit
2018-09-26 01:44:36 +07:00
hathach
c78540be0f
add sys/queue.h to common
2018-09-26 01:39:59 +07:00
hathach
1a4a27324b
clean up
2018-09-02 20:30:07 +07:00
hathach
460285f852
fix compiler static assert complain
2018-08-23 21:05:52 +07:00
hathach
c5d2f661e7
rename common func to avoid conflict
2018-08-23 20:09:28 +07:00