summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorZixun LI <[email protected]>2026-06-25 10:24:39 +0200
committerGitHub <[email protected]>2026-06-25 10:24:39 +0200
commit0a25cc27d7d3699536f6df01e80af3eb0423ce58 (patch)
tree62b61da1555d58bf44e8ee7eaae22472df9c5629 /src/common
parentff86dfe41f6407f430413f2519226af835a21665 (diff)
parentc374de17d9cd40c8631a10d9fb9251a4a06fc70f (diff)
Merge pull request #3616 from michaelajax/fix-stm32-usbc
typec/stm32: fix UCPD sink bugs affecting compatibility with newer PD sources
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_mcu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h
index b5390a59d..35de47030 100644
--- a/src/common/tusb_mcu.h
+++ b/src/common/tusb_mcu.h
@@ -400,6 +400,10 @@
#endif
#endif
+ // TypeC controller
+ #define TUP_USBIP_TYPEC_STM32
+ #define TUP_TYPEC_RHPORTS_NUM 1
+
#elif TU_CHECK_MCU(OPT_MCU_STM32WB)
#define TUP_USBIP_FSDEV
#define TUP_USBIP_FSDEV_STM32