Commit Graph

1251 Commits

Author SHA1 Message Date
d851e82721 example: with FreeRTOS: skip hpmicro
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2025-12-16 13:11:28 +08:00
c859744784 adding metrics for computing average compiled size 2025-12-02 13:01:49 +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
91c3b338b2 example: fix audio_debug glitch on Windows 2025-11-25 16:41:30 +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
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
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
cd90d94e7c make host info to devcie cdc to work with freertos/noos 2025-11-06 19:08:53 +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
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
d92b810df7 fix Identifiers that start with '__' or '_[A-Z]' are reserved.
fix compiling with nuc family
2025-10-28 14:14:01 +07:00
a12806a6cd fix descriptor warning when shifting zero 2025-10-28 00:17:26 +07:00
b08f672daf add pvs-studio analyze to ci 2025-10-24 17:31:04 +07:00
4dd9122417 Merge remote-tracking branch 'upstream/master' into uac1
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-10-24 11:16:07 +02:00
f39dcae9f1 fix several warnings 2025-10-24 13:04:49 +07:00
c8a1b757f0 refactor family.cmake: rename add_board_target() to family_add_board() and move it to family_configure_common()
also move startup and linker from board target to actual exe
2025-10-23 02:23:20 +07:00
2f3b21a1e5 fix some warnings detected by pvs-studio 2025-10-16 10:44:22 +07:00
fd9d43d7c5 refactor spresense into cxd56. there is no orphan board in bsp. 2025-10-15 19:31:16 +07:00
55227a6146 fix more warnings 2025-10-15 16:37:01 +07:00
a8be575953 fix build warning with clang 2025-10-15 15:27:48 +07:00
8199ed6fd0 refactor all nuc to family 2025-10-15 13:37:21 +07:00
0d690c8b80 update nuc121/125 2025-10-15 12:49:36 +07:00
2a8811ebb0 merge samd2x and saml2x bsp, add OPT_MCU_SAML2X to replace OPT_MCU_SAML21 & OPT_MCU_SAML22 2025-10-15 00:15:46 +07:00
c48bbfab5e more make refactor 2025-10-14 17:53:55 +07:00
0a2b6e77da more warnings fix 2025-10-14 17:33:56 +07:00
47b13f6b10 improve cmake warning flags, fix various warnings in examples 2025-10-14 17:13:28 +07:00