8936 Commits

Author SHA1 Message Date
hathach
d51863d1a0
- correctly do_ping if received nyet as transfer complete e.g msc 31 byte command
- correctly carry out OUT transfer when PING is ack
2025-04-18 22:46:37 +07:00
hathach
8111e53ff0
minor rename 2025-04-18 18:21:42 +07:00
hathach
2fd0301f0e
Merge branch 'master' into fork/HiFiPhile/ping_out
# Conflicts:
#	src/portable/synopsys/dwc2/hcd_dwc2.c
2025-04-18 17:59:38 +07:00
Ha Thach
e44f556a95
Merge pull request #3072 from maximevince/dwc2-retry-in-token-immediately
dwc2/host: immediately retry IN token for bInterval=1
2025-04-18 17:12:07 +07:00
HiFiPhile
ee1a5dbac0
Merge pull request #3084 from joelpmichael/hcd-template-comments
note potential issues using ep_desc in hcd_edpt_open()
2025-04-18 11:25:59 +02:00
HiFiPhile
91163c9217
Merge pull request #3067 from maximevince/dwc2-host-fix-disconnect
dwc2/host: enable disconnect interrupt + handle it
2025-04-18 11:24:23 +02:00
hathach
1b888a3311
clean up, remove halted_sof_schedule flags since channel_xfer_in_retry() is only called when channel is halted. 2025-04-18 16:17:35 +07:00
HiFiPhile
b6abc9022a Merge remote-tracking branch 'upstream/master' into hcd-template-comments
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-04-18 11:13:15 +02:00
HiFiPhile
7134109973 Update hcd_edpt_open() note.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-04-18 11:12:14 +02:00
Ha Thach
3fd7854a91
Merge pull request #3081 from hathach/usbh-enum-get-string-desc-first
usbh enum get string descriptor length first
2025-04-18 15:24:42 +07:00
hathach
ba45625ea4
minor ci update 2025-04-18 14:29:06 +07:00
hathach
5c7ca2acad
change gh ci iar to push event 2025-04-18 12:07:08 +07:00
hathach
e8a84f9076
enum For string descriptor (langid, manufacturer product, serila): always get the first 2 bytes to determine the length first. otherwise, some device may have buffer overflow. 2025-04-18 10:53:12 +07:00
Ha Thach
edbea218b9
Merge pull request #3086 from hathach/ci-add-picow-host
Ci add picow host test
2025-04-17 23:51:50 +07:00
hathach
46d2d4199e
run arm-iar with non-forked PR 2025-04-17 21:36:09 +07:00
hathach
0220852a6e
- hil test max retry = 3
- fix h7 unused function
2025-04-17 16:58:26 +07:00
hathach
d4983acd3a
github ci support setup/install iar toolchain 2025-04-17 16:50:25 +07:00
hathach
3851c7c97a
- run arm-iar using github action
- add skip_ci.txt to family folder to skip boards in ci run
2025-04-17 16:07:10 +07:00
hathach
9eb0ae7636
fix iar make build with stm32 l0, f2, f3, u5, wb 2025-04-17 15:15:07 +07:00
hathach
b1eedf4d1d
fix iar make build with wb and u5 2025-04-17 14:40:43 +07:00
hathach
eea42fd119
update iar build 2025-04-17 13:05:18 +07:00
hathach
ccb34dbbdb
add toolchain.json for toolchain url 2025-04-17 12:20:05 +07:00
hathach
f479b02ea6
ci add pico_w for native host test 2025-04-17 11:22:38 +07:00
Ha Thach
e426c8c876
Merge pull request #3085 from hathach/ci-add-s3-host
Ci add s3 host
2025-04-17 11:07:04 +07:00
hathach
7ef17a85cb
de-duplicate flash board_test for board with multiple flags_on 2025-04-16 23:47:17 +07:00
hathach
4d601545eb
add TS3USB30 to test s3 host with slave/dma 2025-04-16 21:15:07 +07:00
Joel Michael
0d2c08efd7 note potential issues using ep_desc in hcd_edpt_open() 2025-04-16 20:26:35 +10:00
Maxime Vincent
62d06e7b19
dwc2/host: fix all retry intervals
Signed-off-by: Maxime Vincent <maxime@veemax.be>
2025-04-15 09:07:48 +02:00
Maxime Vincent
384e191fdc
dwc2/host: immediately retry IN token for bInterval=1
Signed-off-by: Maxime Vincent <maxime@veemax.be>
2025-04-15 09:01:39 +02:00
Maxime Vincent
cea2c97248
Merge branch 'master' into dwc2-host-fix-disconnect 2025-04-15 09:00:16 +02:00
Ha Thach
bfe08176e5
Merge pull request #3070 from HiFiPhile/bitfield
host/dwc2: fix bitfields access width
2025-04-15 10:44:01 +07:00
hathach
d039d54a89
channge DWC2_CHANNEL_COUNT/DWC2_EP_COUNT to inline function 2025-04-14 23:45:20 +07:00
HiFiPhile
6689a0142d
Merge pull request #3079 from byteit101/version-string-fix
Fix version string to actually be the version
2025-04-12 16:41:04 +02:00
HiFiPhile
af0c47e06e Fix typo
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-04-12 15:21:42 +02:00
HiFiPhile
5e4decb4a3
Merge pull request #3074 from maximevince/dwc2-fix-hfir-off-by-one
dwc2/host: HFIR: Fix timing off-by-one
2025-04-12 13:40:36 +02:00
HiFiPhile
aecfd3433c Fix handle_hprt_irq
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-04-12 13:36:54 +02:00
Patrick Plenefisch
937b07cdc0
Fix version string to actually be the version 2025-04-11 18:19:39 -04:00
HiFiPhile
925010fd84 host/dwc2: resume OUT transfer when PING ACKed
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-04-11 17:18:36 +02:00
Maxime Vincent
72357cdb20
dwc2/host: HFIR: Fix timing off-by-one 2025-04-11 12:20:24 +02:00
HiFiPhile
2aff61ccb3 Fix CI.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-04-09 19:40:03 +02:00
HiFiPhile
3acaffd64d build fix.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-04-09 19:34:56 +02:00
HiFiPhile
084c0802c3 dwc2: refactor bitfields.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-04-09 19:34:56 +02:00
Maxime Vincent
6607b76c76
dwc2/host: remove hcd_event_device_remove() call from handle_hptr_irq to prevent double removal
Signed-off-by: Maxime Vincent <maxime@veemax.be>
2025-04-08 14:34:21 +02:00
HiFiPhile
1be4171d2a Fix espressif build with presets.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-04-07 23:41:55 +02:00
Maxime Vincent
7d8433abab
dwc2/host: enable disconnect interrupt + handle it
Signed-off-by: Maxime Vincent <maxime@veemax.be>
2025-04-07 11:36:06 +02:00
HiFiPhile
865e3488f9
Merge pull request #3014 from deshipu/master
Allow different port and mode for LED on ch32v boards
2025-04-06 18:35:28 +02:00
Radomir Dopieralski
1f2f92d97a Allow different port and mode for LED on ch32v boards
While there is a define for the port, the clock enable is hardcoded for
GPIOA, so setting a different port than GPIOA doesn't work. This fixes
it by adding a define for enabling the port clock.

It also adds a define for the pin mode, because not all boards have the
LED connected in a way that open drain works with it.
2025-04-06 17:14:32 +02:00
HiFiPhile
b4252c426f
Merge pull request #3015 from Dazza0/docs/fix_formatting
Fix .rst document formatting
2025-04-06 14:15:08 +02:00
HiFiPhile
42213eff2b
Merge pull request #3063 from maximevince/dwc2-host-fix-sof-flag
dwc2/host: clear SOF flag in handle_sof_irq()
2025-04-06 14:05:28 +02:00
Maxime Vincent
255ccf26ea
dwc2/host: clear SOF flag in handle_sof_irq() 2025-04-04 14:21:20 +02:00