| Age | Commit message (Collapse) | Author |
|
nrf5x: Fix DMA access race condition
|
|
|
|
fix build with latest esp idf
|
|
|
|
fix HID_REPORT_ID_N()
|
|
|
|
Fix link to supported boards in Getting Started page
|
|
|
|
It used to point to `boards.md`, which doesn't exist.
|
|
Add msc request sense callback
|
|
|
|
LUN1 of msc_disk_dual will be set to not ready to simulate medium not
present (e.g SD card removed)
|
|
Nit spelling correction
|
|
readme: fix typo
|
|
set default error sense to NOT READY, Medium not present
|
|
|
|
|
|
Add hcd driver for frdm kl25z
|
|
da1469x: fix resume
|
|
OHCI: Fix array out of bounds issue
|
|
add rt-thread's tinyusb repo address
|
|
If using a USB hub, a request outside the array size can occur
Original line:
https://github.com/hathach/tinyusb/blob/ffb257ac17f162bc5a4c26596d7a1e954db98aa5/src/portable/ohci/ohci.h#L162
It can happen in a few places but one such example is here:
https://github.com/hathach/tinyusb/blob/ffb257ac17f162bc5a4c26596d7a1e954db98aa5/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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fix mynewt build sunxi
|
|
|
|
Add support for Allwinner F1C100s family
|
|
|
|
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.
|
|
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.
|
|
enable ci build for RX65X host example
|
|
update comment for unit not ready 3a-00 additional sense
|
|
Add HCD driver for Renesas RX
|
|
fix idfgh-6508: return type in tu_fifo_peek_n()
|
|
When two tasks entered dcd_edpt_xfer() it was possible that
first disabled interrupt to setup total_len and actual_len
but second task for another endpoint enabled interrupt
between total_len and actual_len resulting in race
condition with interrupt, hence mutex is added on top of interrupt being blocked.
|
|
In multi-thread mode starting DMA in thread mode was
prone to race condition resulting in infinite loop.
It may happen on single core CPU with strict priority based
tasks scheduler where ready high prio task never yields to
ready low prio task (Mynewt).
Sequence that failed (T1 - low priority task, T2 - high priority task)
- T1 called start_dma()
- T1 set _dcd.dma_running (DMA not started yet, context switch happens)
- T2 took CPU and saw that _dcd.dma_running is set, so waits for _dcd.dma_running to be 0
- T1 never gets CPU again, DMA is not started T2 waits forever
OSAL mutex resolves problem of DMA starting from thread-context.
|
|
https://github.com/espressif/esp-idf/issues/8161
|
|
fix locked mutex when fifo is full
|
|
nrf5x: Fix EP OUT race conditions
|
|
|
|
olimex pic32 board fixes
|
|
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.
|
|
Buttons for olimex_emz64 and olimex_hmz144 should be set
to active low in board configuration.
|