summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorZixun LI <[email protected]>2026-07-23 11:48:34 +0200
committerGitHub <[email protected]>2026-07-23 11:48:34 +0200
commitf3736185c7e22dda0e58ffa6e2c8df2c310d5765 (patch)
tree60449beb8a2f108db7e443901e704b44c239aad0 /src/common
parent1b5c26b76e7194d05b82b0cccf76684716d3374d (diff)
parent39312067903aa8ad34a3637723775714ffb28026 (diff)
Merge pull request #3631 from rhgndf/apm32f072
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