Commit Graph

31 Commits

Author SHA1 Message Date
hathach a0307bafda added usbd_edpt_xfer/usbd_edpt_busy to replace dcd_edpt_transfer/dcd_edpt_busy()
- improve fifo write/read_n with only one lock
- use usbd_edpt_xfer/usbd_edpt_busy for hid/cdc/msc class driver
- replace cdc read's pending_read_from_host by usbd_edpt_busy()
2019-05-29 16:55:15 +07:00
hathach ce6976f400 better fix for #72 millis overthrow 2019-05-21 13:31:02 +07:00
hathach 61ec407752
update license year to 2019 2019-05-14 11:48:05 +07:00
hathach d6a47a89f2 clean up 2019-05-02 14:41:21 +07:00
hathach 84f81f6b21 simplify hid keyboard & mouse report to one API each 2019-05-01 17:06:18 +07:00
hathach 8a5bd30fa6 freertos cdc_msc_hid makefile compile 2019-05-01 16:01:44 +07:00
hathach ff8fe28c98
move interface descriptor template to usbd.h, update exmaple 2019-04-19 13:16:06 +07:00
hathach 3e4bb141ce
update device freeRTOS exmaple 2019-04-19 00:23:15 +07:00
hathach 307ba23046
wrap up hid device refactor 2019-04-18 22:31:35 +07:00
hathach a30461b078
update tud_hid_keyboard/mouse helper 2019-04-18 13:27:06 +07:00
hathach cc2fce31e5
refactor hid, rename hid_generic to simply hid_ 2019-04-18 00:36:17 +07:00
hathach 5f3ab2afe1
rename board_led_control to board_led_write 2019-04-02 18:16:04 +07:00
hathach 8457d0d14c
add board_button_read() 2019-04-01 18:35:37 +07:00
hathach eabfc53f38
added tud_suspended() and tud_ready() 2019-03-30 23:01:23 +07:00
hathach ee6ed084f4
clean up text 2019-03-30 15:03:48 +07:00
hathach 93a853cd5b usbd add connected, suspended, remote_wakeup
- remove use of osal_queue_reset
2019-03-30 02:26:15 +07:00
hathach 28610198df clean up 2019-03-29 17:42:10 +07:00
hathach 1c2beba85c working on suspend and resume
change dcd_init signature
2019-03-29 16:23:00 +07:00
hathach 29e075b8b9
clean up bsp, adde board_millis() 2019-03-23 22:31:07 +07:00
hathach d866999bf0
remove idle rate enforcement, should be done in application level 2019-03-23 21:46:51 +07:00
hathach df1aac44b8
add board_noos_millis() for blinky 2019-03-23 16:51:07 +07:00
hathach f8faf05e9e minor clean up 2019-03-21 19:01:04 +07:00
hathach c211ee19dd migrate license from BSD 3 clause to MIT 2019-03-20 16:11:42 +07:00
hathach edf885ca46 white spaces 2018-12-13 15:25:43 +07:00
hathach 1c49c479ca seperate tusb_task() to tud_task() and tuh_task()
tusb_task() still exists for backward compatible
2018-12-13 14:51:37 +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 bb544a0951
minor update 2018-12-12 14:43:45 +07:00
hathach cea9abd4d0
clean up lpc13 2018-12-03 19:02:35 +07:00
hathach 064eec5dd8
clean up warnings 2018-11-26 12:29:55 +07:00
Scott Shawcroft bf70f89240
Introduce a Makefile for the OS_NONE device example
It currently supports the SAMD21 and SAMD51 only. More will be
added later.
2018-11-25 11:46:06 -08:00
hathach 42b97d3c25
rename example project 2018-11-22 11:18:10 +07:00