f6774d5611
Implemented tuh_hid_send_report
2023-03-13 16:31:25 +07:00
be21413361
Merge pull request #1948 from dhalbert/remove-volatile-cast-include
...
rp2040: include hardware/sync.h explicitly
2023-03-11 09:35:04 +07:00
4857abdc6b
rp2040: include hardware/sync.h explicitly
2023-03-10 14:01:51 -05:00
f0ddf8d10f
dcd_nrf5x: ISO OUT handling
...
For incoming ISO OUT packets it was possible to start
DMA from endpoint to RAM before transfer was started
resulting in unrelated memory corruption.
This is scenario that causes memory corruption:
- ISO OUT packet is received
- Packet is transferred by DMA to transfer buffer
- xfer->started is cleared and xfer->buffer is updated as
it is in every case
- Application takes to long to handle it (it happens when debugger
is connected breakpoint is hit slowing down software).
- Next ISO OUT packet arrives
At this point there was no check if transfer was started and packet
was copied by DMA to location beyond previous data, possibly overwriting
unrelated memory.
This solves the issue by checking that transfer was
started and there is buffer ready for incoming packet.
2023-03-10 08:22:43 +01:00
3387c86108
Merge pull request #1933 from kilograham/rp2040_llvm_tweaks
...
make rp2040 code compile cleanly with LLVM embedded toochain for ARM.
2023-03-06 15:24:51 +07:00
95cfa37bf5
fix: Fix wrong destsz used with tu_memcpy_s
...
Bug: #1935
2023-03-05 18:47:48 -08:00
b7fa90e706
rp2040: Fixup lib and example compile for LLVM Embedded Toolchain for ARM
2023-03-02 14:32:22 -06:00
5d3084a714
add TUP_USBIP_FSDEV and TUP_USBIP_FSDEV_STM32, clean up ifdef with stm32
2023-03-01 11:22:04 +07:00
3c38c7dc25
Merge pull request #1828 from HiFiPhile/stm32_fsdev
...
stm32_fsdev & ISO EP buffer allocation improvements
2023-02-28 23:45:02 +07:00
ffdc100cb9
rename ep_num to ep_idx, minor clean up
2023-02-28 17:11:59 +07:00
65ac519715
Merge pull request #1852 from silvergasp/mem_s
...
fix: Replace device calls to memcpy with tu_memcpy_s
2023-02-27 10:22:53 +07:00
e34aeb5cf6
minor clean up
2023-02-27 09:11:35 +07:00
73afca14eb
Merge pull request #1491 from Ryzee119/ohci_fixes
...
OHCI usbh, tweaks and improvements
2023-02-22 22:52:41 +07:00
eca96c635d
comment out osal_task_delay if using os none
2023-02-22 22:28:22 +07:00
4caa6063b0
white space
2023-02-22 22:17:45 +07:00
1466afafeb
move and add optional tusb_app_virt_to_phys/tusb_app_phys_to_virt
...
also add place holder for tusb_app_dcache_flush() and
tusb_app_dcache_invalidate()
2023-02-22 22:14:50 +07:00
498989ee00
use tu_static instead of static _fuzz_thread
2023-02-22 16:23:40 +07:00
4c846af53e
rename OHCI_RHPORTS to TUP_OHCI_RHPORTS
2023-02-22 16:18:45 +07:00
557bf82336
Merge pull request #1867 from silvergasp/thread_local_globals
...
fix: Change all static variables to thread when fuzzing
2023-02-22 12:54:32 +07:00
03ec49450d
rename maros from FUZZ to _FUZZ, change TU_STATIC to static _fuzz_thread
2023-02-22 11:47:09 +07:00
4e2afdf5e1
ohci: Disable MIE interrupt during IRQ processing, zero HccADoneHead on completion
2023-02-18 10:48:39 +10:30
75f6583c1c
ohci: Use enum instead of magic number
2023-02-18 10:48:39 +10:30
f2a6af05b1
ohci: Add ability to separate physical and virtual memory
2023-02-18 10:48:38 +10:30
f87262185e
ohci: Set skip on ed prior to removal
2023-02-18 10:24:21 +10:30
cc9c3feeae
ohci: Fix bug in ed removal
2023-02-18 10:24:21 +10:30
e89e8ba392
ohci: Direct port commands to the correct rhport.
2023-02-18 10:24:21 +10:30
5d3c0fb922
ohci: Force reset of devices already connected on power up
2023-02-18 10:24:21 +10:30
c1d0fd1bd7
ohci: Wait POTG time after port power
2023-02-18 10:24:21 +10:30
2063ee5f15
ohci: Toggle frameinterval bit on update
2023-02-18 10:24:21 +10:30
d5e6d02817
ohci: Leave SMM or bios mode during init
2023-02-18 10:24:21 +10:30
c820c87692
ohci: Support configurable number of roothub ports
2023-02-18 10:24:21 +10:30
d367e8f8a8
ohci: Expand roothub descriptors into unions
2023-02-18 10:24:21 +10:30
fde7577117
Fix issue 1909
2023-02-15 20:02:12 -08:00
7e2c5fcc8a
Correct bitfields for cdc_desc_func_telephone_call_state_reporting_capabilities_t
2023-02-12 20:52:17 -08:00
f48ae4aad7
Adjust reserved bitfields to make SDCC happy
...
- keep each field at or under 16b
- For optimal packing, segment fields to 8b boundaries
2023-02-10 15:54:04 -08:00
7e48da5b44
update version to 0.15.0
...
add changelog
2023-02-10 12:47:48 +07:00
3422e05684
change length in tud_hid_report_complete_cb() from uint8 to uint16
2023-02-04 11:43:23 +07:00
d6354a2aa7
Merge pull request #1877 from hathach/fix-host-cdc-without-iad
...
Fix host cdc without iad
2023-02-01 11:18:04 +07:00
49628d8c18
Merge pull request #1779 from P33M/rp2040_device_babble_fix
...
rp2040: avoid device-mode state machine hang
2023-01-31 21:38:27 +07:00
ddb061f639
fix typos
2023-01-31 19:03:31 +07:00
95403ed9ac
fix host issue when mounting an CDC device without IAD
2023-01-31 18:40:07 +07:00
6759721e9a
move errata to end of c file
2023-01-31 17:38:27 +07:00
19b6cbc616
add e15 prefix or walkaround related functions, also minor refactor
2023-01-31 17:15:42 +07:00
0cce42fcc6
minor clean up
2023-01-31 11:38:15 +07:00
b03a688b24
Merge pull request #1768 from ftdigdm/port-ft90x
...
Port ft90x
2023-01-30 22:13:14 +07:00
6257123157
Merge branch 'master' into support-iar
2023-01-30 16:44:22 +07:00
cc18784479
hardcoded configPRIO_BITS for IAR build to pass CI
2023-01-30 16:42:56 +07:00
6dd40603f9
fix typo
2023-01-30 11:46:52 +07:00
88f3279c3c
Merge branch 'master' into port-ft90x
2023-01-30 11:40:53 +07:00
0d2078d295
rp2040: shuffle hw_endpoint members
...
Ordering by element size prevents alignment holes, and as a consequence the
host mode version of the struct is the same size as device, as pad bytes at
the end are used instead.
2023-01-24 12:05:32 +00:00