Commit Graph

1819 Commits

Author SHA1 Message Date
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
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
f51ca33f25 upload metrics.json and aggregate code metrics, post metrics comment
fine tune ci matrix run
2025-12-03 23:04:49 +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
df6f136003 add linkermap to deps and linkermap taget 2025-12-01 14:46:47 +07:00
7d012b014e fix build with zephyr with latest nrfx v4 2025-11-28 13:34:00 +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
38842491bb Merge pull request #3369 from hathach/misc_fix
Few misc fixes
2025-11-26 08:46:31 +07:00
91c3b338b2 example: fix audio_debug glitch on Windows 2025-11-25 16:41:30 +01:00
dc083e4d9c Merge remote-tracking branch 'tinyusb/master' into n6_build
Signed-off-by: Zixun LI <zli@ogga.fr>
2025-11-25 10:59:43 +01:00
e59b2c40fc Fix N6 build
Signed-off-by: Zixun LI <zli@ogga.fr>
2025-11-25 10:49:07 +01:00
d76ddc695f Also fix bDescriptorType
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-11-21 22:11:52 +01:00
183c5ef027 Fix in multiple example codes, wrong descriptor length was taken for tusb_desc_device_qualifier_t.
Signed-off-by: Thomas Rubin <thomas.rubin2@protonmail.com>
2025-11-21 14:31:45 +01:00
4b92d325be device_info wait 100ms for host's uart, needed for hil test 2025-11-19 15:07:50 +07:00
1df116adfc clean up 2025-11-19 12:19:08 +07:00
fd3161087d Merge branch 'refs/heads/master' into dwc2_ep0
# Conflicts:
#	examples/device/dfu/src/usb_descriptors.c
#	examples/device/dfu_runtime/src/usb_descriptors.c
#	src/device/usbd_control.c
#	src/portable/synopsys/dwc2/dcd_dwc2.c
2025-11-19 11:32:44 +07:00
66c84528f6 Merge pull request #3345 from hathach/update-iso-alloc
make dcd_edpt_iso_alloc/activate as default API for ISO endpoint
2025-11-17 23:34:04 +07:00
be9d1973ac make TUP_DCD_EDPT_ISO_ALLOC i.e dcd_edpt_iso_alloc()/dcd_edpt_iso_activate() as default driver implementation. dcd_edpt_close() is deprecated and will be removed from all driver in the future. 2025-11-17 19:42:10 +07:00
ac903db1ce Merge remote-tracking branch 'tinyusb/master' into embedded-ideas/master
Signed-off-by: Mengsk <admin@hifiphile.com>
2025-11-14 15:10:11 +01:00
c9a9e94ae5 tweak to dual host info device cdc to make it easier to pass hil test 2025-11-14 11:56:13 +07:00
aac7ad1eb6 cdc device tx_persistent for dual host info to help with hil test 2025-11-13 13:56:02 +07:00
f11adb02eb migrate cdc device to use edpt stream API
tu_edpt_stream_open() does not clear fifo, allow for persistent stream when disconnect/reconnect
2025-11-12 21:22:25 +07:00
96f35fc0a5 Merge pull request #3334 from hathach/fix-alerts-3
Fix more code alerts
2025-11-09 00:26:04 +07:00
7f173ab5ed fix more alerts 2025-11-08 15:54:02 +07:00
b83b36b354 Merge remote-tracking branch 'origin/fix-alerts-3' into fix-alerts-3
# Conflicts:
#	src/class/cdc/cdc_device.h
#	src/class/msc/msc_device.c
#	src/common/tusb_debug.h
2025-11-08 00:30:22 +07:00
652342b57b fix more alerts found by pvs-studio 2025-11-07 23:50:16 +07:00
91c3a4fa8d Merge pull request #3321 from gabChouin/audio_ep_in_target_fifo_size
audio: Implement support for variable EP in flow control fifo level
2025-11-07 07:15:15 -08:00
4fcce0fbc9 Implement RX FIFO threshold adjustment
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-11-07 15:50:49 +01:00
9fac6dd49d fix more alerts found by pvs-studio 2025-11-07 16:17:13 +07:00
86a4990b96 fix more alerts 2025-11-06 21:30:52 +07:00
94c1e05a72 fix typo detected by copilot 2025-11-06 19:26:44 +07:00
cd90d94e7c make host info to devcie cdc to work with freertos/noos 2025-11-06 19:08:53 +07:00
0172f40e66 update espressif cmake 2025-11-06 11:39:10 +07:00
1f04fe7924 added .clang-format
fix more alerts
disable IAR CStat since pvs-studio check is better integrated with clion
2025-11-05 17:34:27 +07:00
8979af34c0 Fixed more alert found by PVS-Studio 2025-11-04 19:56:53 +07:00
00f374682e fixing alert by scanning tool 2025-11-03 11:46:54 +07:00
bda7efb1b3 fix #2942, include stdio if CFG_TUSB_DEBUG > 0 and CFG_TUSB_DEBUG_PRINTF is not defined 2025-11-03 10:46:09 +07:00
6b3970d5ff Fixed trailing whitespaces in files (used wrong editor) 2025-10-31 17:29:58 +01:00
cee793796c Add boundary check
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-10-31 10:56:31 +01:00
aa739c946d Merge branch 'master' into uac1
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-10-30 19:50:47 +01:00
889cde7d4b Video class: Changed pararameters of payload request to a dedicated structure in order to meet coding guideliness 2025-10-30 15:01:52 +01:00
b8cea4ad76 Added bufferless operation to the video capture example. Can be tested with e.g. nanoCH32V305 board with the following settings:
- tusb_config.h
  - #define CFG_TUD_VIDEO_STREAMING_EP_BUFSIZE  1024
  - #define CFG_TUD_VIDEO_STREAMING_BULK 1
  - #define CFG_EXAMPLE_VIDEO_DISABLE_MJPEG
  - #define CFG_EXAMPLE_VIDEO_BUFFERLESS

and

- usb_descriptor.h
  - #define FRAME_RATE    60
2025-10-30 14:06:17 +01:00
813eba22c1 Merge pull request #3271 from karlp/pr/examplesd-freertos-stacks
examples/device/*_freertos: expand stack size when needed
2025-10-30 14:21:24 +07:00
ec8ef7a9af increase freertos stack size when debug is enabled 2025-10-30 11:16:19 +07:00
4da7845747 Merge branch 'master' into dwc2_ep0
# Conflicts:
#	examples/device/dfu/src/usb_descriptors.c
#	examples/device/dfu_runtime/src/usb_descriptors.c
#	src/portable/synopsys/dwc2/dcd_dwc2.c
2025-10-29 20:32:50 +07:00
f35c4216a8 IAR C-Stat exclude mcu folder 2025-10-28 15:56:25 +07:00