Commit Graph

2909 Commits

Author SHA1 Message Date
1fc203b085 more update to kinetis bsp 2023-03-18 19:50:24 +07:00
2d187777c0 merge kinetis into its own family in bsp 2023-03-18 18:30:51 +07:00
f9b8a0667a Add support for NXP FRDM_K32L2A4S eval board. 2023-03-18 16:50:50 +07:00
9f54cc1eb7 more clean up 2023-03-18 11:43:47 +07:00
d919f107c7 minor clean up 2023-03-18 11:22:44 +07:00
bdfcd50b1b Merge branch 'master' into portability 2023-03-17 23:53:38 +07:00
3623ba1884 fix trailing space and new line
temporarily disable codespell
2023-03-17 16:12:49 +07:00
e1fda007f6 minor refactor to invalid index 2023-03-17 14:46:02 +07:00
317177c83d update host example, add pio-pico-usb for rp2040 2023-03-17 14:06:25 +07:00
f349ae7702 fix enumerate one device at a time 2023-03-17 13:58:01 +07:00
e7d212f337 more fix 2023-03-16 23:21:15 +07:00
92aed7e3e0 rename symbols 2023-03-16 11:28:10 +07:00
bc2127b330 rename file link to rusb2 2023-03-16 11:03:53 +07:00
cd1726c009 Merge branch 'master' into renesas-ra 2023-03-16 09:51:27 +07:00
d9a9dc5ac0 fix PICO_SHARED_IRQ_HANDLER_HIGHEST_ORDER_PRIORITY not defined in old pico-sdk 2023-03-15 17:38:14 +07:00
ea8ecea59a Merge pull request #1953 from tannewt/fix_cached_imx_reset
Flush the dcd data on reset
2023-03-14 09:08:32 +07:00
d31aac453e Flush the dcd data on reset 2023-03-13 15:22:00 -07:00
296ce528fc Updated host hid_controller example to demo tuh_hid_send_report 2023-03-13 16:31:25 +07:00
f6774d5611 Implemented tuh_hid_send_report 2023-03-13 16:31:25 +07:00
0a7c08d16e minor format 2023-03-12 16:01:24 +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
fe77976765 Merge branch 'master' into renesas-ra 2023-03-11 08:15:23 +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
0f8e530de1 fix incorrect merge of hcd link 2023-03-08 23:01:37 +07:00
2cf092464b fix freertos build with iar, format/indent link_type 2023-03-08 22:34:54 +07:00
05e0205ad0 Merge branch 'master' into renesas-ra 2023-03-08 21:05:06 +07: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