Commit Graph

2699 Commits

Author SHA1 Message Date
Ha Thach 130250a2be
Merge branch 'master' into nuc121 2020-01-07 16:26:58 +07:00
Ha Thach d6a8d42bd6
Merge pull request #254 from majbthrd/multi-setconfig
gracefully handle multiple SET_CONFIGURATION requests
2020-01-05 17:48:55 +07:00
Peter Lawrence 5c5f876461 dcd_nuc121: allow user ZLP transfers to get a callback 2020-01-04 13:36:26 -06:00
Peter Lawrence f4371e79b1 add Nuvoton NUC121/NUC125/NUC126 2020-01-04 10:31:55 -06:00
Ha Thach 97c216bc04
Merge pull request #257 from gsnxp/rt1010fix
fixed build issue with i.MXRT1010-EVK, corrected typo in examples/readme
2020-01-01 13:35:36 +07:00
Greg Steiert e06f4a3ffe fixed build issue with i.MXRT1010-EVK, corrected typo in examples/readme 2019-12-30 09:11:52 -08:00
majbthrd 6b3eb5f173 fix missing parentheses in TU_MIN and TU_MAX macros (#256) 2019-12-30 23:12:18 +07:00
Jeremy Herbert db24b2f372 Let device respond to endpoint requests on EP0 (#251)
Since endpoint 0 is used for control requests, it doesn't have a class driver attached to it. As such, the corresponding `_usbd_dev.ep2drv` entry points to driver `0xFF`, which is invalid and this makes the `TU_ASSERT(drvid < USBD_CLASS_DRIVER_COUNT);` line fail, and eventually causes an endpoint stall. So as-is the stack cannot respond to any endpoint requests on endpoint 0.

However, standard requests on endpoint 0 do not need a class driver to produce a valid response. This commit changes the order of execution so that the assert is only checked if the endpoint is not 0.
2019-12-30 10:58:06 +07:00
Peter Lawrence e7bf66b29e gracefully handle multiple SET_CONFIGURATION requests 2019-12-28 16:49:52 -06:00
Ha Thach 8e04eafb8a
more ci (#253)
* more ci

* ci

* ci

* ci

* ci test

* more ci test

* more ci

* ci typo

* test ci

* ci use github ::add-path::
2019-12-28 16:24:32 +07:00
Ha Thach 01fb25ab95
Merge pull request #252 from hathach/develop
use github actions for build badge
2019-12-27 21:53:48 +07:00
hathach 70abfe7f45
use github actions for build badge 2019-12-27 21:39:44 +07:00
Ha Thach eb6a965cf5
Merge pull request #250 from hathach/github-action
migrate to github action for CI/CD
2019-12-27 21:23:19 +07:00
Ha Thach 2b6b856d7c
wrap up actions 2019-12-27 21:12:53 +07:00
Ha Thach e4a0af5e5e
Update build.yml 2019-12-27 21:08:16 +07:00
Ha Thach e14698028c
Update build.yml 2019-12-27 21:03:40 +07:00
Ha Thach 72af007a19
Update build.yml 2019-12-27 20:58:37 +07:00
Ha Thach e74dd33945
Update build.yml 2019-12-27 20:53:55 +07:00
Ha Thach 6e4df81998
Update build.yml 2019-12-27 20:49:54 +07:00
Ha Thach 424063afd1
Update build.yml 2019-12-27 20:41:51 +07:00
Ha Thach ce5ceea3c4
Update build.yml 2019-12-27 20:38:39 +07:00
Ha Thach 7590266ad7
Update build.yml 2019-12-27 20:33:09 +07:00
Ha Thach a4be3a3227
Update build.yml 2019-12-27 20:29:25 +07:00
Ha Thach 81592feca5
Update build.yml 2019-12-27 20:11:43 +07:00
Ha Thach 22ec72cd4b
Update build.yml 2019-12-27 20:09:18 +07:00
Ha Thach ee3e2bcc91
Update build.yml 2019-12-27 20:07:22 +07:00
Ha Thach 56f717bca1
Update build.yml 2019-12-27 18:01:14 +07:00
Ha Thach a005a74e3d
Update build.yml 2019-12-27 17:24:37 +07:00
Ha Thach e5a5d146e1
Update build.yml 2019-12-27 17:05:57 +07:00
Ha Thach 73906cb495
Update build.yml 2019-12-27 16:56:46 +07:00
Ha Thach 8e2cc97319
Update build.yml 2019-12-27 16:55:13 +07:00
Ha Thach ae6e7fa928
Update build.yml 2019-12-27 16:39:23 +07:00
Ha Thach 9ed7ca39ea
try action 2019-12-27 16:34:25 +07:00
Ha Thach dda4c9a94b
Merge pull request #248 from hathach/develop
fix #247
2019-12-27 09:54:33 +07:00
hathach 89f3ad59da
fix #247 2019-12-27 09:42:57 +07:00
Ha Thach 76b2c2a001
Merge pull request #246 from hathach/samd-improve
Samd improve
2019-12-26 22:48:06 +07:00
hathach 0da45c2e78
clean up 2019-12-26 22:31:29 +07:00
hathach b5684c5c10
merge dcd_samd51 & dcd_samd21 into dcd_samd 2019-12-26 21:46:59 +07:00
hathach 49b316143a
improve samd, fix missing setup packet occasionally 2019-12-26 17:11:24 +07:00
Ha Thach b8cef16b58
Merge pull request #245 from hathach/develop
fix samd51 setup packet handling
2019-12-25 23:59:07 +07:00
hathach 5690e7b304
fix samd51 setup packet handling
issue occur due to race condition
https://github.com/adafruit/Adafruit_TinyUSB_Arduino/issues/37
2019-12-25 23:47:47 +07:00
Ha Thach 8c674d9c11
Merge pull request #244 from hathach/develop
invoke scsi complete callback before queue for csw status
2019-12-24 21:36:42 +07:00
hathach 605129eb66 invoke scsi complete callback before queue for csw status
there is racing issue with samd + qspi flash testing with arduino
otherwise.
2019-12-24 21:24:43 +07:00
hathach 2caa1ac078 Merge branch 'master' into develop 2019-12-24 21:13:05 +07:00
Ha Thach 21cc8237e1
Merge pull request #243 from hathach/port-samg55
merge WIP branch for samd dcd fix
2019-12-24 21:11:40 +07:00
hathach a1c94067f7 add driver 99-tinyusb.rules for ubuntu, rename window usbser inf 2019-12-23 19:48:52 +07:00
hathach bbada1d3e6 adding lookup table for debugging
add msc scsi command list
2019-12-23 18:54:06 +07:00
hathach 94e70f9b01 Merge branch 'master' into port-samg55 2019-12-21 23:53:48 +07:00
hathach 421221baa5
making more progress, but failed with WRITE10
incorrect queue 448 bytes instead of 512
2019-12-21 23:51:57 +07:00
hathach 050fa2fd39
able to response to scsi inquiry, but failed to response to test unit ready 2019-12-21 19:33:41 +07:00