Commit Graph

8917 Commits

Author SHA1 Message Date
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
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
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
HiFiPhile
1be4171d2a Fix espressif build with presets.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-04-07 23:41:55 +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
Ha Thach
60e6d53d10 Merge pull request #3061 from hathach/update-endpoint-open
fix(hcd) hcd_edpt_open() return true if endpoint is already opened.
2025-04-03 21:22:01 +07:00
hathach
4787cd5f54 fix(hcd) hcd_edpt_open() return true if endpoint is already opened. 2025-04-03 18:11:33 +07:00
Ha Thach
8c1802e41d Merge pull request #3043 from hathach/hcd-close-ep
feat(host) add endpoint close API and feat(HIL) improvement
2025-03-27 10:47:10 +07:00
hathach
5531de4f2c add clion debugserver 2025-03-26 23:20:00 +07:00
hathach
e511d00f34 added hcd_edpt_close() stub for other ports 2025-03-26 22:11:44 +07:00
hathach
901ce2ad93 hcd/ehci: hcd_edpt_open() return false if ep is already opened. implement hcd_edpt_close() 2025-03-26 21:32:18 +07:00
hathach
1615120bca added mimxrt1064_evk to hil test pool 2025-03-26 15:32:19 +07:00
hathach
69dca9518c added mimxrt1064_evk to hil test pool 2025-03-26 15:20:27 +07:00
hathach
73e810a7ba imxrt: disable BOARD_ConfigMPU() since it cause issue with imxrt1060/64. Update imxrt configtool forr some board to get uart pin init. 2025-03-26 15:20:02 +07:00
hathach
99673cdbb8 fix wanings 2025-03-25 17:36:15 +07:00
hathach
65e01fff2e add tuh_edpt_close() API, it will abort any pending transfer
implement hcd_edpt_close() for pio-usb and max3421e, also move max3421e api into its own header.
2025-03-25 16:15:58 +07:00
hathach
b99b811308 more hil improvement 2025-03-25 14:43:40 +07:00
hathach
1fd5c12316 HIL: add flag CFG_TUH_RPI_PIO_USB to pico/pico2 2025-03-25 10:43:55 +07:00
hathach
875e645b32 update hil test to include dual and host for pico/pico2 2025-03-24 23:56:32 +07:00
hathach
db537861b2 device cdc: rename tud_cdc_configure_fifo/_t to tud_cdc_configure/_t
add tx_overwritabe_if_not_connected for cdc driver configure
2025-03-24 22:58:21 +07:00
hathach
9f541a3d96 host: add tuh_enum_descriptor_device_cb() and tuh_enum_descriptor_configuration_cb() callback
host: support device with multiple configurations
2025-03-24 22:55:04 +07:00
Ha Thach
cf76af1056 Merge pull request #3042 from rppicomidi/fix_3033
Fix #3033: Increase array bounds and test for overflow
2025-03-21 22:56:16 +07:00
rppicomidi
3324a327cb Fix #3033: address review comment 2025-03-21 07:14:10 -07:00
rppicomidi
b0def52f45 Move misplaced statement 2025-03-21 07:13:01 -07:00