Commit Graph

6109 Commits

Author SHA1 Message Date
mingpepe 988eeb50c6
Fix typo for log in dcd_rp2040.c 2022-10-05 21:26:22 +08:00
kkitayam ee832e4e37 Fix descriptor searching 2022-10-03 21:41:58 +09:00
Mark K Cowan 6c3c2df823 audio_device: prototype added for function referenced before use 2022-09-17 21:27:04 +03:00
kkitayam 1debf62707 Fix compile errors 2022-09-13 21:22:02 +09:00
kkitayam e80714740c Change images to MJPEG 2022-09-13 21:22:02 +09:00
Ha Thach 111515a29c
Merge pull request #1629 from jmark1m/master
Fix bug #1628 by preventing shared irq slots for filling up
2022-09-13 15:08:12 +07:00
Ha Thach 7ba950c006
Merge pull request #1642 from kasjer/kasjer/nrf5x-fix-out-iso-packet-size-report
nrf5x: Fix reception of large ISO packets
2022-09-13 14:57:01 +07:00
Jerzy Kasenberg 3133cacc6a nrf5x: Fix reception of large ISO packets
ISO packet size is up to 1023 for full speed device.
Upon completion of ISO reception, reported length of incoming packet
was truncated to one byte only.
This results in incorrect data stream for higher bit rates
48 samples * 4 bytes per sample * 2 channels = 384 bytes of data
and 128 was reported.

There is no change in logic extending xact_len to uint16_t fixes the issue.
2022-09-13 08:11:56 +02:00
Ha Thach 6393412380
Merge pull request #1641 from hathach/fix-1634
re-added code in pr 1438 to fix compile with h7 with 1 usb otg
2022-09-13 11:46:32 +07:00
hathach 7a48b1f0d1 re-added code in pr 1438 to fix compile with h7 with 1 usb otg 2022-09-13 11:04:48 +07:00
jmark1m 0931b52b66 Fix bug #1628 by preventing shared irq slots for filling up 2022-09-07 15:10:44 -05:00
ReimuNotMoe c5992edc7d Initial PIC32MM/MX & PIC24 support 2022-09-03 05:19:50 +08:00
Ha Thach b624664f52
Merge pull request #1614 from kasjer/kasjer/fix-nrf5x-with-iso
nrf5x: Fix endpoint internal state when closed
2022-08-26 13:47:36 +07:00
Jerzy Kasenberg 5e3cfe7b57 nrf5x: Fix endpoint internal state when closed
Field started (regardind transfer) was only cleaed when transfer
was finished.
For audio devices set interface is called many times.
When there is no audio (silence) set interface requests zero
lenght bandwithd that in turn calls dcd_edpt_close().

When endpoint is closed due to set interface request transfer
should not longer be started since it will block next start transfer
with assert.

This just sets 'started' to false when endpoint is closed.
2022-08-26 08:10:15 +02:00
Ha Thach 101cbf6e31
Merge pull request #1613 from Lan-Hekary/video-descriptors-fix
Remove Hardcoded interface numbers from video descriptors
2022-08-25 18:44:22 +07:00
Ahmed El-Sharnoby 8a537a0092
Remove Hardcoded interface numbers from video descriptors
Removing the Hardcoded interface numbers from the video descriptors allow the user to add other interfaces before or after the Video Control Interface and Video Streaming Interface
2022-08-23 17:18:32 +02:00
Ha Thach e3b4d3f406
Merge pull request #1611 from hathach/fix-release-body
try to fix release body in tinyusb_src (not tested)
2022-08-23 14:44:02 +07:00
hathach 660e8f50a7
try to fix release body in tinyusb_src (not tested) 2022-08-23 14:43:09 +07:00
Ha Thach 9e91b02ec7
Merge pull request #1609 from hathach/release-0.14.0-p2
update repository.yml
2022-08-23 13:15:11 +07:00
hathach 3e815c709c
update repository.yml 2022-08-23 12:00:20 +07:00
Ha Thach 05e19b7848
Update feature_request.yml 2022-08-19 23:57:39 +07:00
Ha Thach f6c1ce5b1c
Merge pull request #1569 from hathach/release-0.14.0
increase version to 0.14.0 for release
2022-08-19 21:13:09 +07:00
hathach 961e83e083
more docs update 2022-08-19 17:14:53 +07:00
Ha Thach 792b2fb956
Merge pull request #1603 from Ryzee119/hub_improv
Host hub clear port and device interrupts
2022-08-17 15:03:48 +07:00
Ryzee119 2b2354d302 Hub: Clear other port feature changes 2022-08-16 18:25:46 +09:30
Ryzee119 3c7b5dcaff Hub: Handle hub device status change interrupt 2022-08-16 18:25:43 +09:30
Ha Thach 585f37a797
Merge pull request #1489 from kasjer/kasjer/fix-nrf5x-dma-access
nrf5x: Fix DMA access
2022-08-15 21:30:39 +07:00
Ryzee119 aafea8ef5d Hub: Rename port status callback to be more generic 2022-08-15 17:43:04 +09:30
Ryzee119 5efef4393c Hub: Expand hub helpers to handle device events 2022-08-15 17:42:56 +09:30
Ha Thach 8a28e7cd75
Merge pull request #1597 from kasjer/kasjer/dfu-coexistence
dfu: Allow DFU coexistence with other interfaces (BTH, RNDIS, future one)
2022-08-10 12:45:22 +07:00
Ha Thach 7ade0d0ce4
Merge pull request #1588 from majbthrd/stm32l052
add 'stm32l052dap52' (STM32L052K8 MCU) board target
2022-08-10 12:41:29 +07:00
Jerzy Kasenberg c7469ce986 dfu: Allow DFU coexistence with other interfaces
dfu_moded_open() only works correct when its called on DFU interface
descriptor. It means that DFU is the only one interface in configuration
or driver is called after all others interface drivers were tried and
gave up.

If other interface is supported and but driver for DFU is called first
(this is the case for BTH and RNDIS).
Code after while loop (that was not entered) has an TU_ASSERT that will
make set_configuration to fail.

Now TU_VERIFY is called first to make sure open code is called for DFU
only and not other interface descriptors like in other drivers.
2022-08-09 10:42:30 +02:00
Peter Lawrence d1c61e33a6 add 'stm32l052dap52' (STM32L052K8 MCU) board target
'dap52' is Olimex's name of their STM32L052-based fork of 'dap42'
2022-08-03 12:31:37 -05:00
Ha Thach 251ce98990
Merge pull request #1586 from hathach/fix-TUD_OPT_HIGH_SPEED
fix issue with TUD_OPT_HIGH_SPEED
2022-08-01 15:51:54 +07:00
hathach a219ba86ea
fix issue with TUD_OPT_HIGH_SPEED 2022-08-01 14:52:29 +07:00
hathach fe7fca7abb
minor clean up 2022-08-01 14:42:58 +07:00
hathach 4a47db97eb
test hw dfu_runtime 2022-07-29 11:32:17 +07:00
hathach aa8880c681
clean up 2022-07-28 22:13:39 +07:00
hathach 292dea408f
add dfu test 2022-07-28 21:27:38 +07:00
hathach cbb7c9f313
fix hw test 2022-07-28 13:31:42 +07:00
hathach d36ea6ddc1
update issue template 2022-07-28 12:23:01 +07:00
hathach 229a1c1458
update hw test 2022-07-28 11:37:09 +07:00
hathach e01b437af5
more hw test 2022-07-28 11:10:54 +07:00
hathach 2d5be43747
fix typo 2022-07-27 20:31:57 +07:00
hathach 4411579ae0
ci update 2022-07-27 16:34:22 +07:00
hathach 05ccd6c32b
more hw test update 2022-07-27 15:44:21 +07:00
hathach 1ff0c7a52b
sleep 0.2 for new image take affect 2022-07-27 15:20:56 +07:00
hathach f5f2433c5a
wait for enumeration before test 2022-07-27 12:08:50 +07:00
hathach 95c0262cd6
update test 2022-07-26 23:14:27 +07:00
hathach d15a86bc69 test flash and hw test with cdc msc 2022-07-26 16:49:51 +07:00