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 |
hathach
|
ae9f01fe95
|
rename config num to id in net webserver example
also add configuration array bound check.
|
2020-04-15 22:28:13 +07:00 |
hathach
|
dc9f5cc91a
|
remove unused usb_descriptors.h
|
2020-04-15 18:09:30 +07:00 |
hathach
|
325065a320
|
better demonstrate usbnet exmaple is multiple configurations
|
2020-04-15 18:06:12 +07: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 |
Ha Thach
|
4ad65342e5
|
Merge pull request #343 from majbthrd/usbnet_rm_cdceem
usbnet: remove CDC-EEM
|
2020-04-15 10:42:58 +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 |
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 |
Ha Thach
|
4f693fea15
|
Merge pull request #335 from majbthrd/lwip_timeouts
net_lwip_webserver: add support for lwip timeouts
|
2020-04-13 13:14:26 +07:00 |
Ha Thach
|
7a93894b99
|
Merge pull request #325 from hathach/refactor-irqhandler
move irqhandler to application
|
2020-04-13 10:18:17 +07:00 |
Peter Lawrence
|
3f1583dd0f
|
net_lwip_webserver: add support for lwip timeouts
|
2020-04-12 16:13:52 -05: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 |
hathach
|
4748b349a2
|
add dcd_irq_handler to porting doc
|
2020-04-11 15:46:20 +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 |
hathach
|
1751064f70
|
print correct example name
|
2020-04-11 13:40:40 +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 |
Ha Thach
|
bbb0e1088d
|
Merge pull request #330 from hathach/dcd-disconnect-connect
Dcd disconnect connect for samd and nrf
|
2020-04-10 16:11:04 +07:00 |
hathach
|
d8d5902ccb
|
change saola-1 led to pin 18 by default
|
2020-04-10 15:44:50 +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 |