summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorJie Feng <[email protected]>2026-05-02 12:42:07 +0800
committerZixun LI <[email protected]>2026-07-21 12:07:11 +0200
commitc60e6005faa469adbb583f489d4a9c7b6c3c2f5c (patch)
treeb48b9a807bc6cb11c24ff469a53cc232e27229d2 /src/common
parentc6a1c66f8a64446ad1160b8e5b2da88ad1f3eac5 (diff)
Add support for APM32F072
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_mcu.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h
index b8d883dde..93b4a2ee9 100644
--- a/src/common/tusb_mcu.h
+++ b/src/common/tusb_mcu.h
@@ -716,6 +716,14 @@
// Possible to share IN/OUT if only one direction is armed at any one time
#define CFG_TUD_ENDPOINT_ONE_DIRECTION_ONLY 1
+//--------------------------------------------------------------------+
+// Geehy
+//--------------------------------------------------------------------+
+#elif TU_CHECK_MCU(OPT_MCU_APM32F0XX)
+ #define TUP_USBIP_FSDEV
+ #define TUP_USBIP_FSDEV_APM32
+ #define CFG_TUSB_FSDEV_PMA_SIZE 1024u
+
#endif
// External USB controller