Commit Graph
100 Commits
Author SHA1 Message Date
hathach afc4042375 add LOGGER option to use rtt
update example readme for debug log. Update bug template to ask for LOG
as well.
2020-04-22 17:08:41 +07:00
hathach 3aa3c35986 Merge branch 'master' into add-rtt 2020-04-22 13:45:20 +07:00
Ha Thach e23206821f Merge pull request #370 from hathach/remove-cmsis5
remove cmsis 5 from submodules
2020-04-22 13:44:09 +07:00
hathach 4c2d93eec9 remove cmsis 5 from submodules
cmsis 5 use git lfs causing issue with submodule cloning and isn't used
yet. Could re-add later if needed.
2020-04-22 13:34:04 +07:00
Ha Thach 379b8ac556 Merge pull request #365 from pigrew/desc_tu_verify
tu_verify for getting descriptors
2020-04-22 12:24:05 +07:00
hathach 3b83813f01 clean up 2020-04-22 00:29:51 +07:00
hathach de43df2d97 Merge branch 'master' into add-rtt 2020-04-22 00:24:37 +07:00
Ha Thach 1d33aa9b6f Merge pull request #359 from versioduo/midi-flow-control
MIDI - Add flow control to incoming packet stream
2020-04-22 00:11:27 +07:00
hathach ee2b6e0f47 added segger rtt bundle with v670e
opt out the example folder
2020-04-21 23:20:01 +07:00
hathach 5b02deac93 remove old rtt 2020-04-21 23:17:27 +07:00
Ha Thach 718db7e536 Merge pull request #364 from hathach/add-midi-multi-jack
add back MIDI multiple jack
2020-04-21 00:14:50 +07:00
hathach bbcf9241bd add back MIDI multiple jack 2020-04-20 23:46:17 +07:00
Ha Thach bb6c3b1c39 Merge pull request #363 from hathach/improve-hid-descriptor-template
add extra comma to HID_REPORT_ID
2020-04-20 16:32:21 +07:00
hathach 7a24a27d81 update freerots hid composite
clean up unused descriptor for usbtmc example
2020-04-20 16:20:18 +07:00
hathach d57312602d add extra comma to HID_REPORT_ID
this make the template with Report ID look less weird to the user
2020-04-20 16:09:17 +07:00
Ha Thach f9262007ac Merge pull request #258 from versioduo/midi-packets
MIDI packet interface
2020-04-19 15:43:07 +07:00
hathach 7f92e255cf added TODO item for changelog
- rewrite changelog it better later on
- simplify the issue template
2020-04-19 14:02:39 +07:00
Ha Thach c0047e376f Merge pull request #357 from hathach/fix-209
add disconnection detection for stm32 synopsys
2020-04-19 13:01:13 +07:00
hathach 1f442c0a9a also add wakeup event 2020-04-18 23:48:36 +07:00
hathach c3fc5f1595 session end interrupt doesn't trigger on esp32 saola board
it is possibly due to the board design without vbus sense. Revisit
later.
2020-04-18 23:42:51 +07:00
hathach fa71402e17 implement disconnection detection for stm32 synopsys
- disconnection is OTG INT session end bit
- add USE_SOF to disable 1ms interrupt on mcu which isn't used now by
the stack
- add suspend detection
2020-04-18 23:40:27 +07:00
Ha Thach 72ed11d1e5 Merge pull request #356 from hathach/use-docker-esp32s2-ci
Use docker for esp32s2 ci
2020-04-18 21:45:39 +07:00
hathach 66bd68f1e9 everything seems fine, final test. 2020-04-18 17:11:36 +07:00
hathach 86a46f0467 try again 2020-04-18 17:00:44 +07:00
hathach 7a025c9282 try build script with docker 2020-04-18 16:58:51 +07:00
hathach 474404f6f1 try build with docker 2020-04-18 16:26:54 +07:00
hathach 836c70e80d pul idf latest 2020-04-18 16:05:23 +07:00
hathach 7691db0e9e test docker version 2020-04-18 15:39:11 +07:00
hathach 544f878033 test building esp32s2 with docker 2020-04-18 15:38:33 +07:00
Ha Thach 3ed9515e70 Merge pull request #355 from hathach/follow-up-206
follow up to #206
2020-04-18 00:24:48 +07:00
hathach ce6a81e74d fix typo 2020-04-17 22:10:31 +07:00
hathach 464b1e8e89 correct return for write flush 2020-04-17 15:57:24 +07:00
hathach 4571ce0d29 add a bit of document for cdc device API. also improve cdc write flush when complete. 2020-04-17 15:54:20 +07:00
Ha Thach 0b1b9a2b9e Merge pull request #260 from majbthrd/cdczlp
CDC device: fix behavior for transfers that are a whole multiple of endpoint buffer
2020-04-17 15:00:12 +07:00
hathach 6f9c256ad0 complete remove dcd_set_config(), fix unit test 2020-04-17 13:52:34 +07:00
hathach 05476d9ad7 Merge branch 'master' into remove-dcd-set-config 2020-04-17 13:38:22 +07:00
Ha Thach 85f0894fff Merge pull request #347 from majbthrd/nuc505_config
nuc505: change dcd_set_config() behavior
2020-04-17 13:36:16 +07:00
Ha Thach 1f69807621 Merge pull request #354 from hathach/cxd56-disconnect-connect
Cxd56 disconnect connect
2020-04-17 13:12:47 +07:00
Ha Thach e9e1b1d07a Merge pull request #353 from hathach/rename-irq-handler
mass rename tud/dcd_irq_handler to tud/dcd_init_handler
2020-04-17 12:55:38 +07:00
hathach dddf30f532 added disconnect for spresense 2020-04-17 12:53:42 +07:00
hathach 50be9d7c3a mass rename tud/dcd_irq_handler to tud/dcd_init_handler 2020-04-17 12:27:53 +07:00
hathach 89f99426fc add code for disconnect/connect (not tested) 2020-04-17 11:48:49 +07:00
hathach 3f8b9c59dd update example to include CXD56 for highspeed mode 2020-04-17 11:40:33 +07:00
Ha Thach 4bbbba48cb Merge pull request #351 from hathach/valentyusb-dcd-disconnect-connect
Valentyusb dcd disconnect connect
2020-04-17 09:52:29 +07:00
Ha Thach 19e2eb66c0 Merge pull request #350 from hathach/synopsys-msp430-dcd-disconnect-connect
Synopsys msp430 dcd disconnect connect
2020-04-17 09:51:15 +07:00
hathach 989cca5b1a update per review 2020-04-17 09:29:02 +07:00
Ha Thach 9aa553ccc2 Merge pull request #352 from hathach/samg-dcd-disconnect-connect
samg implement dcd connect/disconnect
2020-04-16 23:14:42 +07:00
Ha Thach 33610751d7 Merge pull request #336 from pigrew/edpt_close
> If you notice my chain of events above, the bulk transfer was started BEFORE the SET_INTERFACE call. The USB device hardware swaps the order of them being delivered. On STM32, it gives priority to the lower-numbered EP index.

It shouldn't be a matter, control is 2+ stage, before sending the setup. Host should stop all communication to the endpoint that It wants to close.
2020-04-16 23:10:36 +07:00
hathach 36d4efa077 samg implement dcd connect/disconnect 2020-04-16 22:59:19 +07:00
hathach 6377699d77 implement dcd disconnect connect 2020-04-16 22:30:33 +07:00
hathach bb2669fbc0 add dfu generate target for fomu 2020-04-16 22:24:48 +07:00
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
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
Ha Thach 33888519dd Merge pull request #349 from hathach/nxp-dcd-disconnect
implement Nxp mcu dcd disconnect
2020-04-16 17:07:15 +07:00
hathach a009775745 dcd disconnect/connect for transdimension ip 2020-04-16 16:56:16 +07:00
hathach e5dc0902a0 house keeping 2020-04-16 16:06:11 +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
Ha Thach aa5ab50e86 Merge pull request #348 from pigrew/net_IAD_devDesc
Set Net example to use IAD device class
2020-04-16 11:36:00 +07:00
hathach 2eed58d096 per review 2020-04-16 11:13:54 +07:00
Ha Thach eb2aaa5de8 Merge pull request #344 from hathach/enhance-itf-assoc
Enhance Interface Associate descriptor handling
2020-04-16 00:18:49 +07:00
Ha Thach 61104297d5 Merge pull request #342 from hathach/class-driver-id
add subclass and protocol for matching driver id
2020-04-16 00:09:15 +07: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
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
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
hathach f4df829399 lpc17xx move set configdevice into set address
for removing dcd_set_config()
2020-04-13 17:04:18 +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
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