Commit Graph

2942 Commits

Author SHA1 Message Date
hathach 62f8c14fae add a bit of log1 for debugging 2019-11-03 14:08:38 +07:00
hathach 5ca75eb84c seperate DEBUG from LOG 2019-11-03 13:18:02 +07:00
hathach 585aebeb12 add uart support for stm32f072disco 2019-11-03 12:54:05 +07:00
hathach 2d98dae13e fix travis build issue 2019-11-03 11:45:41 +07:00
hathach 7bf01e218d make control buf static 2019-11-03 11:43:07 +07:00
William D. Jones 130d7ea530
Merge pull request #1 from hathach/cr1901-msp430f5529
PR to PR for msp430 port
2019-11-02 14:46:57 -04:00
hathach 1b51b78eaf hack the request length for the first get device descriptor if EP0 size =8 or 16
to prevent usbd control send out ZLP
2019-11-03 00:17:17 +07:00
hathach a0cffdc843 Merge branch 'pigrew-ZLP_Request2' into cr1901-msp430f5529 2019-11-02 23:29:35 +07:00
hathach 51a834f0ae fix travis due to msp430 gcc link changes 2019-11-02 23:04:19 +07:00
hathach b6ee180b66
add missing ceedling latest version files 2019-11-01 19:26:33 +07:00
hathach 79fbc0b23c
wait for scsi status complete before queueing for next scsi command
fix #207
2019-11-01 18:43:18 +07:00
hathach 838173efc3
remove TEST_FAIL() from TU_ASSERT, since it prevents we testing how stack response with failed assert 2019-11-01 18:27:15 +07:00
hathach c7d7ac42d8
added first test for msc device 2019-11-01 18:11:14 +07:00
hathach d0d87d98f6
add assert to prevent div by zero 2019-11-01 18:03:43 +07:00
hathach 83cbe32097
enable retrun_thru_ptr 2019-11-01 17:53:37 +07:00
hathach 5b68cc91ad
adding TEST_FAIL() for TU_ASSERT() 2019-11-01 17:50:40 +07:00
hathach ab84731f2a
update test project yml 2019-11-01 17:49:46 +07:00
hathach b25faa97c2
update ceedling to 0.29.0 2019-11-01 17:48:59 +07:00
hathach 774a9f63ab
enable cmock ignore_arg 2019-11-01 15:25:54 +07:00
hathach e4da80a26c
adding tests for msc device 2019-11-01 13:42:41 +07:00
hathach 164d0db825
Merge branch 'ZLP_Request2' into pigrew-ZLP_Request2 2019-11-01 10:16:59 +07:00
hathach ac0203b42f
update doc 2019-11-01 10:13:19 +07:00
hathach 981e64d8a1
implement pigrew review 2019-11-01 10:07:56 +07:00
Nathan Conrad d35f86993f Merge remote-tracking branch 'origin/master' into ZLP_Request2 2019-10-31 12:23:54 -04:00
hathach bd8b4e48dc
rename zlp test 2019-10-31 21:55:01 +07:00
hathach f58726887a
update doc, hid set report 2019-10-31 21:28:46 +07:00
hathach cacbb80a90
zlp should work with control in, tested with Unity framework 2019-10-31 21:14:06 +07:00
hathach 6067adcd08
adeded tests for zlp 2019-10-31 16:42:51 +07:00
hathach 6de9eb4b1a
add more tests, fix an issue with tud_descriptor_configuration_cb() return NULL 2019-10-31 13:06:57 +07:00
hathach d9ba4d90a8
move function around, more rename 2019-10-31 12:26:36 +07:00
hathach 0029b58417
rename 2019-10-31 12:18:41 +07:00
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