| Age | Commit message (Collapse) | Author |
|
Dialog Semiconductor's BLE MCU DA1469x comes with full speed USB.
It's base on National Semiconductor discrete USB controller USBN9603/4.
This adds support for:
- control/interrupt/bulk endpoints (up to 64 bytes)
- ISO endpoint were not tested and may not work correctly
- reset/sleep/wakeup are handled
- code for VBUS changes is provided
|
|
Bluetooth HCI transport over USB
|
|
|
|
Code implements USB transport for bluetooth HCI.
|
|
For some reason bluetooth stack implementations send class requests
to device instead of interface.
To implement HCI interface over USB non device addressed requests
for class need to be handled.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
only done with cdc and msc, push this interim for feedback first
|
|
|
|
|
|
|
|
since it doesn't make any differences.
|
|
to check if there is pending events in the tud task without executing
it. Useful to check before entering low power mode with WFI/WFE
|
|
ported for osal none/freertos/mynewt
|
|
|
|
suppress vendor sdk driver at board.mk
|
|
|
|
Signed-off-by: Mengsk <[email protected]>
|
|
detect if SD is actually present on the flash using SD magic
|
|
|
|
|
|
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
|
|
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
|