Commit Graph

2961 Commits

Author SHA1 Message Date
hathach e6857d8ee0
clean up 2019-10-31 11:25:41 +07:00
hathach 8a57997c0f Merge branch 'master' into pigrew-ZLP_Request2 2019-10-31 09:57:52 +07:00
hathach 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
hathach e69d2a4a83
move test_usbd around 2019-10-30 23:41:42 +07:00
hathach 0653e1d1f5
fix 2nd test when tud_descriptor_device_cb() return NULL 2019-10-30 23:34:09 +07:00
hathach a0002cc709
rename usbd_init() to tud_init() 2019-10-30 23:26:34 +07:00
hathach 5808993402 add 2nd test, but failed due to lack of tusb_teardown() 2019-10-30 23:22:07 +07:00
hathach 8f2e70756b added firs usbd test with get device descriptor 2019-10-30 16:19:47 +07:00
hathach 16665672a4 initally adding test_usbd.c 2019-10-30 12:24:07 +07:00
hathach 880ac1e398 move dcd event helper to be dcd.h as inline function 2019-10-30 11:35:25 +07:00
William D. Jones 5d585c03bd dcd_msp430x5xx: Improve comments regarding SETUP packet handling. 2019-10-29 14:08:39 -04:00
William D. Jones 3f0f7cfd07 dcd_msp430x5xx: Clarify hardware STALL behavior and current vs ideal
behavior of driver in comments.
2019-10-29 12:52:56 -04:00
William D. Jones ffeb61a710 msp_exp430f5529lp: Use ti submodule for includes and linker files. 2019-10-29 11:43:26 -04:00
William D. Jones 66faa96f16 tusb_option.h: Assign msp430 ID range 500+ to avoid conflict with Sony. 2019-10-29 11:33:34 -04:00
hathach a29eb87c38 Merge branch 'ZLP_Request2' of https://github.com/pigrew/tinyusb into pigrew-ZLP_Request2 2019-10-29 18:19:10 +07:00
hathach 6e204ca567 add --allow-fw-update for convenience 2019-10-29 17:36:53 +07:00
hathach f6a65720e5 should fix #184
only response up to EP0 size with get device descriptor if not
addressed.
2019-10-29 16:25:32 +07:00
hathach 71a4076e73 correct read()/write() retarget for msp430, fix msp430 button state 2019-10-29 16:24:09 +07:00
hathach de333a6f18 clean up warning, msp430 gcc 8.3 fixed the library lto issue 2019-10-29 16:21:31 +07:00
hathach 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
Sylvain Munaut 03f1a6d926 Add example of usage for the DFU Runtime support
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-10-28 16:11:08 +01:00
Sylvain Munaut 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
hathach 4e8c57171c Merge branch 'master' into cr1901-msp430f5529 2019-10-25 21:20:05 +07:00
hathach 5d975d9313
Merge pull request #203 from hathach/develop
add log support using uart with CFG_TUSB_DEBUG >= 2, close #200
2019-10-24 13:17:01 +07:00
hathach 6f952a8e84 fix missing board uart read/write() 2019-10-24 12:20:06 +07:00
hathach 33e3bf001c update boards doc 2019-10-24 12:07:37 +07:00
hathach 6ab0663c1a adding more log 2019-10-24 12:00:06 +07:00
hathach 661515a807 adding debug log function 2019-10-23 21:18:46 +07:00
hathach 78bf82291e add uart support for stm32f4nucleo board (via stlink cdc) 2019-10-19 18:19:59 +07:00
hathach 2f3f23fd94 change to use nrfx uarte 2019-10-18 18:30:09 +07:00
hathach 558b4dbde3 change DEBUG optimization option from O0 to Og
add uart write to board test example
2019-10-18 17:50:29 +07:00
hathach 90b6b5d137 clean up tusb_verify 2019-10-18 16:38:02 +07:00
hathach 195d0f5a14 adding log support with uart
started with pca10056
2019-10-12 00:02:51 +07:00
hathach d9ef34276b update doc 2019-10-11 11:26:19 +07:00
William D. Jones d0146be00b dcd_msp430x5xx: Fix typo in copy-paste in transmit_packet. 2019-10-10 04:19:48 -04:00
William D. Jones c8e899fef0 dcd_msp430x5xx: Improve SETUP packet and EP0 NAK interactions, per
42.3.1.3 in Reference Manual; fix is incomplete but works.
2019-10-10 04:02:35 -04:00
hathach e413c9efa3
Merge pull request #199 from hathach/develop
ti_driver as submodule
2019-10-10 11:31:29 +07:00
hathach c42edc080c Merge branch 'master' into develop 2019-10-09 11:03:55 +07:00
hathach b3a5bb3247
Update boards.md 2019-10-08 15:52:00 +07:00
hathach 0b6c031948
Update README.md 2019-10-08 15:49:37 +07:00
hathach a861a20519
Merge pull request #195 from kamtom480/spresense
Add Spresense board
2019-10-08 15:40:34 +07:00
Kamil Tomaszewski 0cea82568c Disable/enable only USB interrupt 2019-10-08 09:58:56 +02:00
Kamil Tomaszewski 9923604221 Send SUSPEND and RESUME signals 2019-10-07 14:04:48 +02:00
Kamil Tomaszewski b3872febe2 Disable/enable interrupt 2019-10-07 14:03:02 +02:00
hathach f86f0e54a9 added ti_driver submodule 2019-10-07 15:06:36 +07:00
hathach ada73a57c6 add ti_driver as submodule 2019-10-07 14:27:02 +07:00
William D. Jones 97af9e3332 msp_exp430f5529lp: Make board_millis atomic. 2019-10-06 20:44:06 -04:00
William D. Jones 16ff152129 msp_exp430f5529lp: Set up UART functionality. 2019-10-05 09:37:48 -04:00
Kamil Tomaszewski 0747c4b61b Add Spresense board 2019-10-04 13:19:34 +02:00
William D. Jones e4a88bc826 examples: Fix #ifndef guard for CFG_TUD_ENDPOINT0_SIZE. 2019-10-04 05:36:51 -04:00