Commit Graph

1802 Commits

Author SHA1 Message Date
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
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
42f000df8e iar cstat require cmake at least 4.1 2025-10-26 01:04:15 +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
878c8f26c5 enable IAR CState with IAR_CSTAT=1 2025-10-24 09:58:46 +07:00
7c95d9bed5 force clang asm with -x assembler-with-cpp 2025-10-23 18:00:15 +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
367044e487 fix lots of warnings for missing-prototypes for irqhandler 2025-10-14 23:02:32 +07:00