Commit Graph
100 Commits
Author SHA1 Message Date
Ha Thach e6d946123c Merge pull request #395 from hathach/define-log-printf
add CFG_TUSB_DEBUG_PRINTF() for log retargeting
2020-05-08 14:48:20 +07:00
hathach eeb076454b add CFG_TUSB_DEBUG_PRINTF() for log retargeting 2020-05-08 12:56:32 +07:00
Ha Thach f9f0873b72 Merge pull request #393 from xobs/fix-debug-warning
device: fix build warning when CFG_TUSB_DEBUG >= 2
2020-05-08 12:38:50 +07:00
Ha Thach 286ff03ffa Merge pull request #391 from kasjer/kasjer/stm32l476disco-clock-configuration
stm32l476disco clock configuration
2020-05-07 16:19:13 +07:00
Ha Thach 04c20ff74c Merge pull request #392 from kasjer/kasjer/change-package-type-to-sdk
Change mynewt package type to sdk
2020-05-07 16:13:00 +07:00
Ha Thach 101f234a16 Merge pull request #387 from duempel/redesign_transmit_synopsys
Redesign of Synopsys device transmission
2020-05-04 14:41:20 +07:00
Ha Thach d1141c2d9d Merge pull request #389 from hathach/fix-samg
Fix SAMG
2020-05-02 18:47:27 +07:00
hathach e61bf415fe minor update net example
samg failed to run net example
2020-05-02 18:35:46 +07:00
hathach 0e30afa691 abstract all UDP_CSR 2020-05-02 18:24:23 +07:00
hathach 3ad0cd041b clean up 2020-05-02 16:29:22 +07:00
hathach ac3c645dc1 fix EP0 data toggle issue 2020-05-02 16:09:28 +07:00
hathach 2a479175ae remove toggle walkaround, fix control stall race condition 2020-05-02 14:51:21 +07:00
Ha Thach 520df6bb53 Merge pull request #388 from hathach/fix-samd-setup-race
fix dcd samd race condition with setup packet
2020-04-30 00:50:21 +07:00
hathach a74a823b0a fix dcd samd race condition with setup packet
setup packet can complete together with previous status (in & out).
Always make sure to prepare valid buffer for holding setup packet when
queuing control status.
2020-04-30 00:29:47 +07:00
Ha Thach e9c71055ac Merge pull request #386 from hathach/follow-383
Follow 383
2020-04-29 15:27:25 +07:00
hathach 449b337467 fix ci board test with esp32 2020-04-29 13:03:39 +07:00
hathach 6f4b6a1d03 remove the use of TU_VERIFY_HDLR 2020-04-29 11:31:27 +07:00
hathach 94fed7db0e fix esp32 ci adding FREERTOS STATIC to sdkconfig default 2020-04-29 11:31:04 +07:00
Ha Thach d4511186a2 Merge pull request #383 from kasjer/kasjer/fox-busy-flag-race-condition
Fix endpoint busy flag race condition
2020-04-29 10:12:31 +07:00
Ha Thach b52bc894f8 Merge pull request #380 from hathach/fix-usbnet-synopsys
synopsys turn off TX FIFO Empty for EPIN if all bytes are written
2020-04-28 11:12:58 +07:00
hathach fcdb22b2f9 fix typo 2020-04-28 10:53:43 +07:00
hathach 958b5510cb added comment for hw clearing TXFE 2020-04-27 13:17:47 +07:00
hathach e785b09118 TXFE is read only bit 2020-04-27 12:06:14 +07:00
hathach d0487088ac revert a change to net driver 2020-04-26 23:04:17 +07:00
hathach 00fcf829a1 sync synopsis fix for esp32s2 2020-04-26 22:41:04 +07:00
hathach 8d18d6077b turn off TX FIFO Empty for EPIN if all bytes are written
fix dcd synopsys issue with usbnet #289
2020-04-26 22:14:59 +07:00
hathach 83353dd93f add TODO for usbnet clean up 2020-04-26 22:03:05 +07:00
hathach a1c599f4b6 clean up log message 2020-04-26 22:02:49 +07:00
Ha Thach d54343e4a6 Merge pull request #379 from hathach/add-usbd-edpt-open
add usbd edpt open
2020-04-26 15:23:11 +07:00
hathach 9c8517a8d2 fix missing debug log macros 2020-04-26 14:58:23 +07:00
hathach 017c95037f add usbd edpt open
- RTT mode is blocking to prevent log lost
- Improve logging message
2020-04-26 14:51:44 +07:00
Ha Thach f1ecda392f Merge pull request #378 from kasjer/kasjer/synopsys-txfe-interrup-loop
synopsys: Reduce interrupt time for IN ZLP
2020-04-25 17:52:46 +07:00
hathach c59fa77427 Revert "Merge pull request #359 from versioduo/midi-flow-control"
This reverts commit 1d33aa9b6f, reversing
changes made to 718db7e536.
2020-04-23 23:25:20 +07:00
Ha Thach f8bb4c86ef Merge pull request #376 from hathach/add-more-example
Add dynamic configuration example
2020-04-23 14:50:27 +07:00
hathach a029c63b30 complete the midi output for dynamic configuration 2020-04-23 14:37:22 +07:00
Ha Thach c39dc03331 Merge pull request #374 from duempel/stm32f1_synopsys_support
Added support for STM32F1 Connectivity Line MCU
2020-04-23 13:38:48 +07:00
hathach 1fab82c94a add PR template 2020-04-23 13:34:43 +07:00
hathach 10e035241f house keeping 2020-04-22 23:04:21 +07:00
hathach 7acdcc2ebc Merge branch 'master' into add-more-example 2020-04-22 19:50:23 +07:00
Ha Thach e2cd5159fd Merge pull request #373 from hathach/add-log-swo
added swo as logger
2020-04-22 19:47:16 +07:00
hathach 5110ca712d clean up 2020-04-22 19:19:17 +07:00
hathach 1fc7f54a8a added swo as logger
tested with feather nrf52840 + jlink
2020-04-22 19:18:03 +07:00
Ha Thach 894a09f2ae Merge pull request #372 from hathach/add-rtt
Add rtt as logger option
2020-04-22 17:40:14 +07:00
hathach 7784b9c48f more rtt software 2020-04-22 17:13:52 +07:00
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
hathach 19181ea11d start adding dynamic configuration example 2020-04-20 01:01:33 +07:00
hathach e4570c35f7 add uart for ea4357 2020-04-20 00:27:35 +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