summaryrefslogtreecommitdiff
path: root/src/tusb_option.h
diff options
context:
space:
mode:
authorYunhao Tian <[email protected]>2021-11-30 17:12:56 +0800
committerYunhao Tian <[email protected]>2021-12-01 15:35:48 +0800
commitbb7d1fa3bacb08717e8eebc55f81fde7bf810e3a (patch)
tree8e39e70a962befb46ba4c5757796111abb0c87ec /src/tusb_option.h
parenta6929cf03eabe9f4fc0404d7c15b04ee2761945c (diff)
Add support for Allwinner F1Cx00s family
Allwinner F1Cx00s family is a series of SoCs with Mentor MUSB controller and HS phy. It comes with a slightly different register space layout, and some quirks, so it's not multiplexed with the existing musb support library. This library currently requires to be compiled with https://github.com/hongxuyao/F1C100s_with_Keil_RTX4_emWin5
Diffstat (limited to 'src/tusb_option.h')
-rw-r--r--src/tusb_option.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h
index dcf1c4614..dbdc83c6b 100644
--- a/src/tusb_option.h
+++ b/src/tusb_option.h
@@ -136,6 +136,9 @@
// Infineon
#define OPT_MCU_XMC4000 1800 ///< Infineon XMC4000
+// Allwinner
+#define OPT_MCU_F1C100S 1900 ///< Allwinner F1C100s family
+
// Helper to check if configured MCU is one of listed
// Apply _TU_CHECK_MCU with || as separator to list of input
#define _TU_CHECK_MCU(_m) (CFG_TUSB_MCU == _m)