Commit Graph

9610 Commits

Author SHA1 Message Date
a1b0aa4e3a Merge remote-tracking branch 'tinyusb/master' into copilot/fix-dcd-edpt-xfer-issue
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-10-31 17:22:24 +01:00
dfcab8747d Merge pull request #3270 from HiFiPhile/uac1
audio: Add UAC1.0 support
2025-10-31 14:21:57 +07:00
aa739c946d Merge branch 'master' into uac1
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-10-30 19:50:47 +01:00
fc3857eb1a Merge pull request #3294 from hathach/add-ohci-lpc55
try to enable ohci for lpc55 but not working, probably clock issue
2025-10-30 16:30:00 +07:00
3f1f7140c4 update lpc55 family.c 2025-10-30 14:52:09 +07:00
88305b1b34 Merge branch 'master' into add-ohci-lpc55
# Conflicts:
- hw/bsp/lpc17/family.cmake
- hw/bsp/lpc40/family.cmake
- hw/bsp/lpc55/family.cmake
2025-10-30 14:35:11 +07: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
3ff54153d4 Merge pull request #3320 from hathach/more-sast
fix warnings
2025-10-29 19:15:53 +07:00
78bd623064 filter out sarif for codeql hw/mcu and lib/ 2025-10-28 17:56:07 +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
417f44acab fix security in gh action 2025-10-28 13:03:28 +07:00
113a763bc3 fix warning with strict prototypes warnings 2025-10-28 11:10:29 +07:00
a12806a6cd fix descriptor warning when shifting zero 2025-10-28 00:17:26 +07:00
621123b9b3 added .pvsconfig to exclude some rules 2025-10-28 00:16:40 +07:00
cc597d5cd5 disable warning for startup file 2025-10-28 00:15:39 +07:00
d55e074a36 improve warnings with rp2040 family 2025-10-27 17:11:42 +07:00
8865ec4781 update static_analysis.yml workflow 2025-10-27 14:15:03 +07:00
a6efc7d722 Merge pull request #3319 from peppapighs/dwc2-usbsuspm
dcd/dwc2: fix suspend interrupt indefinitely disabled on AT32F405
2025-10-25 23:11:26 +02:00
96d510978e Merge pull request #3318 from hathach/static-analysis
Static analysis
2025-10-26 01:44:04 +07:00
42f000df8e iar cstat require cmake at least 4.1 2025-10-26 01:04:15 +07:00
d7c4bf14b4 add IAR CStat to static_analysis.yml 2025-10-25 17:21:57 +07:00
80309e4d13 dcd/dwc2: clear pending suspend interrupt before usb reset 2025-10-25 17:09:39 +08:00
5818db49b2 add SonarQube scan 2025-10-25 15:20:07 +07:00
531009c9a0 add SonarQube scan 2025-10-25 13:36:26 +07:00
6cc445ef0f download ninja binary, apt seems take too long ~ 1 min
also upload sarif as artifacts
2025-10-25 12:54:40 +07:00
5e3e24337f merge codeql and pvs-studio to static_analysis.yml 2025-10-25 12:28:20 +07:00
948ba203ca add pvs-studio analyze to ci 2025-10-25 00:15:41 +07:00
9f1a86c0cb Ensure type promotion
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-10-24 13:27:38 +02: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
55c6d07af3 fix more warnings 2025-10-24 14:28:59 +07: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
ac37176cec Merge pull request #3316 from hathach/more-cmake-refactor
More cmake refactor
2025-10-23 19:19:35 +07:00
7c95d9bed5 force clang asm with -x assembler-with-cpp 2025-10-23 18:00:15 +07:00
bde449997e fix more build 2025-10-23 04:05:33 +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
30132e8e6d Fix copilot issues
Signed-off-by: Mengsk <admin@hifiphile.com>
2025-10-22 20:21:57 +02:00
27415e6114 Add is_isr parameter to usbd_edpt_xfer and usbd_edpt_xfer_fifo
- Added bool is_isr parameter to usbd_edpt_xfer() and usbd_edpt_xfer_fifo() wrapper functions
- These are called by class drivers to queue USB transfers
- Updated all callers to pass false by default (non-ISR context)
- Updated audiod_rx_xfer_isr() and audiod_tx_xfer_isr() to pass true (ISR context)
- All 21 unit tests pass

Co-authored-by: HiFiPhile <4375114+HiFiPhile@users.noreply.github.com>
2025-10-22 06:12:08 +00:00
16cfe6895a Fix duplicate is_isr parameter in dcd_dwc2.c
Co-authored-by: HiFiPhile <4375114+HiFiPhile@users.noreply.github.com>
2025-10-22 05:32:08 +00:00
c084d36fce Clean up submodule tracking
Co-authored-by: HiFiPhile <4375114+HiFiPhile@users.noreply.github.com>
2025-10-22 05:28:52 +00:00
41c743b433 Remove submodules from tracking 2025-10-22 05:28:43 +00:00
31bd4fc169 Add is_isr parameter to dcd_edpt_xfer and dcd_edpt_xfer_fifo
Co-authored-by: HiFiPhile <4375114+HiFiPhile@users.noreply.github.com>
2025-10-22 05:28:31 +00:00
3f605332d2 Initial exploration of issue #3311
Co-authored-by: HiFiPhile <4375114+HiFiPhile@users.noreply.github.com>
2025-10-22 05:21:52 +00:00
d34d3003ae Initial plan 2025-10-22 05:16:26 +00:00
2f3b21a1e5 fix some warnings detected by pvs-studio 2025-10-16 10:44:22 +07:00
e93e47ae04 add tu_div_round_nearest() (only handle positive) to replace DIV_ROUND_CLOSEST() to remove the need of typeof 2025-10-16 10:03:10 +07:00
79445c2386 Merge pull request #3306 from hathach/refactor-buildsystem
Refactor buildsystem and bsp
2025-10-15 20:59:58 +07:00