Commit Graph

602 Commits

Author SHA1 Message Date
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
1634d1175d Merge pull request #3325 from tswan22/master
Add STM32U3 Device
2025-11-07 02:05:08 -08:00
5d351828cb Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-07 16:31:17 +07: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
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
22f01aea0d fix more warnings/alerts 2025-11-03 15:14:52 +07:00
00f374682e fixing alert by scanning tool 2025-11-03 11:46:54 +07:00
67b2a5c2e1 remove binary prefix for portability 2025-11-03 11:17:39 +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
ca44c772f7 Merge branch 'master' of https://github.com/hathach/tinyusb 2025-11-01 12:51:40 -04:00
9d46cca576 add STM32U3 device (adjusted from STM32U0) 2025-11-01 12:51:31 -04:00
aa739c946d Merge branch 'master' into uac1
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-10-30 19:50:47 +01: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
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
9f1a86c0cb Ensure type promotion
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-10-24 13:27:38 +02: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
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
fd9d43d7c5 refactor spresense into cxd56. there is no orphan board in bsp. 2025-10-15 19:31:16 +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
38255ffc38 Merge pull request #3299 from hathach/initial-nrf54h20
Initial nrf54h20 support
2025-10-14 14:22:45 +07:00
ee7a7c56db get cmake build with 54h20 not tested on actual hw, probably not running 2025-10-13 12:41:55 +07:00
1902377418 Merge branch 'master' into uac1 2025-10-11 16:50:47 +02:00
83baf13dcb try to enable ohci for lpc55 but not working, probably clock issue 2025-10-10 13:47:41 +07:00
aa0fc2e08f successfully 2025-10-10 10:20:19 +05:30
044512c459 fix typo 2025-10-06 13:34:05 +07:00
05ea8cf0ee Merge remote-tracking branch 'tinyusb/master' into uac1 2025-10-03 09:34:40 +02:00
d5108589b6 Minor fixes
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-10-01 09:42:13 +02:00
9637a2006b More descriptors working
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-09-30 15:51:50 +02:00
bdd557caf1 Merge branch 'master' into fork/ennebi/mtp 2025-09-29 15:32:08 +07:00
152d25ed62 Merge pull request #3256 from hathach/weak_cb
Migrate weak function override to new syntax, update delay api usage
2025-09-27 20:38:03 +07:00
7162caee20 Fix erroneous documentation of TU_ASSERT/TU_VERIFY 2025-09-22 12:58:24 +02:00
e76d09bb42 rework get storageIDs and get storage info 2025-09-19 16:05:37 +07:00
369a1ff515 Update weak callbacks to new syntax
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-09-17 22:48:59 +02:00
f18b750550 use existing overloadable Pico SDK section macro instead of creating a custom one 2025-09-17 12:38:47 -05:00
4182342112 Add ESP32-H4 as a supported MCU in TinyUSB and wire it into build/runtime:
- tusb_option.h: define OPT_MCU_ESP32H4
- tusb_mcu.h: enable DWC2 USBIP for H4
- dcd_dwc2.c: add H4 USB_WRAP field aliases (wrap_* → legacy names)
- dwc2_esp32.h: add H4 controller entry (FS base/IRQ, ep caps)
- family.c: include H4 in USB init/PHY setup
2025-09-16 12:38:35 +02:00
cc19c02f86 dwc2: wait for ahb idle before core reset 2025-09-15 15:47:06 +07:00
19f67ffc22 Initial STM32WBARI eval support
Clean up includes definitions

Remove wait that is not required

Remove redundant settings

Clean up clock configuration to look like other modules

Remove MSP_Init that is not required

Clean up driver code

dhcp: Fix DHCP_OFFER/DHCP_ACK destinaton.

In RFC 2131, the destination of DHCP OFFER/ACK is defined in Section 4.1.
Fix the destination error by following the rule of RFC 2131.
TODO: We implement all rule but the last one. ARP table is required to associate client's macaddr.
Currently, fallback to broadcast.

Signed-off-by: Elwin Huang <s09289728096@gmail.com>

Fix compile error.

Fix goto indentation

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

Fix osal_spin_unlock for mynewt

Mynewt version for osal_spin_unlock() called
OS_ENTER_CRITICAL instead of OS_EXIT_CRITICAL.

Signed-off-by: Jerzy Kasenberg <jerzy@apache.org>

Add ESP32-C5 and ESP32-C61 definitions

fix(dcd/dwc2): Fix reset procedure for versions >=4.20a

Fix STM32L4 GPIOD clock enable for variants without GPIOD

Add weact blackpill support

Add to boards.rst file

Fix file

Small cleanups.

Insert small delay for LowSpeed device

Improve retry operation at NAK response.

Remove dynamic memory allocation

use tusb_time_millis_api() instead of board_millis()
make loopdelay() always inline

update at32f405 dwc2 info and phy width selection

add at32f415 dwc2 info

add some consumer page configs

remove duplicated enum

Initial plan

Fix obsolete cnt assignment in _tu_fifo_peek() overflow check

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

Initial plan

Update STM32 CMSIS dependencies to fix HSITRIM register bug

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

Remove accidentally committed dependency directories

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

Update all STM32 HAL driver dependencies to latest versions

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

fix linker h745 issue with clang

fix linker h745 issue with clang

Update all STM32 CMSIS device dependencies to latest versions

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

update pio-usb

Create comprehensive GitHub Copilot instructions and fix pre-commit configuration for TinyUSB (#3234)

* Initial plan

* Create comprehensive GitHub Copilot instructions for TinyUSB

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

* Remove accidentally committed dependencies, use tools/get_deps.py instead

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

* Fix .gitignore: ignore vendor/ directory not ceedling script

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

* Revert .gitignore changes and add README_processed.rst

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

* Remove README_processed.rst and revert ceedling file permissions

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

* Changes before error encountered

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

* Remove redundant manual validation step, keep only pre-commit and build validation

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

* fix pre-commit

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: hathach <249515+hathach@users.noreply.github.com>

modified the bsp files of at32 to make them work better

the family name error of at32 has been corrected

fix pre-commit

STM32N6570-DK board is added. Build with DEBUG=1 (make BOARD=stm32n6570dk DEBUG=1 all), otherwise it does not work for now. Tested with examples/device/cdc_dual_ports
2025-09-10 11:12:49 -07:00
b6b22096dd Merge pull request #3126 from salkinium/fix/phyc_pll
[stm32] Wait until the PHYC PLL is stable
2025-09-10 17:45:59 +07:00
d70d4043dc use tusb_time_delay_ms_api for delay, also move tusb_time api to common.h 2025-09-10 16:59:26 +07:00
da9284e88b Fix obsolete cnt assignment in _tu_fifo_peek() overflow check
Co-authored-by: hathach <249515+hathach@users.noreply.github.com>
2025-09-03 10:42:17 +00:00
ddb8f0fe73 Add ESP32-C5 and ESP32-C61 definitions 2025-08-15 10:15:24 -07:00