Commit Graph

3170 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
hathach
3362a4b09d change token name 2020-01-04 14:24:21 +07:00
hathach
6f03617ff5 curl 2020-01-04 00:12:03 +07:00
hathach
4282a0d96a curl again 2020-01-03 17:37:10 +07:00
hathach
2cbd0cdf50 change to token 2020-01-03 17:19:23 +07:00
hathach
019d1b09c5 try to trigger mynewt example 2020-01-03 17:11:22 +07: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
Peter Lawrence
ff0e7d2bed implement multiple interfaces support 2019-12-28 14:27:32 -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
hathach
1bcf121785 ci use github ::add-path:: 2019-12-28 16:11:10 +07:00
hathach
bfdc9a94f9 test ci 2019-12-28 15:55:18 +07:00
hathach
4406e378ce ci typo 2019-12-28 15:52:15 +07:00
hathach
f5cc48017a more ci 2019-12-28 15:49:38 +07:00
hathach
274488ec65 more ci test 2019-12-28 15:45:44 +07:00
hathach
ccbae7538d ci test 2019-12-28 15:41:44 +07:00
hathach
dc8a68c7c0 ci 2019-12-28 15:36:25 +07:00
hathach
1b8626025e ci 2019-12-28 15:35:12 +07:00
hathach
ac78f42032 ci 2019-12-28 15:05:33 +07:00
hathach
947e7b803a more ci 2019-12-28 15:03:25 +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