Ha Thach
|
bfec3b4479
|
Merge pull request #345 from hathach/add-alt-itf
Implement setInterface(alt) for usb net driver
|
2020-04-16 21:33:03 +07:00 |
hathach
|
3aaad8cd73
|
add int enable/disable for pullup
|
2020-04-16 21:30:12 +07:00 |
hathach
|
18d936b414
|
msp430 disconnect/connect
|
2020-04-16 21:04:28 +07:00 |
Nathan Conrad
|
2994d100cd
|
Remove transfer queue filtering. May need to be revisited later.
|
2020-04-16 09:59:40 -04:00 |
hathach
|
63655ac9d7
|
cleanup for esp32
|
2020-04-16 20:43:26 +07:00 |
hathach
|
4c74140b31
|
stm32 sysnopsys disconnect/connect
|
2020-04-16 20:20:20 +07:00 |
hathach
|
a009775745
|
dcd disconnect/connect for transdimension ip
|
2020-04-16 16:56:16 +07:00 |
hathach
|
418b69f2db
|
implement dcd disconnect/connect for lpc ip3511
|
2020-04-16 16:05:57 +07:00 |
hathach
|
969121df4f
|
added dcd disconnect/connect to lpc17/40
|
2020-04-16 15:52:45 +07:00 |
hathach
|
2eed58d096
|
per review
|
2020-04-16 11:13:54 +07:00 |
Peter Lawrence
|
b9fca0bbb4
|
nuc505: change dcd_set_config() behavior
|
2020-04-15 14:16:48 -05:00 |
hathach
|
86ff5651ad
|
correct usbnet control complete response
don't return false with STD request get/setInterface() or targeted Data
Interface (itfnum +1)
|
2020-04-15 23:10:52 +07:00 |
hathach
|
0ddbda08cb
|
always response if GET_INTERFACE even if class driver does not support alt interface
|
2020-04-15 23:08:49 +07:00 |
Nathan Conrad
|
b0270f499b
|
stm32fsdev: dynamic allocation of PMA.
|
2020-04-15 11:53:30 -04:00 |
hathach
|
caa1dceed9
|
implement alternate setInterface() request
mostly forward these request (recipient = interface) to class driver.
|
2020-04-15 17:51:02 +07:00 |
hathach
|
d315393fbb
|
use IAD to assign itf2drv mapping correctly
merge net_data back into net driver
|
2020-04-15 16:18:24 +07:00 |
hathach
|
0b39168dc2
|
add IAD for CDC ECM, remove EEM descriptor template
|
2020-04-15 15:40:53 +07:00 |
hathach
|
b03b9eb939
|
change cdc template protocol to None
|
2020-04-15 15:14:26 +07:00 |
hathach
|
93ffe317b2
|
clean up
|
2020-04-15 13:53:50 +07:00 |
hathach
|
3bfb402d8c
|
clean up
|
2020-04-15 11:44:12 +07:00 |
hathach
|
1faa3b2768
|
tested usbnet, completely remove class code
|
2020-04-15 11:41:26 +07:00 |
hathach
|
c74f7e708e
|
remove class_code/subclass/protocol from driver structure, add name for logging
|
2020-04-15 11:06:35 +07:00 |
hathach
|
f1a6f92fab
|
Merge branch 'master' into class-driver-id
|
2020-04-15 10:47:49 +07:00 |
hathach
|
490771a094
|
test vendor
|
2020-04-15 10:39:01 +07:00 |
hathach
|
c1c9ca5629
|
test with tmc
|
2020-04-15 10:37:31 +07:00 |
hathach
|
e713b534fa
|
test ok with cdc and msc
|
2020-04-15 10:30:34 +07:00 |
hathach
|
bae570f7c7
|
tested with midi
|
2020-04-15 10:30:07 +07:00 |
Peter Lawrence
|
7fa8d87291
|
usbnet: remove CDC-EEM
|
2020-04-14 21:10:43 -05:00 |
hathach
|
8614dcece7
|
tested with hid
|
2020-04-15 01:01:07 +07:00 |
hathach
|
3ef6e33533
|
use class driver open() for interface support detection
tested with dfu_runtime
|
2020-04-15 01:00:37 +07:00 |
hathach
|
ae60146274
|
use explicit all_subclass and all_protocol since 0xFF is stil valid
|
2020-04-14 22:35:34 +07:00 |
Nathan Conrad
|
16f65890eb
|
Merge branch 'master' into edpt_close
|
2020-04-14 10:22:03 -04:00 |
hathach
|
b90b00d43b
|
complete adding subclass and protocol to driver id
|
2020-04-14 18:35:50 +07:00 |
hathach
|
593fe154ec
|
adding subclass & protocol to class driver structure
|
2020-04-14 18:00:59 +07:00 |
Ha Thach
|
57ffa94a52
|
Merge pull request #334 from majbthrd/usbnet_osagnostic
usbnet: OS-agnostic (Windows/Linux/macOS) network driver
|
2020-04-14 17:39:50 +07: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 |
hathach
|
f4df829399
|
lpc17xx move set configdevice into set address
for removing dcd_set_config()
|
2020-04-13 17:04:18 +07:00 |
Nathan Conrad
|
0eeaccaf46
|
Skeleton, and initial stm32fsdev implementation (that leaks memory)
|
2020-04-12 21:27:27 -04:00 |
Peter Lawrence
|
bb3bbcc00b
|
usbnet: OS-agnostic (Windows/Linux/macOS) network driver
|
2020-04-12 15:41:18 -05:00 |
Ha Thach
|
04a06ec401
|
Merge branch 'master' into refactor-irqhandler
|
2020-04-11 15:49:34 +07:00 |
Ha Thach
|
13a3081d30
|
Merge pull request #333 from hathach/fix-esp32s2-setup-packet
fix incorrect setup packet
|
2020-04-11 15:18:41 +07:00 |
Ha Thach
|
07809d03a7
|
Merge pull request #332 from pigrew/stm32fsdev-dcdconnect
stm32fsdev: Implement dcd_connect.
|
2020-04-11 13:20:31 +07:00 |
hathach
|
ae1314f1c7
|
fix incorrect setup packet
also increase usbd stack in example when debug is enabled
|
2020-04-11 12:55:45 +07:00 |
Ha Thach
|
2ff3f765db
|
Merge pull request #319 from hathach/add-esp32s2
port ESP32 S2
|
2020-04-10 23:53:03 +07:00 |
hathach
|
a37a56acd3
|
remove CONFIG_IDF_TARGET_ESP32S2BETA per review
|
2020-04-10 23:38:36 +07:00 |
Nathan Conrad
|
5bd9d14fc1
|
stm32fsdev: set dcd_connect API definitions to strong, Modify documentation.
|
2020-04-10 10:26:41 -04:00 |
hathach
|
8953bc9255
|
added comment note for beta chip walkaround
|
2020-04-10 20:25:53 +07:00 |
hathach
|
c545cfc0bc
|
Correct dedicated FIFO SRAM size to 1024
add note for up to 5 active IN endpoints (including EP0 IN)
|
2020-04-10 15:42:50 +07:00 |
hathach
|
978eec73b3
|
remove 100us delay at the end of dcd_init()
|
2020-04-10 15:39:59 +07:00 |
hathach
|
30945ab9f3
|
revert name to dcd_int_handler due to function prototype warning
|
2020-04-10 15:27:23 +07:00 |
hathach
|
c0695b4b55
|
clear USB_RXFLVI_M before read_rx_fifo()
more format clean up
|
2020-04-10 15:13:12 +07:00 |
hathach
|
933e3cdfc7
|
change indent from 4 -> 2 spaces
|
2020-04-10 15:01:12 +07:00 |
hathach
|
cec747776d
|
rename dcd_init_handler to dcd_irq_handler to consistent with other ports
|
2020-04-10 14:47:02 +07:00 |
hathach
|
d122d7de88
|
remove commented code
|
2020-04-10 14:45:55 +07:00 |
hathach
|
a40d1e800d
|
try to fix racing condition with setup
|
2020-04-10 14:04:18 +07:00 |
hathach
|
1b3d1b52c9
|
fix uint32_t format with log
|
2020-04-10 13:54:50 +07:00 |
Nathan Conrad
|
715c4dbbf8
|
stm32fsdev: Implement dcd_connect.
|
2020-04-09 17:03:12 -04:00 |
hathach
|
d6578823bb
|
rename static function for dcd_cxd56 to prevent conflict
|
2020-04-09 12:00:45 +07:00 |
hathach
|
c1f3fbbc03
|
implement dcd connect/disconnect for samd and nrf
|
2020-04-09 11:47:02 +07:00 |
hathach
|
11201f1a06
|
adding dcd_connect/disconnect
|
2020-04-09 11:42:42 +07:00 |
Ha Thach
|
defea45d44
|
Merge branch 'master' into refactor-irqhandler
|
2020-04-09 11:22:20 +07:00 |
hathach
|
40e23672ff
|
rename hal_dcd_isr to dcd_irq_handler for fomu
|
2020-04-08 16:47:20 +07:00 |
hathach
|
e879ad1e6f
|
move irq from msp430
|
2020-04-08 16:42:36 +07:00 |
hathach
|
8f17945b67
|
move irq for stm32 synopsys
|
2020-04-08 16:37:09 +07:00 |
hathach
|
9014ca5528
|
move irq for stm32 fsdev
|
2020-04-08 16:26:14 +07:00 |
hathach
|
880595433c
|
use macro for easy enable/disable SOF
|
2020-04-08 15:41:16 +07:00 |
hathach
|
7b7a78ab2e
|
disable SOF interrupt since it is not used for now
|
2020-04-08 15:33:07 +07:00 |
Peter Lawrence
|
ccb65fcf6a
|
nuvoton: add dcd_disconnect() dcd_connect()
|
2020-04-07 10:51:55 -05:00 |
Ha Thach
|
bfc43bad81
|
Merge pull request #321 from pigrew/tweak20200331
Misc. tweaks, and fix for USBTMC descriptors without an INT EP
|
2020-04-07 12:12:44 +07:00 |
Nathan Conrad
|
06d7fdc228
|
Use #define for OSAL_TIMEOUT_WAIT_FOREVER.
|
2020-04-06 12:40:58 -04:00 |
hathach
|
06e87b47a2
|
revert name to dcd_init_handler()
since the function signature is different
|
2020-04-06 21:28:02 +07:00 |
hathach
|
22a9b05834
|
rename dcd_int_handler to dcd_irq_handler for consistency with other port
|
2020-04-06 19:49:25 +07:00 |
hathach
|
06377a341b
|
add tud_irq_handler() for all lpc ip3511 (13, 15, 11)
|
2020-04-06 18:00:37 +07:00 |
hathach
|
138965d1d1
|
add tud_irq_handler() to all NUC board
|
2020-04-06 17:43:56 +07:00 |
hathach
|
4179334aca
|
call tud_irq_handler() for all nrf5x board
|
2020-04-06 17:35:11 +07:00 |
hathach
|
fb05451a26
|
mass rename dcd_isr() to dcd_irq_handler()
|
2020-04-06 17:24:22 +07:00 |
hathach
|
dc4bf02dcb
|
mass rename tud_isr to tud_irq_handler
|
2020-04-06 17:04:49 +07:00 |
hathach
|
c026236824
|
house keeping
|
2020-04-06 16:33:04 +07:00 |
hathach
|
050de0ec33
|
fix issue and typo with In token when Fifo empty
fix transmit packet endpoint's fifo
|
2020-04-06 16:32:55 +07:00 |
hathach
|
5a00c6ca96
|
Merge branch 'master' into add-esp32s2
|
2020-04-06 14:43:49 +07:00 |
hathach
|
2d6d298302
|
move irqhandler to application
tud_isr() must be called by application to forward the irqhandle to the
stack
|
2020-04-06 14:11:45 +07:00 |
hathach
|
c2606c0213
|
allow application to implement its own os
|
2020-04-05 18:22:16 +07:00 |
hathach
|
1e7c3cf95e
|
update dcd esp32s2 fifo allocation to match current dcd synopsys
|
2020-04-03 17:09:38 +07: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
|
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 |
hathach
|
a3e50242b9
|
add dcd_esp32s2
skip esp32s2_saola for make build since idf use cmake
|
2020-04-01 17:07:28 +07:00 |
Peter Lawrence
|
794212d44e
|
revise argument order for TUD_CONFIG_DESCRIPTOR macro
|
2020-03-31 10:53:47 -05:00 |
Peter Lawrence
|
87f313da48
|
add provision for multiple configurations
|
2020-03-30 13:47:17 -05:00 |
Ha Thach
|
dc6f90eaf7
|
Merge pull request #311 from majbthrd/usbnet_ecm_macos
usbnet: tweak CDC-ECM after MacOS testing
|
2020-03-28 14:33:17 +07:00 |
Peter Lawrence
|
622a6c77a1
|
usbnet: tweak CDC-ECM after MacOS testing
|
2020-03-27 20:30:57 -05:00 |
Nathan Conrad
|
6606cf2896
|
USBD: Use tud_control_xfer only for data
|
2020-03-27 15:54:37 -04:00 |
Ha Thach
|
435485b524
|
Merge pull request #304 from pigrew/stm32_xfer_rewrite
STM32FSDEV: Rewrite transfer ISR
|
2020-03-25 10:19:07 +07:00 |
Ha Thach
|
9a48e98fad
|
Merge branch 'master' into develop
|
2020-03-24 12:16:15 +07:00 |
Ha Thach
|
95009a9e79
|
Merge pull request #194 from cr1901/msp430f5529
[WIP] MSP430 Support
|
2020-03-24 11:57:20 +07:00 |
William D. Jones
|
6b5157fd28
|
dcd_msp430x5xx: Add dummy dcd_edpt0_status_complete handler. Add
comment which describes why it might be needed.
|
2020-03-24 00:03:12 -04:00 |
hathach
|
8a22eba7b4
|
add TODO note to remove tud_network_mac_address
|
2020-03-23 15:24:30 +07:00 |
Nathan Conrad
|
eaf767b0db
|
STM32FSDEV: Rewrite transfer ISR
|
2020-03-22 14:26:48 -04:00 |