Commit Graph

3183 Commits

Author SHA1 Message Date
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 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
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
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
Kay Sievers a0598ef369 MIDI - Add flow control to incoming packet stream
Larger SysEx transfers get corrupted by incoming packets.

This changes the FIFOs not to overwrite their data. MIDI should not be
a transport that drops packets. A potentially blocking device is easier
to detect and handle than a device that silently corrupts the packet
stream at random overflows, especially when SysEx messages are involved.
2020-04-19 11:44:15 +02: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