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
Jerzy Kasenberg
63cefb7615
Fix endpoint busy flag race condition
...
Busy flag was set to true after call to dcd_edpt_xfer().
In some cased it was possible that transfer finished before function
ended.
In this case busy flag could be set to false before it was set to
true.
Then setting it to true after dcd_edpt_xfer() made edpoint busy forever.
This change marks endpoint as busy before transfer is started to
avoid race condition.
2020-04-27 16:42:35 +02: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
Jerzy Kasenberg
b949ae596f
synopsys: Reduce interrupt time for IN ZLP
...
For IN endpoints output FIFO is filled in interrupt, therefor before
endpoint is enabled, DIEPTSIZ is set with correct size of packet.
Then endpoint is enabled and FIFO empty interrupt is enabled.
This works fine except for the ZLP. Enabling FIFO empty interrupt
results in interrupt handler being called all the time because
there is nothing to put in the FIFO.
Eventually it ends when IN token is received and empty
packed is transmitted out.
This change does not enable FIFO empty interrupt for ZLP reducing
CPU load.
2020-04-24 17:38:30 +02:00
hathach
c59fa77427
Revert "Merge pull request #359 from versioduo/midi-flow-control"
...
This reverts commit 1d33aa9b6f7940f9eac07ce684515856940175da, reversing
changes made to 718db7e5369df57b0f49a563737e6e0446fd4c4d.
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
Jan Dümpelmann
551724498a
Added support for STM32F1 Connectivity Line MCU
...
STM32F105 and STM32F107 are using the Synopsys IP
2020-04-22 17:39:53 +02: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
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
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