Add WCH CH32V307 port

Add WCH mcu submodule
Add CH32V307V-R1-1v0 bsp
This commit is contained in:
Greg Davill
2022-03-21 10:01:11 +10:30
parent ae531a79f6
commit fccbcfc889
17 changed files with 2410 additions and 0 deletions

View File

@@ -149,6 +149,9 @@
// Allwinner
#define OPT_MCU_F1C100S 2100 ///< Allwinner F1C100s family
// WCH
#define OPT_MCU_CH32VF307 2200 ///< WCH CH32V307 config
// 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)