NConrad
|
239b5d5279
|
USBTMC: Manually stall and unstall EP when clear(ENDPOINT_HALT) is received.
|
2022-06-24 23:06:32 -04:00 |
|
NConrad
|
3d4d37375b
|
USBTMC: Update test python code to use the new pyvisa namespace, and other misc fixes
|
2022-06-24 21:24:31 -04:00 |
|
NConrad
|
4a9fe813a8
|
Update USBTMC descriptors to support high speed, set USB version to 2.0.0 for all cases.
|
2022-06-21 22:31:09 -04:00 |
|
NConrad
|
e9c29e6a2d
|
Update USBTMC driver to support dynamic packet sizes (based on descriptor).
|
2022-06-21 21:27:52 -04:00 |
|
Nathan Conrad
|
7998f11258
|
USBTMC: remove reference to visa DLL (which only was for windows, and auto-select instead.
|
2021-04-22 21:47:51 -04:00 |
|
Nathan Conrad
|
0ec69de77c
|
sof is optional, revert other changes but remove unneeded check.
|
2020-04-21 10:06:17 -04:00 |
|
Nathan Conrad
|
d1656c0b8d
|
tu_verify for getting descriptors
|
2020-04-20 16:09:15 -04:00 |
|
Nathan Conrad
|
2994d100cd
|
Remove transfer queue filtering. May need to be revisited later.
|
2020-04-16 09:59:40 -04:00 |
|
Nathan Conrad
|
be9326dc33
|
Set Net example to use IAD device class
|
2020-04-15 16:07:01 -04:00 |
|
Nathan Conrad
|
b0270f499b
|
stm32fsdev: dynamic allocation of PMA.
|
2020-04-15 11:53:30 -04:00 |
|
Nathan Conrad
|
16f65890eb
|
Merge branch 'master' into edpt_close
|
2020-04-14 10:22:03 -04:00 |
|
Nathan Conrad
|
bbc59f1ceb
|
stm32fsdev: add static assert for PMA size bigger than EP0 size.
|
2020-04-13 20:50:17 -04:00 |
|
Nathan Conrad
|
de208b31cf
|
edpt_close: Remove item from queue instead of modifying it.
|
2020-04-13 11:05:34 -04:00 |
|
Nathan Conrad
|
f8e7487355
|
edpt_close: Updated based on feedback.
|
2020-04-13 09:51:46 -04:00 |
|
Nathan Conrad
|
0eeaccaf46
|
Skeleton, and initial stm32fsdev implementation (that leaks memory)
|
2020-04-12 21:27:27 -04:00 |
|
Nathan Conrad
|
5bd9d14fc1
|
stm32fsdev: set dcd_connect API definitions to strong, Modify documentation.
|
2020-04-10 10:26:41 -04:00 |
|
Nathan Conrad
|
715c4dbbf8
|
stm32fsdev: Implement dcd_connect.
|
2020-04-09 17:03:12 -04:00 |
|
Nathan Conrad
|
06d7fdc228
|
Use #define for OSAL_TIMEOUT_WAIT_FOREVER.
|
2020-04-06 12:40:58 -04:00 |
|
Nathan Conrad
|
fa2ba76690
|
Don't cache xPacks.
|
2020-04-05 11:43:47 -04:00 |
|
Nathan Conrad
|
5c5807abf7
|
Cache MSP430 toolchain and NPM modules. Use git action for submodules.
|
2020-04-03 20:41:15 -04:00 |
|
Nathan Conrad
|
84a9715958
|
tu_verify: Change some define functions use do-while statement.
|
2020-04-02 23:22:48 -04:00 |
|
Nathan Conrad
|
55fd9fe392
|
Typo of usbtmc.
|
2020-04-02 23:16:28 -04:00 |
|
Nathan Conrad
|
32c982b762
|
Fix USBTMC descriptors when INT EP is disabled.
|
2020-04-02 23:08:21 -04:00 |
|
Nathan Conrad
|
0d5f3c7f04
|
Set OSAL_TIMEOUT_WAIT_FOREVER to be a const, to avoid a pedantic gcc warning about signedness.
|
2020-04-02 23:07:31 -04:00 |
|
Nathan Conrad
|
3926b28faa
|
Update UARTs for stm32f4xx discovery boards. Other minor cleanups.
|
2020-03-28 12:05:30 -04:00 |
|
Nathan Conrad
|
4191363c55
|
Update F4 BSP with new HAL config
|
2020-03-28 10:58:36 -04:00 |
|
Nathan Conrad
|
07c1ce76b8
|
Update F3 BSP for new HAL
|
2020-03-28 10:58:36 -04:00 |
|
Nathan Conrad
|
62a68034d9
|
Update F0 BSP for new HAL
|
2020-03-28 10:58:36 -04:00 |
|
Nathan Conrad
|
6606cf2896
|
USBD: Use tud_control_xfer only for data
|
2020-03-27 15:54:37 -04:00 |
|
Nathan Conrad
|
705d43cda7
|
Modify include of HAL, and remove CMSIS clock configuration code, and implement UART for STM32F407Disco
|
2020-03-26 10:10:06 -04:00 |
|
Nathan Conrad
|
eaf767b0db
|
STM32FSDEV: Rewrite transfer ISR
|
2020-03-22 14:26:48 -04:00 |
|
Nathan Conrad
|
7f6316dbe1
|
Use CRLF on UART.
|
2020-03-14 14:26:14 -04:00 |
|
Nathan Conrad
|
25c1bea782
|
Normalize line endings
|
2020-01-15 14:47:43 -05:00 |
|
Nathan Conrad
|
5b9b36be14
|
Add gitattributes
|
2020-01-15 14:46:12 -05:00 |
|
Nathan Conrad
|
8d0fa158d7
|
Change one more TU_ASSERT to TU_VERIFY in usbd.
|
2019-11-04 11:33:14 -05:00 |
|
Nathan Conrad
|
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 |
|
Nathan Conrad
|
c98acd3873
|
Use control transfer function to send control data (in usbtmc)
|
2019-11-04 08:54:18 -05:00 |
|
Nathan Conrad
|
0d856b7116
|
Merge pull request #3 from hathach/pigrew-ZLP_Request2
fix tud_control_status() didn't update request
|
2019-11-04 08:09:24 -05:00 |
|
Nathan Conrad
|
68a53e05fc
|
Merge pull request #2 from hathach/pigrew-ZLP_Request2
zlp request2. PR for PR (has issues with STM32F0 FSDEV)
|
2019-11-03 17:50:41 -05:00 |
|
Nathan Conrad
|
cebc066813
|
Add UART HAL source file to stm32f070 makefile.
|
2019-11-03 15:25:55 -05:00 |
|
Nathan Conrad
|
5839159742
|
Enable UART debugging on F070.
|
2019-11-03 09:54:02 -05:00 |
|
Nathan Conrad
|
d35f86993f
|
Merge remote-tracking branch 'origin/master' into ZLP_Request2
|
2019-10-31 12:23:54 -04:00 |
|
Nathan Conrad
|
cef388b7bd
|
Merge branch 'master' into ZLP_Request2
|
2019-10-02 01:15:47 -04:00 |
|
Nathan Conrad
|
1e193212d7
|
Add testcase for EP0 stall recovery to USBTMC test script.
|
2019-10-02 00:31:47 -04:00 |
|
Nathan Conrad
|
e5f38e3e86
|
Remove references to EP kind.
|
2019-10-02 00:11:16 -04:00 |
|
Nathan Conrad
|
838cfe02c1
|
Merge remote-tracking branch 'origin/master' into ST_FSDEV_EP0
|
2019-10-02 00:09:07 -04:00 |
|
Nathan Conrad
|
4ea2a4ed60
|
Github's web interface changed line endings without asking me. Oops.
|
2019-09-29 10:45:13 -04:00 |
|
Nathan Conrad
|
0078be9c24
|
Merge branch 'master' into ZLP_Request2
|
2019-09-29 09:52:53 -04:00 |
|
Nathan Conrad
|
c4483d244b
|
Fix typo of CFG_TUD_ENDOINT0_SIZE.
|
2019-09-27 21:22:19 -04:00 |
|
Nathan Conrad
|
4ccdc5522d
|
Fix typo of CFG_TUD_ENDOINT0_SIZE.
|
2019-09-27 12:41:46 -04:00 |
|
Nathan Conrad
|
91fa24d99c
|
Merge branch 'master' into ZLP_Request2
|
2019-09-27 00:37:21 -04:00 |
|
Nathan Conrad
|
f19082f02d
|
Reset TX and RX endpoints to NAK when receiving setup packet.
|
2019-09-25 20:55:15 -04:00 |
|
Nathan Conrad
|
048e0448c0
|
ST FSDEV:Remove setting the EP kind, as I think it was causing issues during enumeration (sometimes). Also move a membar.
|
2019-09-25 20:54:59 -04:00 |
|
Nathan Conrad
|
6841b236e8
|
Remove _app from callback function names.
|
2019-09-25 12:47:05 -04:00 |
|
Nathan Conrad
|
6c6a01cbcd
|
USBTMC: Minor updates to testing script.
|
2019-09-25 12:46:45 -04:00 |
|
Nathan Conrad
|
3a87dd65d7
|
Change getting the capabilities structure to a callback instead of an extern struct.
|
2019-09-25 12:46:35 -04:00 |
|
Nathan Conrad
|
2d4352bfe9
|
Rename USBTMC functions.
|
2019-09-25 12:46:25 -04:00 |
|
Nathan Conrad
|
412a279073
|
I never understood why I need to write void as empty function arguments.
|
2019-09-24 13:54:45 -04:00 |
|
Nathan Conrad
|
624f4bf4ce
|
Remove rhport from app code. If anything, it should be the interface_id. Assume a single interface, for now.
|
2019-09-24 13:42:29 -04:00 |
|
Nathan Conrad
|
10105557dc
|
Let application control interface latency...
|
2019-09-24 13:11:45 -04:00 |
|
Nathan Conrad
|
e61f2b7393
|
Retool stalling EP on xfer errors.
|
2019-09-22 09:55:28 -04:00 |
|
Nathan Conrad
|
757c2cdc5b
|
Merge remote-tracking branch 'origin/master' into usbtmc
|
2019-09-22 09:30:45 -04:00 |
|
Nathan Conrad
|
fa5b5e4561
|
Lots of updates (especially error handling)
|
2019-09-21 21:46:46 -04:00 |
|
Nathan Conrad
|
2aa10daf26
|
Merge branch 'clear_feature_ordering' into usbtmc
|
2019-09-21 21:39:25 -04:00 |
|
Nathan Conrad
|
ec3414ca3a
|
Merge branch 'master' into usbtmc
|
2019-09-21 21:38:05 -04:00 |
|
Nathan Conrad
|
9498adef71
|
Changing the bitwise to a logical OR created a huge hard to find bug. It shortcutted the call to the class function,
so, lets use shortcutting anyway?
|
2019-09-21 19:29:57 -04:00 |
|
Nathan Conrad
|
fbb8520acd
|
logical or.
|
2019-09-21 14:34:29 -04:00 |
|
Nathan Conrad
|
37b52e354f
|
Correct wording of comment on handling EP requests.
|
2019-09-21 12:17:17 -04:00 |
|
Nathan Conrad
|
a187f0268c
|
When unstalling, EP must be marked as not busy. Also, mark EP as busy when stalling as xfer requests should fail.
|
2019-09-21 12:05:57 -04:00 |
|
Nathan Conrad
|
be28a05409
|
Make type casting explicit
|
2019-09-21 12:05:46 -04:00 |
|
Nathan Conrad
|
55abb3d717
|
Calling EP open with bad parameters should be considered a bug.
|
2019-09-21 12:02:52 -04:00 |
|
Nathan Conrad
|
aebecf169a
|
Reorder handling of EP control requests,
|
2019-09-21 12:02:06 -04:00 |
|
Nathan Conrad
|
b6590490a8
|
USB Control: Pointer arithmetic on void* is forbiden
|
2019-09-21 12:00:52 -04:00 |
|
Nathan Conrad
|
ce9f133d25
|
FSDEV: go to NAK when unstalling; on reset, set EP0 to NAK, prioritize reset interrupt, fix small typos.
|
2019-09-21 12:00:04 -04:00 |
|
Nathan Conrad
|
8a688cd8d0
|
Revert "Revert "Also need to just return false in the case that it isn't an interface control event. We shouldn't assert. This normally isn't an""
This reverts commit 2281a51484.
|
2019-09-20 12:58:26 -04:00 |
|
Nathan Conrad
|
2281a51484
|
Revert "Also need to just return false in the case that it isn't an interface control event. We shouldn't assert. This normally isn't an"
This reverts commit f241ff389f.
|
2019-09-20 12:27:41 -04:00 |
|
Nathan Conrad
|
f241ff389f
|
Also need to just return false in the case that it isn't an interface control event. We shouldn't assert. This normally isn't an
error, either, so I don't want to use TU_VERIFY.
|
2019-09-20 08:56:46 -04:00 |
|
Nathan Conrad
|
a8a65d6cea
|
Use cached HID descriptor.
|
2019-09-20 08:46:17 -04:00 |
|
Nathan Conrad
|
345806a533
|
Merge remote-tracking branch 'origin/master' into usbtmc
|
2019-09-20 08:42:20 -04:00 |
|
Nathan Conrad
|
02b468f56a
|
(little typo fix)
|
2019-09-19 21:20:04 -04:00 |
|
Nathan Conrad
|
05164c5a27
|
Cache pointer to HID descriptor.
|
2019-09-19 21:04:51 -04:00 |
|
Nathan Conrad
|
2a7ca15e2c
|
Rename functions to include tud_ and _cb
|
2019-09-19 20:43:49 -04:00 |
|
Nathan Conrad
|
f3d6d0127b
|
Rename USBTMC_CFG_ENABLE_488, and fix build with it off.
|
2019-09-19 19:59:44 -04:00 |
|
Nathan Conrad
|
d742c3e15c
|
s/USBTMC488/USB488/ ; fix types in bitfield
|
2019-09-19 19:56:00 -04:00 |
|
Nathan Conrad
|
7e0490bbf3
|
Move descriptors to usbd.h
|
2019-09-19 19:51:37 -04:00 |
|
Nathan Conrad
|
346443118f
|
Add testcase for aborting bulk in with no data queued (and fix aborting bulk in)
|
2019-09-19 19:01:08 -04:00 |
|
Nathan Conrad
|
0f1435177b
|
Add trigger test code.
|
2019-09-19 19:00:02 -04:00 |
|
Nathan Conrad
|
0548f97d33
|
Remove debug printf.
|
2019-09-19 18:59:57 -04:00 |
|
Nathan Conrad
|
525b4cdb72
|
Use ESOF for wakeup timing.
|
2019-09-19 09:51:40 -04:00 |
|
Nathan Conrad
|
642afeea8b
|
s/static const/define/
|
2019-09-19 09:30:16 -04:00 |
|
Nathan Conrad
|
85623584f9
|
Remove debug assertions.
|
2019-09-19 09:24:52 -04:00 |
|
Nathan Conrad
|
5fcc1468eb
|
Merge branch 'master' into fsdev_smallPacket
|
2019-09-19 09:16:48 -04:00 |
|
Nathan Conrad
|
d4b2dff7c4
|
Fix more TX bugs... and add variable response delay to the example project.
|
2019-09-19 00:00:27 -04:00 |
|
Nathan Conrad
|
9a726dc7ed
|
More fixes, and a bit of SRQ.
|
2019-09-18 21:34:26 -04:00 |
|
Nathan Conrad
|
99d03fcaee
|
small fixes
|
2019-09-18 19:30:44 -04:00 |
|
Nathan Conrad
|
eea71a8b3b
|
usbtmc updates....
|
2019-09-18 19:24:54 -04:00 |
|
Nathan Conrad
|
f9a2e8e405
|
Many updates for USBTMC.
|
2019-09-17 13:32:54 -04:00 |
|
Nathan Conrad
|
ac2c9ff02f
|
Merge branch 'master' into usbtmc
|
2019-09-17 13:31:53 -04:00 |
|
Nathan Conrad
|
6dd2296cfc
|
Change inline functions to macros, and make all parameter names uniform.
|
2019-09-17 13:29:42 -04:00 |
|
Nathan Conrad
|
5a2e510af7
|
Interpretation of assert vs verify.
|
2019-09-17 13:29:41 -04:00 |
|