b73003745f
move host hacked bulk mps out of tu_edpt_validate()
2025-12-11 16:41:33 +07:00
ef018e364e
refactor usbh_class_driver_t's open() to return number of driver len instead of bool. help to simplify parsing configuration
2025-12-11 15:58:10 +07:00
702be8da51
refactor binding ep and interface to driver
2025-12-11 11:49:01 +07:00
39853dfb25
move hwid into edpt stream for consistent API
2025-12-10 20:47:08 +07:00
5fe3992bd8
minor format
2025-12-10 18:56:26 +07:00
0a1bf62a2d
Merge branch 'master' into more-size-reduce-edpt-stream
2025-12-10 18:51:44 +07:00
098dd07ecd
Merge pull request #3396 from hathach/hwfifo_post
...
HWFIFO post fixup
2025-12-10 18:51:02 +07:00
8d0fda879b
only validate endpoint tu_edpt_validate() when debug enabled
2025-12-10 18:49:39 +07:00
aba91bea35
disable HWFIFO musb and rusb2, since they are not tested yet
2025-12-10 18:29:33 +07:00
63dea396de
revert the usbd_edpt_xfer_fifo guard
2025-12-10 17:01:33 +07:00
69bb4e669b
Merge branch 'master' into hwfifo_post
2025-12-10 16:02:25 +07:00
a165cf26b2
remove tu_fifo_discard_n() and its usage
2025-12-10 15:25:30 +07:00
fcc300770d
flatten cdc tx,rx stream
2025-12-10 14:57:11 +07:00
f1fc4c9c79
change tu_fifo_clear()/tu_edpt_stream_clear() from return bool to void
2025-12-10 14:45:06 +07:00
0e48fe8622
Merge pull request #3399 from hathach/size-reduce
...
edpt stream only support no fifo mode if needed
2025-12-10 12:01:44 +07:00
919ee4b152
update metrics to support bloaty csv
2025-12-10 11:33:31 +07:00
16c92b50b0
update metrics to support bloaty
2025-12-09 19:00:14 +07:00
ae53e2f9ae
remove FS MPS assumption
...
Signed-off-by: Zixun LI <admin@hifiphile.com >
2025-12-08 15:43:32 +01:00
e169ab47bb
audio_device: use CFG_TUD_EDPT_DEDICATED_HWFIFO flag for FIFO transfer
...
Signed-off-by: Zixun LI <admin@hifiphile.com >
2025-12-08 12:11:00 +01:00
4e365fcef3
usbd: remove dcd_edpt_xfer_fifo ifdef guard
...
Signed-off-by: Zixun LI <admin@hifiphile.com >
2025-12-08 12:11:00 +01:00
c68cd68664
tusb: add HWFIFO flag for supported MCUs
...
Signed-off-by: Zixun LI <admin@hifiphile.com >
2025-12-08 12:11:00 +01:00
e9cd4d823f
Merge pull request #3340 from dinsfire64/hid-enum-fix
...
remove hid host enumeration assumption
2025-12-08 10:40:07 +07:00
2c78a2dd9c
edpt stream only support non-fifo mode if needed CFG_TUSB_EDPT_STREAM_NO_FIFO_ENABLED
2025-12-06 02:29:05 +07:00
c0113f0de1
fix metrics.py compare with verbose json. add print compare summary
2025-12-06 02:28:14 +07:00
0b555fc46d
Merge pull request #3391 from hathach/hide-unchange-size
...
hide unchange table
2025-12-05 21:43:39 +07:00
1e15094f33
hide unchange table
2025-12-05 21:15:28 +07:00
e73dfde96d
also render unchange table ( #3390 )
...
* also render unchange table
* run metrics with circleci (full all boards build)
2025-12-05 20:12:45 +07:00
93b53158f0
Run CI build with fixed set of boards ( #3389 )
...
* run cmake ci build on github with a fixed set of board to keep the size stable
* Size Difference Report contain major >1% and minor <1& table
2025-12-05 10:21:28 +07:00
e7105b1fa3
fine tune ci to build more with circleci ( #3386 )
...
* fine tune ci to build more with circleci
* skip make for arm-iar, esp-idf
* skip make + clang for circleci since llvm-objcopy got killed due to memory issue.
2025-12-04 21:34:10 +07:00
f68e354729
Merge pull request #3384 from hathach/pr-size-diff
...
Size metrics
2025-12-04 09:03:37 +07:00
1b6f2b90a4
clean up
2025-12-03 23:10:21 +07:00
b0093ff067
Apply suggestion from @Copilot
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-03 23:08:58 +07:00
f51ca33f25
upload metrics.json and aggregate code metrics, post metrics comment
...
fine tune ci matrix run
2025-12-03 23:04:49 +07:00
ee3d3e3551
upload metrics.json and aggregate code metrics, fine tune ci matrix run
2025-12-03 11:00:57 +07:00
3d190475ad
upload metrics.json, test ci
2025-12-03 00:44:12 +07:00
09e1113aaf
adding metrics for computing average compiled size
2025-12-02 23:55:24 +07:00
c859744784
adding metrics for computing average compiled size
2025-12-02 13:01:49 +07:00
a337a6d337
run linkermap as post build for size analyze
2025-12-01 18:37:16 +07:00
df6f136003
add linkermap to deps and linkermap taget
2025-12-01 14:46:47 +07:00
7ee288bc22
change armgcc setup to manual download due to issue with action ( #3377 )
...
* change armgcc setup to manual download due to issue with action
* build windows, macos with cmake as well
2025-11-29 01:41:30 +07:00
583fe844e9
Merge pull request #3376 from hathach/fix-zephyr-build
...
fix build with zephyr with latest nrfx v4
2025-11-28 14:02:31 +07:00
7d012b014e
fix build with zephyr with latest nrfx v4
2025-11-28 13:34:00 +07:00
1618c58dc4
Merge pull request #3373 from hathach/vendor-dedicated-hwfifo
...
update Vendor device to omit ep buffer for port with dedicated hwfifo
2025-11-27 23:52:51 +07:00
6e9e9ce9d1
add CFG_TUD_VENDOR_RX_MANUAL_XFER per suggestion
2025-11-27 23:24:00 +07:00
1465a9b5bc
make vendor_read_* API() is only available when CFG_TUD_VENDOR_RX_BUFSIZE > 0
...
vendor_write_flush() and write_available() only available when CFG_TUD_VENDOR_TX_BUFSIZE > 0
2025-11-27 19:14:23 +07:00
9a9bf0fd7b
change tud_vendor_rx_cb() behavior, buffer and bufsize only available when CFG_TUD_VENDOR_RX_BUFSIZE = 0
...
update vendor device to omit ep buf when dedicated hwfifo is supported
2025-11-27 18:41:57 +07:00
f3dc2186ae
add tud_vendor_n_read_discard(), refactor vendor device. Update webusb example for more robust
2025-11-27 16:25:19 +07:00
4ef0f61bde
add tu_fifo_discard_n() and tu_edpt_stream_discard()
2025-11-27 16:23:00 +07:00
5ef55bfa30
Merge pull request #3359 from hathach/xfer-fifo
...
remove ep buffer for port with dedicated hw fifo
2025-11-27 11:42:31 +07:00
8cf2c3b00b
re-enable other hil tests
2025-11-27 11:04:35 +07:00