Commit Graph

5583 Commits

Author SHA1 Message Date
NexusXe ada7a23ddc
Fix capitalization 2022-02-16 08:33:06 -06:00
NexusXe a72d0245fa
Fix link to supported boards
It used to point to `boards.md`, which doesn't exist.
2022-02-16 08:29:20 -06:00
Ha Thach fcca8bb4ca
Merge pull request #1327 from hathach/msc-request-sense
Add msc request sense callback
2022-02-15 23:17:58 +07:00
hathach 46f4f7ff49 minor rename set sense function 2022-02-15 22:53:23 +07:00
hathach 391edc7afb msc example response PREVENT_ALLOW_MEDIUM_REMOVAL command as unsupported command
LUN1 of msc_disk_dual will be set to not ready to simulate medium not
present (e.g SD card removed)
2022-02-15 22:40:08 +07:00
Ha Thach de4932d9c5
Merge pull request #1318 from JayToltTech/master
Nit spelling correction
2022-02-15 12:28:26 +07:00
Ha Thach 01684f71fb
Merge pull request #1322 from ZenithalHourlyRate/ZenithalHourlyRate-readme-typo
readme: fix typo
2022-02-15 12:20:29 +07:00
hathach 456c06aa5e add tud_msc_request_sense_cb() as weak callback
set default error sense to NOT READY, Medium not present
2022-02-14 18:17:49 +07:00
Zenithal 678c415bea
readme: fix typo 2022-02-10 22:30:31 +08:00
Jay Beavers 2df57d2be0 Nit spelling correction 2022-02-09 08:19:01 -08:00
Ha Thach 63cb3cdc74
Merge pull request #1304 from kkitayam/add_hcd_for_frdm_kl25z
Add hcd driver for frdm kl25z
2022-02-09 16:14:50 +07:00
Ha Thach d6fb1859a4
Merge pull request #1291 from kasjer/kasjer/da1469x-fix-resume
da1469x: fix resume
2022-02-02 20:20:39 +07:00
Ha Thach c6cde724f6
Merge pull request #1305 from Ryzee119/patch-1
OHCI: Fix array out of bounds issue
2022-02-01 23:00:10 +07:00
Ha Thach d56bbbb5a7
Merge pull request #1303 from mysterywolf/master
add rt-thread's tinyusb repo address
2022-02-01 22:35:21 +07:00
Ryzee119 453ba529a6
OHCI: Fix array out of bounds issue
If using a USB hub, a request outside the array size can occur

Original line:
ffb257ac17/src/portable/ohci/ohci.h (L162)

It can happen in a few places but one such example is here:
ffb257ac17/src/portable/ohci/ohci.c (L460)

ie. if HUB address is 5, this would be an array index out of bounds on control endpoints as `CFG_TUH_DEVICE_MAX+1` is only 5.

This fix just includes num of hubs in the reserve array size.

Fixing locally fixed this issue.
2022-01-28 14:02:34 +10:30
kkitayam ce7a8fed36 Add a partial support mark to KL25 2022-01-28 01:18:44 +09:00
kkitayam 03d2e32dc1 Fix handling for pending transfers 2022-01-27 23:38:19 +09:00
kkitayam d7cbfaaa0a Add hcd into source list 2022-01-27 22:26:51 +09:00
kkitayam 60a0be82da Change hcd_edpt_xfer to send at the next SOF 2022-01-27 22:25:36 +09:00
kkitayam cc06a3585e Add handling for NAK response 2022-01-27 20:57:41 +09:00
kkitayam cdab869472 Fix handling control transfer 2022-01-27 20:57:41 +09:00
kkitayam a4bc6075ce Add HCD functions for KL25Z 2022-01-27 20:57:40 +09:00
Man, Jianting (Meco) 6085999e2b
add rt-thread's tinyusb repo address 2022-01-26 20:08:34 -05:00
Ha Thach ffb257ac17
Merge pull request #1301 from hathach/fix-mynewt-sunxi
fix mynewt build sunxi
2022-01-26 17:02:52 +07:00
hathach 578a123282 fix mynewt build sunxi 2022-01-26 12:59:53 +07:00
Ha Thach eea19daac6
Merge pull request #1220 from t123yh/master
Add support for Allwinner F1C100s family
2022-01-26 12:52:46 +07:00
Ha Thach 7de166390e
Merge branch 'master' into master 2022-01-25 22:29:05 +07:00
Jerzy Kasenberg 7b078367e8 dcd_da1469x: Re-enable RX after resume
Going to suspend states disable reception on non-0 RX endpoints.

Now when USB resume condition is detected, all RX endpoints
with pending transfers are resumed.
2022-01-20 16:28:09 +01:00
Jerzy Kasenberg ae4d901d83 dcd_da1469x: Fix over-run/under-run mask
Bit mask enabling/disabling over-run/unde-run was shifted
by one nibble, so interrupt was never enabled.
It did not force any issue as this situation could only
happen on ISO endpoints without DMA.
2022-01-20 10:01:18 +01:00
Ha Thach a592282079
Merge pull request #1288 from hathach/rx-host-example-ci
enable ci build for RX65X host example
2022-01-19 20:46:23 +07:00
hathach 3b66bbf6d5
enable ci build for RX65X host example
update comment for unit not ready 3a-00 additional sense
2022-01-19 19:12:21 +07:00
Ha Thach e40547ada1
Merge pull request #1265 from kkitayam/add_hcd_for_renesas_rx
Add HCD driver for Renesas RX
2022-01-19 19:07:21 +07:00
Ha Thach 9e99269875
Merge pull request #1287 from alisitsyn/bugfix/fix_idfgh6508
fix idfgh-6508: return type in tu_fifo_peek_n()
2022-01-19 17:50:33 +07:00
email af9a3f646c fix idfgh-6508: return type in tu_fifo_peek_n()
https://github.com/espressif/esp-idf/issues/8161
2022-01-19 09:00:43 +01:00
Ha Thach 0b6b4f2441
Merge pull request #1286 from hathach/fix-fifo-mutex-when-full
fix locked mutex when fifo is full
2022-01-19 10:45:33 +07:00
Ha Thach 983abfd6d8
Merge pull request #1279 from kasjer/kasjer/nrf5x-int-race
nrf5x: Fix EP OUT race conditions
2022-01-19 10:33:37 +07:00
hathach 161ba73c8b
fix locked mutex when fifo is full 2022-01-19 10:17:39 +07:00
Ha Thach 84f2ca77f7
Merge pull request #1283 from kasjer/kasjer/olimex-pic32-board-fixes
olimex pic32 board fixes
2022-01-19 09:55:18 +07:00
Ha Thach 92c36f187d
Merge pull request #1274 from kasjer/kasjer/nrf5x-request-clock-in-mynewt
nrf5x: Request HFXO via OS
2022-01-18 20:00:23 +07:00
Jerzy Kasenberg f4725120a4 nrf5x: Request HFXO via OS
Mynewt (similar to Soft Device) has its own reference counting for
HFXO oscillator.
So far TinyUSB requested HFXO when VBUS was detected and stopped when
VBUS was removed.
But with Mynewt running HFXO can be stopped when other interested parties
don't require HFXO anymore. This results in very difficult to track
USB transmission errors.

This change enables Mynewt specific HFXO management in Soft Device fashion.
2022-01-18 08:12:49 +01:00
Jerzy Kasenberg 45d56915d1 pic32/olimex boards: Fix active state of button
Buttons for olimex_emz64 and olimex_hmz144 should be set
to active low in board configuration.
2022-01-17 18:00:58 +01:00
Jerzy Kasenberg 168c7095e8 pic32mz: Fix remote_wakeup without OS
Remote wakeup requires 10ms of delay when RESUME bit
is toggled.
It was covered for OS build.
For non-OS build simple delay based on board_millis() is
used to wait required amount of time.
Without this remote wakup may not work.
2022-01-17 17:59:51 +01:00
Ha Thach 6972a4f5cf
Merge pull request #1276 from kkitayam/fix_video_capture_frame_interval
Fix video_capture example fails enumeration when 8FPS
2022-01-17 23:57:42 +07:00
Ha Thach 11aa4b9bba
Merge pull request #1284 from kasjer/kasjer/ft9xx-mynewt
ft9xx: Fix Mynewt build
2022-01-17 16:28:07 +07:00
Jerzy Kasenberg ec01428820 ft9xx: Fix Mynewt build
Includes were moved few lines down to restore build with Mynewt build system.
2022-01-17 09:14:41 +01:00
Ha Thach 58b8bdc2e4
Merge pull request #1277 from liamfraser/fix-cmake-skip
Fix family_support.cmake to use new skip.txt and only.txt files
2022-01-17 14:36:51 +07:00
Ha Thach 61d392fad4
Merge pull request #1238 from ftdigdm/port-ft90x
Port ft90x
2022-01-17 13:18:30 +07:00
Ha Thach 0780fd3d1e
Merge pull request #1269 from mysterywolf/master
[rt-thread] add rt-thread os in readme
2022-01-17 12:37:53 +07:00
Ha Thach efc29baead
Merge branch 'master' into port-ft90x 2022-01-17 12:36:39 +07:00
hathach 1a7de71e79 correct link in rst 2022-01-17 12:15:54 +07:00