Commit Graph

3724 Commits

Author SHA1 Message Date
hathach 7860469661 comment out and add note for tud_cdc_connected() in cdc_msc examples 2020-11-24 00:06:59 +07:00
hathach 4b4f880785 add tud_ready() check in tud_cdc_n_write_flush()
other clean up
2020-11-23 23:40:13 +07:00
Ha Thach 308028e17c
Merge branch 'master' into cdc_without_dtr 2020-11-23 23:25:55 +07:00
Ha Thach b870d932e5
Merge pull request #560 from hathach/fix-559
have tusb_init() return true instead of TUSB_ERROR_NONE
2020-11-23 13:31:21 +07:00
hathach 14138f105e have tusb_init() return true instead of TUSB_ERROR_NONE 2020-11-23 13:12:51 +07:00
Ha Thach 49f09f55d0
Merge pull request #557 from hathach/rework-class-driver-control
Rework class driver control transfer
2020-11-23 13:06:20 +07:00
hathach e4144d8b47 remove control_complete 2020-11-20 17:21:01 +07:00
hathach cebb375eac migrate audio device to new control xfer cb 2020-11-20 17:20:05 +07:00
hathach c4bc8b2561 migrate net device to new control xfer cb 2020-11-20 16:59:33 +07:00
hathach d6461abe78 clean up 2020-11-20 16:30:03 +07:00
hathach 9f853685ae migrate bth device to new control xfer cb 2020-11-20 16:13:58 +07:00
hathach 61ad7bef71 migrate vendor device to new control xfer cb 2020-11-20 15:50:11 +07:00
hathach 3cc1979adb migrate dfu runtime device to new control xfer cb 2020-11-20 15:42:32 +07:00
hathach 7df979673d migrate usbtmc device to new control xfer cb 2020-11-20 15:38:56 +07:00
hathach 8813f9d3b8 clean up 2020-11-20 15:33:05 +07:00
hathach e2abb089f4 migrate midi device to new control xfer cb 2020-11-20 15:30:36 +07:00
hathach dc9a309839 migrate hid device to new control xfer cb 2020-11-19 22:00:49 +07:00
hathach dd07fecc5f migrate cdc_device to new control_xfer_cb 2020-11-19 21:26:06 +07:00
hathach 3c31d08051 merge class driver control_request & control_complete to control_xfer_cb()
migrated msc_device
2020-11-19 21:01:33 +07:00
Jan Dümpelmann 339b1a7723 Remove dcd_edpt_xfer_abort from DCD header 2020-11-18 11:12:06 +01:00
Jan Dümpelmann 6a72cc5d48 Changes to CDC example code:
- auto flush welcome message at connection event
- provide information to the user if the terminal did not set DTR
2020-11-18 10:16:32 +01:00
Jan Dümpelmann e7069da7eb Reset CDC examples to original state 2020-11-18 09:47:39 +01:00
Jan Dümpelmann 54e29e9ff4 Implementation of the discussed changes
- remove usbd_edpt_xfer_abort
- rename tu_fifo_change_mode to tu_fifo_set_mode
- remove CFG_TUD_CDC_CLEAR_AT_CONNECTION definition
- remove auto fifo clear at connection event
- add tud_cdc_n_write_clear function
2020-11-18 09:42:50 +01:00
Ha Thach 589dfdb0e5
Merge pull request #554 from hathach/initial-same7x
Initial same7x
2020-11-09 11:22:29 +07:00
hathach 496c7c701a fix ci 2020-11-09 01:23:19 +07:00
hathach 7ab3da1e03 same70 xplained uart via edbg work with board_test 2020-11-09 01:01:05 +07:00
hathach 89b92b54a7 same70 xplained led and button works wiht board_test example 2020-11-09 00:13:56 +07:00
hathach 5456afa8ee update microchipo driver submodule 2020-11-08 18:09:53 +07:00
hathach 1b1e205a30 clean up 2020-11-08 12:40:20 +07:00
Ha Thach ef99d37c97
Merge pull request #551 from dobairoland/master
Make the disk disappear on Windows after it was ejected
2020-11-08 12:37:53 +07:00
hathach 23b6b66f4d release 0.7.0 with changelog and doc update 2020-11-07 23:43:39 +07:00
Ha Thach a708ab6254
Merge pull request #553 from hathach/host-async-control
Host async control
2020-11-07 10:52:14 +07:00
hathach 2907b1e438 clean up 2020-11-07 10:37:33 +07:00
Roland Dobai 4c99c5ff5c Make the disk disappear on Windows after it was ejected
Make the disk disappear on Windows after it was ejected. The device
need to be re-inserted or reseted to re-appear again.

This doesn't affect Linux where the device can be mounted and unmounted
repeatedly.

Closes https://github.com/hathach/tinyusb/issues/549
2020-11-05 15:35:26 +01:00
Jan Dümpelmann af9f0f1cd6 Merge remote-tracking branch 'hathach/master' into cdc_without_dtr 2020-11-04 17:11:01 +01:00
Ha Thach 075334af80
Merge pull request #547 from hathach/cdc-auto-write-flush
enable cdc auto flush on write()
2020-11-03 11:42:17 +07:00
Ha Thach b05827b502
Merge pull request #546 from hathach/use-same51-from-asf4
use same51 driver to adafruit asf4 submodule
2020-11-03 11:38:14 +07:00
Ha Thach 720909e7f8
Merge pull request #545 from j4cbo/master
Rename CDC_COMM_SUBCLASS_ETHERNET_NETWORKING_CONTROL_MODEL
2020-11-02 22:07:05 +07:00
hathach 6fcd540cb6 enable cdc auto flush on write()
if there is enough data in the fifo
2020-11-02 16:50:46 +07:00
hathach 958a4e1b5d use same51 driver to adafruit asf4 submodule 2020-11-02 15:44:12 +07:00
hathach 14461beffa remove legacy blocking usbh_control_xfer()
reworking cdc host driver
2020-11-02 09:19:34 +07:00
hathach 2efdc2fb64 get hub work more reliably 2020-11-02 08:46:24 +07:00
hathach 6eafdfab93 update usbh with hub to use async control transfer
work ok with msc + hub, but definitely need more testing.
2020-11-02 00:54:04 +07:00
hathach e029d6d726 added host set_config driver
to resolve control conflict with SET_CONFIGURE for class driver
- open will be called to open endpoint only
- set_config called later to initialized class driver
2020-11-01 17:46:46 +07:00
hathach 67ac40b98d house keeping: make tu_print_mem format easier to compare with hex2dump 2020-11-01 13:37:56 +07:00
Jacob Potter 3ea8138750 Rename CDC_COMM_SUBCLASS_ETHERNET_NETWORKING_CONTROL_MODEL
This was a confusing name; "Ethernet control model" (CDC ECM)
and "network control model" (CDC NCM) are two separate USB subclasses.
2020-10-31 10:57:53 -06:00
Ha Thach 8f0f2d1863
Merge pull request #544 from hathach/use-stm-driver-repo
Use stm driver repo
2020-10-30 14:39:30 +07:00
hathach 1e7af854c2 remove st_driver submodule 2020-10-30 14:21:29 +07:00
hathach a6efe475e7 use cmsis 5 for all stm32 2020-10-30 14:14:28 +07:00
hathach 4f3ac8c492 add CMSIS_5 submodule 2020-10-30 14:08:54 +07:00