Commit Graph

708 Commits

Author SHA1 Message Date
8d0fa158d7 Change one more TU_ASSERT to TU_VERIFY in usbd. 2019-11-04 11:33:14 -05:00
a94fe05ecb usbd: Change TU_ASSERT to TU_VERIFY as the assertion can be hit when bad data is sent from host. 2019-11-04 08:59:29 -05:00
c98acd3873 Use control transfer function to send control data (in usbtmc) 2019-11-04 08:54:18 -05:00
44ad683bd6 fix tud_control_status() didn't update request 2019-11-04 11:21:57 +07:00
62f8c14fae add a bit of log1 for debugging 2019-11-03 14:08:38 +07:00
7bf01e218d make control buf static 2019-11-03 11:43:07 +07:00
164d0db825 Merge branch 'ZLP_Request2' into pigrew-ZLP_Request2 2019-11-01 10:16:59 +07:00
981e64d8a1 implement pigrew review 2019-11-01 10:07:56 +07:00
d35f86993f Merge remote-tracking branch 'origin/master' into ZLP_Request2 2019-10-31 12:23:54 -04:00
f58726887a update doc, hid set report 2019-10-31 21:28:46 +07:00
cacbb80a90 zlp should work with control in, tested with Unity framework 2019-10-31 21:14:06 +07:00
6de9eb4b1a add more tests, fix an issue with tud_descriptor_configuration_cb() return NULL 2019-10-31 13:06:57 +07:00
d9ba4d90a8 move function around, more rename 2019-10-31 12:26:36 +07:00
0029b58417 rename 2019-10-31 12:18:41 +07:00
e6857d8ee0 clean up 2019-10-31 11:25:41 +07:00
8a57997c0f Merge branch 'master' into pigrew-ZLP_Request2 2019-10-31 09:57:52 +07:00
4d329d46cc Merge pull request #206 from hathach/develop
Added a couple of unit testing with Ceedling/Cmock/Unity
2019-10-31 08:29:11 +07:00
a0002cc709 rename usbd_init() to tud_init() 2019-10-30 23:26:34 +07:00
16665672a4 initally adding test_usbd.c 2019-10-30 12:24:07 +07:00
880ac1e398 move dcd event helper to be dcd.h as inline function 2019-10-30 11:35:25 +07:00
a29eb87c38 Merge branch 'ZLP_Request2' of https://github.com/pigrew/tinyusb into pigrew-ZLP_Request2 2019-10-29 18:19:10 +07:00
78523301bb Merge pull request #202 from smunaut/dfu-rt
Add support for DFU Runtime class for devices
2019-10-28 22:56:14 +07:00
ec4ecfa817 Add support for DFU Runtime class for devices
This is really just a few descriptors and then answering to the
request from the host to reboot into DFU mode.

That latter part is delegated to the app since this is platform
specific.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-10-28 16:11:08 +01:00
6ab0663c1a adding more log 2019-10-24 12:00:06 +07:00
661515a807 adding debug log function 2019-10-23 21:18:46 +07:00
90b6b5d137 clean up tusb_verify 2019-10-18 16:38:02 +07:00
195d0f5a14 adding log support with uart
started with pca10056
2019-10-12 00:02:51 +07:00
c42edc080c Merge branch 'master' into develop 2019-10-09 11:03:55 +07:00
0cea82568c Disable/enable only USB interrupt 2019-10-08 09:58:56 +02:00
9923604221 Send SUSPEND and RESUME signals 2019-10-07 14:04:48 +02:00
b3872febe2 Disable/enable interrupt 2019-10-07 14:03:02 +02:00
0747c4b61b Add Spresense board 2019-10-04 13:19:34 +02:00
281cd858b0 adding lpc1549, but couldnt recieve setup packet, though setup received interrupt is triggered 2019-10-04 15:56:45 +07:00
13d37e4a36 lpcxpresso1549 board test running 2019-10-03 15:23:01 +07:00
7fd68efe7b couldn't get 32L4 running with crystal less mode 2019-10-03 13:37:10 +07:00
cef388b7bd Merge branch 'master' into ZLP_Request2 2019-10-02 01:15:47 -04:00
820a3705f5 Merge branch 'master' into develop 2019-10-02 12:13:47 +07:00
0673be7724 ported stm32f1, tested with f103 blue pill 2019-10-02 12:01:34 +07:00
1e193212d7 Add testcase for EP0 stall recovery to USBTMC test script. 2019-10-02 00:31:47 -04:00
e5f38e3e86 Remove references to EP kind. 2019-10-02 00:11:16 -04:00
838cfe02c1 Merge remote-tracking branch 'origin/master' into ST_FSDEV_EP0 2019-10-02 00:09:07 -04:00
204791b3e7 2nd attempt to fix #161 2019-10-01 22:19:04 +07:00
12609f818b fix #161 added volatile for ep_busy_map/ep_stall_map 2019-10-01 14:43:34 +07:00
d27291f288 Merge branch 'master' into develop 2019-09-30 14:45:34 +07:00
4ea2a4ed60 Github's web interface changed line endings without asking me. Oops. 2019-09-29 10:45:13 -04:00
0078be9c24 Merge branch 'master' into ZLP_Request2 2019-09-29 09:52:53 -04:00
4ccdc5522d Fix typo of CFG_TUD_ENDOINT0_SIZE. 2019-09-27 12:41:46 -04:00
91fa24d99c Merge branch 'master' into ZLP_Request2 2019-09-27 00:37:21 -04:00
6183dbd0ce add -Wextra for more warnings to example
non-stack warning (probably mcu driver) should be suppressed in the
board.mk
2019-09-27 00:15:43 +07:00
f19082f02d Reset TX and RX endpoints to NAK when receiving setup packet. 2019-09-25 20:55:15 -04:00