| Age | Commit message (Collapse) | Author |
|
|
|
|
|
device: fix build warning when CFG_TUSB_DEBUG >= 2
|
|
The function is defined inside of a function body which generates a
warning. Circuit Python treats these warnings as errors, and so
refuses to build with debugging enabled:
../../lib/tinyusb/src/device/usbd_control.c: In function 'usbd_control_xfer_cb':
../../lib/tinyusb/src/device/usbd_control.c:195:19: error: nested extern declaration of 'usbd_driver_print_control_complete_name' [-Werror=nested-externs]
195 | extern void usbd_driver_print_control_complete_name(bool (*control_complete) (uint8_t, tusb_control_request_t const *));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [../../py/mkrules.mk:55:
build-simmel/lib/tinyusb/src/device/usbd_control.o] Error 1
Move the declaration to the top of the function to silence this warning.
Signed-off-by: Sean Cross <[email protected]>
|
|
even with SOFTDEVICE_PRESENT defined, SD may not be present on actual
flash.
|
|
Redesign of Synopsys device transmission
|
|
- add hcd_uframe_number() API, update EHCI to return uframe number
- get host running on ea4357
|
|
renaming function and variables
changing indent size
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
Changes:
- checking if tx buffer empty interrupt is masked
- process more than one packet in isr
- mask tx buffer empty just after all bytes were written
- use of transmit_fifo_packet instead of transmit_packet
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
fix dcd synopsys issue with usbnet #289
|
|
|
|
|
|
|
|
- RTT mode is blocking to prevent log lost
- Improve logging message
|
|
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.
|
|
This reverts commit 1d33aa9b6f7940f9eac07ce684515856940175da, reversing
changes made to 718db7e5369df57b0f49a563737e6e0446fd4c4d.
|
|
Add dynamic configuration example
|
|
Added support for STM32F1 Connectivity Line MCU
|
|
|
|
STM32F105 and STM32F107 are using the Synopsys IP
|
|
|
|
tested with feather nrf52840 + jlink
|
|
|
|
tu_verify for getting descriptors
|
|
|
|
MIDI - Add flow control to incoming packet stream
|
|
|
|
|
|
|
|
this make the template with Report ID look less weird to the user
|
|
|
|
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.
|
|
MIDI packet interface
|
|
|