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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/bsp/xuantie/smartl/e902/.project b/bsp/xuantie/smartl/e902/.project
new file mode 100644
index 00000000000..c7455faa7a8
--- /dev/null
+++ b/bsp/xuantie/smartl/e902/.project
@@ -0,0 +1,27 @@
+
+
+ project
+
+
+
+
+
+ org.eclipse.cdt.managedbuilder.core.genmakebuilder
+ clean,full,incremental,
+
+
+
+
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder
+ full,incremental,
+
+
+
+
+
+ org.eclipse.cdt.core.cnature
+ org.eclipse.cdt.managedbuilder.core.managedBuildNature
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigNature
+
+
+
diff --git a/bsp/xuantie/smartl/e902/.settings/org.eclipse.core.runtime.prefs b/bsp/xuantie/smartl/e902/.settings/org.eclipse.core.runtime.prefs
new file mode 100644
index 00000000000..9f1acfcfba2
--- /dev/null
+++ b/bsp/xuantie/smartl/e902/.settings/org.eclipse.core.runtime.prefs
@@ -0,0 +1,3 @@
+content-types/enabled=true
+content-types/org.eclipse.cdt.core.asmSource/file-extensions=s
+eclipse.preferences.version=1
\ No newline at end of file
diff --git a/bsp/xuantie/smartl/e902/.settings/projcfg.ini b/bsp/xuantie/smartl/e902/.settings/projcfg.ini
new file mode 100644
index 00000000000..81d9ee44ab2
--- /dev/null
+++ b/bsp/xuantie/smartl/e902/.settings/projcfg.ini
@@ -0,0 +1,20 @@
+#RT-Thread Studio Project Configuration
+# Mon Sep 22 13:30:04 2025
+cfg_version=v3.0
+
+board_name=
+bsp_version=
+bsp_path=
+chip_name=
+project_base_rtt_bsp=true
+is_use_scons_build=true
+hardware_adapter=
+selected_rtt_version=latest
+board_base_nano_proj=false
+is_base_example_project=false
+example_name=
+project_type=rt-thread
+os_branch=master
+os_version=latest
+project_name=project
+output_project_path=E:\rt-thread\bsp\xuantie\smartl\e902
\ No newline at end of file
diff --git a/bsp/xuantie/smartl/e902/Kconfig b/bsp/xuantie/smartl/e902/Kconfig
index 3ac0af33614..8680668cf0b 100644
--- a/bsp/xuantie/smartl/e902/Kconfig
+++ b/bsp/xuantie/smartl/e902/Kconfig
@@ -1,10 +1,27 @@
mainmenu "RT-Thread Configuration"
-BSP_DIR := .
+config BSP_DIR
+ string
+ option env="BSP_ROOT"
+ default "."
-RTT_DIR := ../../../..
+config RTT_DIR
+ string
+ option env="RTT_ROOT"
+ default "rt-thread"
-PKGS_DIR := packages
+# you can change the RTT_ROOT default "rt-thread"
+# example : default "F:/git_repositories/rt-thread"
+
+config PKGS_DIR
+ string
+ option env="PKGS_ROOT"
+ default "packages"
+
+config ENV_DIR
+ string
+ option env="ENV_ROOT"
+ default "/"
config XUANTIAN_SMARTL_E902
bool
@@ -13,6 +30,6 @@ config XUANTIAN_SMARTL_E902
select RT_USING_USER_MAIN
default y
-source "$(RTT_DIR)/Kconfig"
-osource "$PKGS_DIR/Kconfig"
-rsource "board/Kconfig"
+source "$RTT_DIR/Kconfig"
+source "$PKGS_DIR/Kconfig"
+source "$BSP_DIR/board/Kconfig"
diff --git a/bsp/xuantie/smartl/e902/rtconfig_preinc.h b/bsp/xuantie/smartl/e902/rtconfig_preinc.h
new file mode 100644
index 00000000000..8dedcfbfed0
--- /dev/null
+++ b/bsp/xuantie/smartl/e902/rtconfig_preinc.h
@@ -0,0 +1,27 @@
+
+#ifndef RTCONFIG_PREINC_H__
+#define RTCONFIG_PREINC_H__
+
+/* Automatically generated file; DO NOT EDIT. */
+/* RT-Thread pre-include file */
+
+#define CLI_CONFIG_STACK_SIZE 4096
+#define CONFIG_ARCH_INTERRUPTSTACK 4096
+#define CONFIG_ARCH_MAINSTACK 4096
+#define CONFIG_BOARD_SMARTL_EVB 1
+#define CONFIG_CPU_XUANTIE_E902 1
+#define CONFIG_CSI "csi2"
+#define CONFIG_CSI_V2 1
+#define CONFIG_KERNEL_RTTHREAD 1
+#define CONFIG_SUPPORT_IRQ_NESTED 0
+#define CONFIG_SUPPORT_TSPEND 0
+#define CONFIG_XIP 1
+#define RT_USING_LIBC
+#define RT_USING_NEWLIBC
+#define _POSIX_C_SOURCE 1
+#define __RTTHREAD__
+#define __RT_KERNEL_SOURCE__ 1
+#define _REENT_SMALL
+
+#endif /*RTCONFIG_PREINC_H__*/
+
diff --git a/bsp/xuantie/smartl/e906/.settings/org.eclipse.core.runtime.prefs b/bsp/xuantie/smartl/e906/.settings/org.eclipse.core.runtime.prefs
new file mode 100644
index 00000000000..9f1acfcfba2
--- /dev/null
+++ b/bsp/xuantie/smartl/e906/.settings/org.eclipse.core.runtime.prefs
@@ -0,0 +1,3 @@
+content-types/enabled=true
+content-types/org.eclipse.cdt.core.asmSource/file-extensions=s
+eclipse.preferences.version=1
\ No newline at end of file
diff --git a/bsp/xuantie/smartl/e906/.settings/projcfg.ini b/bsp/xuantie/smartl/e906/.settings/projcfg.ini
new file mode 100644
index 00000000000..adb75f76a1c
--- /dev/null
+++ b/bsp/xuantie/smartl/e906/.settings/projcfg.ini
@@ -0,0 +1,20 @@
+#RT-Thread Studio Project Configuration
+# Fri Sep 19 10:14:02 2025
+cfg_version=v3.0
+
+board_name=
+bsp_version=
+bsp_path=
+chip_name=
+project_base_rtt_bsp=true
+is_use_scons_build=true
+hardware_adapter=
+selected_rtt_version=latest
+board_base_nano_proj=false
+is_base_example_project=false
+example_name=
+project_type=rt-thread
+os_branch=master
+os_version=latest
+project_name=project
+output_project_path=E:\rt-thread\bsp\xuantie\smartl\e906
\ No newline at end of file
diff --git a/bsp/xuantie/smartl/e906/Kconfig b/bsp/xuantie/smartl/e906/Kconfig
index be399204b6e..8fe8e876e98 100644
--- a/bsp/xuantie/smartl/e906/Kconfig
+++ b/bsp/xuantie/smartl/e906/Kconfig
@@ -1,10 +1,27 @@
mainmenu "RT-Thread Configuration"
-BSP_DIR := .
+config BSP_DIR
+ string
+ option env="BSP_ROOT"
+ default "."
-RTT_DIR := ../../../..
+config RTT_DIR
+ string
+ option env="RTT_ROOT"
+ default "rt-thread"
-PKGS_DIR := packages
+# you can change the RTT_ROOT default "rt-thread"
+# example : default "F:/git_repositories/rt-thread"
+
+config PKGS_DIR
+ string
+ option env="PKGS_ROOT"
+ default "packages"
+
+config ENV_DIR
+ string
+ option env="ENV_ROOT"
+ default "/"
config XUANTIAN_SMARTL_E906
bool
@@ -13,6 +30,6 @@ config XUANTIAN_SMARTL_E906
select RT_USING_USER_MAIN
default y
-source "$(RTT_DIR)/Kconfig"
-osource "$PKGS_DIR/Kconfig"
-rsource "board/Kconfig"
+source "$RTT_DIR/Kconfig"
+source "$PKGS_DIR/Kconfig"
+source "$BSP_DIR/board/Kconfig"
diff --git a/bsp/xuantie/smartl/e906/rtconfig_preinc.h b/bsp/xuantie/smartl/e906/rtconfig_preinc.h
new file mode 100644
index 00000000000..8ef5ecc9bb6
--- /dev/null
+++ b/bsp/xuantie/smartl/e906/rtconfig_preinc.h
@@ -0,0 +1,27 @@
+
+#ifndef RTCONFIG_PREINC_H__
+#define RTCONFIG_PREINC_H__
+
+/* Automatically generated file; DO NOT EDIT. */
+/* RT-Thread pre-include file */
+
+#define CLI_CONFIG_STACK_SIZE 4096
+#define CONFIG_ARCH_INTERRUPTSTACK 4096
+#define CONFIG_ARCH_MAINSTACK 4096
+#define CONFIG_BOARD_SMARTL_EVB 1
+#define CONFIG_CPU_XUANTIE_E906FD 1
+#define CONFIG_CSI "csi2"
+#define CONFIG_CSI_V2 1
+#define CONFIG_KERNEL_RTTHREAD 1
+#define CONFIG_SUPPORT_IRQ_NESTED 0
+#define CONFIG_SUPPORT_TSPEND 0
+#define CONFIG_XIP 1
+#define RT_USING_LIBC
+#define RT_USING_NEWLIBC
+#define _POSIX_C_SOURCE 1
+#define __RTTHREAD__
+#define __RT_KERNEL_SOURCE__ 1
+#define _REENT_SMALL
+
+#endif /*RTCONFIG_PREINC_H__*/
+
diff --git a/bsp/xuantie/smartl/e907/.cproject b/bsp/xuantie/smartl/e907/.cproject
new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+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/bsp/xuantie/smartl/e907/.project b/bsp/xuantie/smartl/e907/.project
new file mode 100644
index 00000000000..c7455faa7a8
--- /dev/null
+++ b/bsp/xuantie/smartl/e907/.project
@@ -0,0 +1,27 @@
+
+
+ project
+
+
+
+
+
+ org.eclipse.cdt.managedbuilder.core.genmakebuilder
+ clean,full,incremental,
+
+
+
+
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder
+ full,incremental,
+
+
+
+
+
+ org.eclipse.cdt.core.cnature
+ org.eclipse.cdt.managedbuilder.core.managedBuildNature
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigNature
+
+
+
diff --git a/bsp/xuantie/smartl/e907/.settings/org.eclipse.core.runtime.prefs b/bsp/xuantie/smartl/e907/.settings/org.eclipse.core.runtime.prefs
new file mode 100644
index 00000000000..9f1acfcfba2
--- /dev/null
+++ b/bsp/xuantie/smartl/e907/.settings/org.eclipse.core.runtime.prefs
@@ -0,0 +1,3 @@
+content-types/enabled=true
+content-types/org.eclipse.cdt.core.asmSource/file-extensions=s
+eclipse.preferences.version=1
\ No newline at end of file
diff --git a/bsp/xuantie/smartl/e907/.settings/projcfg.ini b/bsp/xuantie/smartl/e907/.settings/projcfg.ini
new file mode 100644
index 00000000000..0e3b37beb7a
--- /dev/null
+++ b/bsp/xuantie/smartl/e907/.settings/projcfg.ini
@@ -0,0 +1,20 @@
+#RT-Thread Studio Project Configuration
+# Mon Sep 22 14:26:23 2025
+cfg_version=v3.0
+
+board_name=
+bsp_version=
+bsp_path=
+chip_name=
+project_base_rtt_bsp=true
+is_use_scons_build=true
+hardware_adapter=
+selected_rtt_version=latest
+board_base_nano_proj=false
+is_base_example_project=false
+example_name=
+project_type=rt-thread
+os_branch=master
+os_version=latest
+project_name=project
+output_project_path=E:\rt-thread\bsp\xuantie\smartl\e907
\ No newline at end of file
diff --git a/bsp/xuantie/smartl/e907/Kconfig b/bsp/xuantie/smartl/e907/Kconfig
index 33efda6fee5..a7754dca2ea 100644
--- a/bsp/xuantie/smartl/e907/Kconfig
+++ b/bsp/xuantie/smartl/e907/Kconfig
@@ -1,10 +1,27 @@
mainmenu "RT-Thread Configuration"
-BSP_DIR := .
+config BSP_DIR
+ string
+ option env="BSP_ROOT"
+ default "."
-RTT_DIR := ../../../..
+config RTT_DIR
+ string
+ option env="RTT_ROOT"
+ default "rt-thread"
-PKGS_DIR := packages
+# you can change the RTT_ROOT default "rt-thread"
+# example : default "F:/git_repositories/rt-thread"
+
+config PKGS_DIR
+ string
+ option env="PKGS_ROOT"
+ default "packages"
+
+config ENV_DIR
+ string
+ option env="ENV_ROOT"
+ default "/"
config XUANTIAN_SMARTL_E907
bool
@@ -13,6 +30,6 @@ config XUANTIAN_SMARTL_E907
select RT_USING_USER_MAIN
default y
-source "$(RTT_DIR)/Kconfig"
-osource "$PKGS_DIR/Kconfig"
-rsource "board/Kconfig"
+source "$RTT_DIR/Kconfig"
+source "$PKGS_DIR/Kconfig"
+source "$BSP_DIR/board/Kconfig"
diff --git a/bsp/xuantie/smartl/e907/rtconfig_preinc.h b/bsp/xuantie/smartl/e907/rtconfig_preinc.h
new file mode 100644
index 00000000000..65060ef286d
--- /dev/null
+++ b/bsp/xuantie/smartl/e907/rtconfig_preinc.h
@@ -0,0 +1,27 @@
+
+#ifndef RTCONFIG_PREINC_H__
+#define RTCONFIG_PREINC_H__
+
+/* Automatically generated file; DO NOT EDIT. */
+/* RT-Thread pre-include file */
+
+#define CLI_CONFIG_STACK_SIZE 4096
+#define CONFIG_ARCH_INTERRUPTSTACK 4096
+#define CONFIG_ARCH_MAINSTACK 4096
+#define CONFIG_BOARD_SMARTL_EVB 1
+#define CONFIG_CPU_XUANTIE_E907FD 1
+#define CONFIG_CSI "csi2"
+#define CONFIG_CSI_V2 1
+#define CONFIG_KERNEL_RTTHREAD 1
+#define CONFIG_SUPPORT_IRQ_NESTED 0
+#define CONFIG_SUPPORT_TSPEND 0
+#define CONFIG_XIP 1
+#define RT_USING_LIBC
+#define RT_USING_NEWLIBC
+#define _POSIX_C_SOURCE 1
+#define __RTTHREAD__
+#define __RT_KERNEL_SOURCE__ 1
+#define _REENT_SMALL
+
+#endif /*RTCONFIG_PREINC_H__*/
+
diff --git a/bsp/xuantie/xiaohui/c906/.cproject b/bsp/xuantie/xiaohui/c906/.cproject
new file mode 100644
index 00000000000..b6fe3222048
--- /dev/null
+++ b/bsp/xuantie/xiaohui/c906/.cproject
@@ -0,0 +1,912 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/bsp/xuantie/xiaohui/c906/.project b/bsp/xuantie/xiaohui/c906/.project
new file mode 100644
index 00000000000..c7455faa7a8
--- /dev/null
+++ b/bsp/xuantie/xiaohui/c906/.project
@@ -0,0 +1,27 @@
+
+
+ project
+
+
+
+
+
+ org.eclipse.cdt.managedbuilder.core.genmakebuilder
+ clean,full,incremental,
+
+
+
+
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder
+ full,incremental,
+
+
+
+
+
+ org.eclipse.cdt.core.cnature
+ org.eclipse.cdt.managedbuilder.core.managedBuildNature
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigNature
+
+
+
diff --git a/bsp/xuantie/xiaohui/c906/.settings/org.eclipse.core.runtime.prefs b/bsp/xuantie/xiaohui/c906/.settings/org.eclipse.core.runtime.prefs
new file mode 100644
index 00000000000..9f1acfcfba2
--- /dev/null
+++ b/bsp/xuantie/xiaohui/c906/.settings/org.eclipse.core.runtime.prefs
@@ -0,0 +1,3 @@
+content-types/enabled=true
+content-types/org.eclipse.cdt.core.asmSource/file-extensions=s
+eclipse.preferences.version=1
\ No newline at end of file
diff --git a/bsp/xuantie/xiaohui/c906/.settings/projcfg.ini b/bsp/xuantie/xiaohui/c906/.settings/projcfg.ini
new file mode 100644
index 00000000000..ae19a2ed1b6
--- /dev/null
+++ b/bsp/xuantie/xiaohui/c906/.settings/projcfg.ini
@@ -0,0 +1,20 @@
+#RT-Thread Studio Project Configuration
+# Mon Sep 22 14:42:46 2025
+cfg_version=v3.0
+
+board_name=
+bsp_version=
+bsp_path=
+chip_name=
+project_base_rtt_bsp=true
+is_use_scons_build=true
+hardware_adapter=
+selected_rtt_version=latest
+board_base_nano_proj=false
+is_base_example_project=false
+example_name=
+project_type=rt-thread
+os_branch=master
+os_version=latest
+project_name=project
+output_project_path=E:\rt-thread\bsp\xuantie\xiaohui\c906
\ No newline at end of file
diff --git a/bsp/xuantie/xiaohui/c906/Kconfig b/bsp/xuantie/xiaohui/c906/Kconfig
index 5aac66a07bd..e6554754234 100644
--- a/bsp/xuantie/xiaohui/c906/Kconfig
+++ b/bsp/xuantie/xiaohui/c906/Kconfig
@@ -1,18 +1,35 @@
mainmenu "RT-Thread Configuration"
-BSP_DIR := .
+config BSP_DIR
+ string
+ option env="BSP_ROOT"
+ default "."
-RTT_DIR := ../../../..
+config RTT_DIR
+ string
+ option env="RTT_ROOT"
+ default "rt-thread"
-PKGS_DIR := packages
+# you can change the RTT_ROOT default "rt-thread"
+# example : default "F:/git_repositories/rt-thread"
-config XUANTIAN_XIAOHUI_C906
+config PKGS_DIR
+ string
+ option env="PKGS_ROOT"
+ default "packages"
+
+config ENV_DIR
+ string
+ option env="ENV_ROOT"
+ default "/"
+
+ config XUANTIAN_XIAOHUI_C906
bool
select ARCH_RISCV64
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
-source "$(RTT_DIR)/Kconfig"
-osource "$PKGS_DIR/Kconfig"
-rsource "board/Kconfig"
+source "$RTT_DIR/Kconfig"
+source "$PKGS_DIR/Kconfig"
+source "$BSP_DIR/board/Kconfig"
diff --git a/bsp/xuantie/xiaohui/c906/rtconfig_preinc.h b/bsp/xuantie/xiaohui/c906/rtconfig_preinc.h
new file mode 100644
index 00000000000..bfe0d4bfeac
--- /dev/null
+++ b/bsp/xuantie/xiaohui/c906/rtconfig_preinc.h
@@ -0,0 +1,36 @@
+
+#ifndef RTCONFIG_PREINC_H__
+#define RTCONFIG_PREINC_H__
+
+/* Automatically generated file; DO NOT EDIT. */
+/* RT-Thread pre-include file */
+
+#define CLI_CONFIG_STACK_SIZE 8192
+#define CONFIG_APP_TASK_STACK_SIZE 8192
+#define CONFIG_ARCH_INTERRUPTSTACK 8192
+#define CONFIG_ARCH_MAINSTACK 8192
+#define CONFIG_BOARD_XIAOHUI_EVB 1
+#define CONFIG_CLIC_BASE 201392128
+#define CONFIG_CSI "csi2"
+#define CONFIG_CSI_V2 1
+#define CONFIG_DEBUG 1
+#define CONFIG_FPP_ENABLE 0
+#define CONFIG_INIT_TASK_STACK_SIZE 8192
+#define CONFIG_INTC_CLIC_PLIC 1
+#define CONFIG_KERNEL_RTTHREAD 1
+#define CONFIG_PLIC_BASE 134217728
+#define CONFIG_SUPPORT_IRQ_NESTED 0
+#define CONFIG_SUPPORT_TSPEND 0
+#define CONFIG_SYSTICK_HZ 100
+#define CONFIG_VIC_TSPDR 201326592
+#define CONFIG_XIP 1
+#define DCONFIG_CPU_XUANTIE_C906FD 1
+#define RT_USING_LIBC
+#define RT_USING_NEWLIBC
+#define _POSIX_C_SOURCE 1
+#define __RTTHREAD__
+#define __RT_KERNEL_SOURCE__ 1
+#define _REENT_SMALL
+
+#endif /*RTCONFIG_PREINC_H__*/
+
diff --git a/bsp/xuantie/xiaohui/c907/.cproject b/bsp/xuantie/xiaohui/c907/.cproject
new file mode 100644
index 00000000000..13ddfd54a4d
--- /dev/null
+++ b/bsp/xuantie/xiaohui/c907/.cproject
@@ -0,0 +1,912 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/bsp/xuantie/xiaohui/c907/.project b/bsp/xuantie/xiaohui/c907/.project
new file mode 100644
index 00000000000..c7455faa7a8
--- /dev/null
+++ b/bsp/xuantie/xiaohui/c907/.project
@@ -0,0 +1,27 @@
+
+
+ project
+
+
+
+
+
+ org.eclipse.cdt.managedbuilder.core.genmakebuilder
+ clean,full,incremental,
+
+
+
+
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder
+ full,incremental,
+
+
+
+
+
+ org.eclipse.cdt.core.cnature
+ org.eclipse.cdt.managedbuilder.core.managedBuildNature
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigNature
+
+
+
diff --git a/bsp/xuantie/xiaohui/c907/.settings/org.eclipse.core.runtime.prefs b/bsp/xuantie/xiaohui/c907/.settings/org.eclipse.core.runtime.prefs
new file mode 100644
index 00000000000..9f1acfcfba2
--- /dev/null
+++ b/bsp/xuantie/xiaohui/c907/.settings/org.eclipse.core.runtime.prefs
@@ -0,0 +1,3 @@
+content-types/enabled=true
+content-types/org.eclipse.cdt.core.asmSource/file-extensions=s
+eclipse.preferences.version=1
\ No newline at end of file
diff --git a/bsp/xuantie/xiaohui/c907/.settings/projcfg.ini b/bsp/xuantie/xiaohui/c907/.settings/projcfg.ini
new file mode 100644
index 00000000000..9a225d82fd7
--- /dev/null
+++ b/bsp/xuantie/xiaohui/c907/.settings/projcfg.ini
@@ -0,0 +1,20 @@
+#RT-Thread Studio Project Configuration
+# Mon Sep 22 18:32:38 2025
+cfg_version=v3.0
+
+board_name=
+bsp_version=
+bsp_path=
+chip_name=
+project_base_rtt_bsp=true
+is_use_scons_build=true
+hardware_adapter=
+selected_rtt_version=latest
+board_base_nano_proj=false
+is_base_example_project=false
+example_name=
+project_type=rt-thread
+os_branch=master
+os_version=latest
+project_name=project
+output_project_path=E:\rt-thread\bsp\xuantie\xiaohui\c907
\ No newline at end of file
diff --git a/bsp/xuantie/xiaohui/c907/Kconfig b/bsp/xuantie/xiaohui/c907/Kconfig
index ccf39a9657f..7986b1ff299 100644
--- a/bsp/xuantie/xiaohui/c907/Kconfig
+++ b/bsp/xuantie/xiaohui/c907/Kconfig
@@ -1,18 +1,35 @@
mainmenu "RT-Thread Configuration"
-BSP_DIR := .
+config BSP_DIR
+ string
+ option env="BSP_ROOT"
+ default "."
-RTT_DIR := ../../../..
+config RTT_DIR
+ string
+ option env="RTT_ROOT"
+ default "rt-thread"
-PKGS_DIR := packages
+# you can change the RTT_ROOT default "rt-thread"
+# example : default "F:/git_repositories/rt-thread"
-config XUANTIAN_XIAOHUI_C907
+config PKGS_DIR
+ string
+ option env="PKGS_ROOT"
+ default "packages"
+
+config ENV_DIR
+ string
+ option env="ENV_ROOT"
+ default "/"
+
+ config XUANTIAN_XIAOHUI_C907
bool
select ARCH_RISCV64
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
-source "$(RTT_DIR)/Kconfig"
-osource "$PKGS_DIR/Kconfig"
-rsource "board/Kconfig"
+source "$RTT_DIR/Kconfig"
+source "$PKGS_DIR/Kconfig"
+source "$BSP_DIR/board/Kconfig"
diff --git a/bsp/xuantie/xiaohui/c907/rtconfig_preinc.h b/bsp/xuantie/xiaohui/c907/rtconfig_preinc.h
new file mode 100644
index 00000000000..962f2799645
--- /dev/null
+++ b/bsp/xuantie/xiaohui/c907/rtconfig_preinc.h
@@ -0,0 +1,36 @@
+
+#ifndef RTCONFIG_PREINC_H__
+#define RTCONFIG_PREINC_H__
+
+/* Automatically generated file; DO NOT EDIT. */
+/* RT-Thread pre-include file */
+
+#define CLI_CONFIG_STACK_SIZE 8192
+#define CONFIG_APP_TASK_STACK_SIZE 8192
+#define CONFIG_ARCH_INTERRUPTSTACK 8192
+#define CONFIG_ARCH_MAINSTACK 8192
+#define CONFIG_BOARD_XIAOHUI_EVB 1
+#define CONFIG_CLIC_BASE 201392128
+#define CONFIG_CPU_XUANTIE_C907 1
+#define CONFIG_CSI "csi2"
+#define CONFIG_CSI_V2 1
+#define CONFIG_DEBUG 1
+#define CONFIG_FPP_ENABLE 0
+#define CONFIG_INIT_TASK_STACK_SIZE 8192
+#define CONFIG_INTC_CLIC_PLIC 1
+#define CONFIG_KERNEL_RTTHREAD 1
+#define CONFIG_PLIC_BASE 134217728
+#define CONFIG_SUPPORT_IRQ_NESTED 0
+#define CONFIG_SUPPORT_TSPEND 0
+#define CONFIG_SYSTICK_HZ 100
+#define CONFIG_VIC_TSPDR 201326592
+#define CONFIG_XIP 1
+#define RT_USING_LIBC
+#define RT_USING_NEWLIBC
+#define _POSIX_C_SOURCE 1
+#define __RTTHREAD__
+#define __RT_KERNEL_SOURCE__ 1
+#define _REENT_SMALL
+
+#endif /*RTCONFIG_PREINC_H__*/
+
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+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/bsp/xuantie/xiaohui/c908/.project b/bsp/xuantie/xiaohui/c908/.project
new file mode 100644
index 00000000000..c7455faa7a8
--- /dev/null
+++ b/bsp/xuantie/xiaohui/c908/.project
@@ -0,0 +1,27 @@
+
+
+ project
+
+
+
+
+
+ org.eclipse.cdt.managedbuilder.core.genmakebuilder
+ clean,full,incremental,
+
+
+
+
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder
+ full,incremental,
+
+
+
+
+
+ org.eclipse.cdt.core.cnature
+ org.eclipse.cdt.managedbuilder.core.managedBuildNature
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigNature
+
+
+
diff --git a/bsp/xuantie/xiaohui/c908/.settings/org.eclipse.core.runtime.prefs b/bsp/xuantie/xiaohui/c908/.settings/org.eclipse.core.runtime.prefs
new file mode 100644
index 00000000000..9f1acfcfba2
--- /dev/null
+++ b/bsp/xuantie/xiaohui/c908/.settings/org.eclipse.core.runtime.prefs
@@ -0,0 +1,3 @@
+content-types/enabled=true
+content-types/org.eclipse.cdt.core.asmSource/file-extensions=s
+eclipse.preferences.version=1
\ No newline at end of file
diff --git a/bsp/xuantie/xiaohui/c908/.settings/projcfg.ini b/bsp/xuantie/xiaohui/c908/.settings/projcfg.ini
new file mode 100644
index 00000000000..5a3eda931de
--- /dev/null
+++ b/bsp/xuantie/xiaohui/c908/.settings/projcfg.ini
@@ -0,0 +1,20 @@
+#RT-Thread Studio Project Configuration
+# Mon Sep 22 18:49:19 2025
+cfg_version=v3.0
+
+board_name=
+bsp_version=
+bsp_path=
+chip_name=
+project_base_rtt_bsp=true
+is_use_scons_build=true
+hardware_adapter=
+selected_rtt_version=latest
+board_base_nano_proj=false
+is_base_example_project=false
+example_name=
+project_type=rt-thread
+os_branch=master
+os_version=latest
+project_name=project
+output_project_path=E:\rt-thread\bsp\xuantie\xiaohui\c908
\ No newline at end of file
diff --git a/bsp/xuantie/xiaohui/c908/Kconfig b/bsp/xuantie/xiaohui/c908/Kconfig
index d33282ddafc..99c62ff7dab 100644
--- a/bsp/xuantie/xiaohui/c908/Kconfig
+++ b/bsp/xuantie/xiaohui/c908/Kconfig
@@ -1,18 +1,35 @@
mainmenu "RT-Thread Configuration"
-BSP_DIR := .
+config BSP_DIR
+ string
+ option env="BSP_ROOT"
+ default "."
-RTT_DIR := ../../../..
+config RTT_DIR
+ string
+ option env="RTT_ROOT"
+ default "rt-thread"
-PKGS_DIR := packages
+# you can change the RTT_ROOT default "rt-thread"
+# example : default "F:/git_repositories/rt-thread"
-config XUANTIAN_XIAOHUI_C908
+config PKGS_DIR
+ string
+ option env="PKGS_ROOT"
+ default "packages"
+
+config ENV_DIR
+ string
+ option env="ENV_ROOT"
+ default "/"
+
+ config XUANTIAN_XIAOHUI_C908
bool
select ARCH_RISCV64
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
-source "$(RTT_DIR)/Kconfig"
-osource "$PKGS_DIR/Kconfig"
-rsource "board/Kconfig"
+source "$RTT_DIR/Kconfig"
+source "$PKGS_DIR/Kconfig"
+source "$BSP_DIR/board/Kconfig"
diff --git a/bsp/xuantie/xiaohui/c908/rtconfig.py b/bsp/xuantie/xiaohui/c908/rtconfig.py
index f9fa78c99f1..9f75ee99250 100644
--- a/bsp/xuantie/xiaohui/c908/rtconfig.py
+++ b/bsp/xuantie/xiaohui/c908/rtconfig.py
@@ -46,7 +46,6 @@
MCPU_DEFINE = ' -DCONFIG_CPU_XUANTIE_C908V=1 ' # Modify here based on CPU architecture.
DEVICE = MCPU + MCPU_DEFINE + ' -Wno-main -mcmodel=medany -MP -MMD '
- # 提取全局宏定义
GLOBAL_DEFINES = (
' -DCONFIG_KERNEL_RTTHREAD=1 '
' -D__RT_KERNEL_SOURCE__=1 '
diff --git a/bsp/xuantie/xiaohui/c908/rtconfig_preinc.h b/bsp/xuantie/xiaohui/c908/rtconfig_preinc.h
new file mode 100644
index 00000000000..e8d8974105a
--- /dev/null
+++ b/bsp/xuantie/xiaohui/c908/rtconfig_preinc.h
@@ -0,0 +1,36 @@
+
+#ifndef RTCONFIG_PREINC_H__
+#define RTCONFIG_PREINC_H__
+
+/* Automatically generated file; DO NOT EDIT. */
+/* RT-Thread pre-include file */
+
+#define CLI_CONFIG_STACK_SIZE 8192
+#define CONFIG_APP_TASK_STACK_SIZE 8192
+#define CONFIG_ARCH_INTERRUPTSTACK 8192
+#define CONFIG_ARCH_MAINSTACK 8192
+#define CONFIG_BOARD_XIAOHUI_EVB 1
+#define CONFIG_CLIC_BASE 201392128
+#define CONFIG_CPU_XUANTIE_C908V 1
+#define CONFIG_CSI "csi2"
+#define CONFIG_CSI_V2 1
+#define CONFIG_DEBUG 1
+#define CONFIG_FPP_ENABLE 0
+#define CONFIG_INIT_TASK_STACK_SIZE 8192
+#define CONFIG_INTC_CLIC_PLIC 1
+#define CONFIG_KERNEL_RTTHREAD 1
+#define CONFIG_PLIC_BASE 134217728
+#define CONFIG_SUPPORT_IRQ_NESTED 0
+#define CONFIG_SUPPORT_TSPEND 0
+#define CONFIG_SYSTICK_HZ 100
+#define CONFIG_VIC_TSPDR 201326592
+#define CONFIG_XIP 1
+#define RT_USING_LIBC
+#define RT_USING_NEWLIBC
+#define _POSIX_C_SOURCE 1
+#define __RTTHREAD__
+#define __RT_KERNEL_SOURCE__ 1
+#define _REENT_SMALL
+
+#endif /*RTCONFIG_PREINC_H__*/
+
diff --git a/bsp/xuantie/xiaohui/c910/.cproject b/bsp/xuantie/xiaohui/c910/.cproject
new file mode 100644
index 00000000000..d875041944f
--- /dev/null
+++ b/bsp/xuantie/xiaohui/c910/.cproject
@@ -0,0 +1,912 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
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.core.genmakebuilder
+ clean,full,incremental,
+
+
+
+
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder
+ full,incremental,
+
+
+
+
+
+ org.eclipse.cdt.core.cnature
+ org.eclipse.cdt.managedbuilder.core.managedBuildNature
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigNature
+
+
+
diff --git a/bsp/xuantie/xiaohui/c910/.settings/org.eclipse.core.runtime.prefs b/bsp/xuantie/xiaohui/c910/.settings/org.eclipse.core.runtime.prefs
new file mode 100644
index 00000000000..9f1acfcfba2
--- /dev/null
+++ b/bsp/xuantie/xiaohui/c910/.settings/org.eclipse.core.runtime.prefs
@@ -0,0 +1,3 @@
+content-types/enabled=true
+content-types/org.eclipse.cdt.core.asmSource/file-extensions=s
+eclipse.preferences.version=1
\ No newline at end of file
diff --git a/bsp/xuantie/xiaohui/c910/.settings/projcfg.ini b/bsp/xuantie/xiaohui/c910/.settings/projcfg.ini
new file mode 100644
index 00000000000..36ea1741899
--- /dev/null
+++ b/bsp/xuantie/xiaohui/c910/.settings/projcfg.ini
@@ -0,0 +1,20 @@
+#RT-Thread Studio Project Configuration
+# Tue Sep 23 10:06:49 2025
+cfg_version=v3.0
+
+board_name=
+bsp_version=
+bsp_path=
+chip_name=
+project_base_rtt_bsp=true
+is_use_scons_build=true
+hardware_adapter=
+selected_rtt_version=latest
+board_base_nano_proj=false
+is_base_example_project=false
+example_name=
+project_type=rt-thread
+os_branch=master
+os_version=latest
+project_name=project
+output_project_path=E:\rt-thread\bsp\xuantie\xiaohui\c910
\ No newline at end of file
diff --git a/bsp/xuantie/xiaohui/c910/Kconfig b/bsp/xuantie/xiaohui/c910/Kconfig
index a7cd46358f3..6b85ddc4492 100644
--- a/bsp/xuantie/xiaohui/c910/Kconfig
+++ b/bsp/xuantie/xiaohui/c910/Kconfig
@@ -1,18 +1,35 @@
mainmenu "RT-Thread Configuration"
-BSP_DIR := .
+config BSP_DIR
+ string
+ option env="BSP_ROOT"
+ default "."
-RTT_DIR := ../../../..
+config RTT_DIR
+ string
+ option env="RTT_ROOT"
+ default "rt-thread"
-PKGS_DIR := packages
+# you can change the RTT_ROOT default "rt-thread"
+# example : default "F:/git_repositories/rt-thread"
-config XUANTIAN_XIAOHUI_C910
+config PKGS_DIR
+ string
+ option env="PKGS_ROOT"
+ default "packages"
+
+config ENV_DIR
+ string
+ option env="ENV_ROOT"
+ default "/"
+
+ config XUANTIAN_XIAOHUI_C910
bool
select ARCH_RISCV64
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
-source "$(RTT_DIR)/Kconfig"
-osource "$PKGS_DIR/Kconfig"
-rsource "board/Kconfig"
+source "$RTT_DIR/Kconfig"
+source "$PKGS_DIR/Kconfig"
+source "$BSP_DIR/board/Kconfig"
diff --git a/bsp/xuantie/xiaohui/c910/rtconfig_preinc.h b/bsp/xuantie/xiaohui/c910/rtconfig_preinc.h
new file mode 100644
index 00000000000..8ecfccb0c77
--- /dev/null
+++ b/bsp/xuantie/xiaohui/c910/rtconfig_preinc.h
@@ -0,0 +1,36 @@
+
+#ifndef RTCONFIG_PREINC_H__
+#define RTCONFIG_PREINC_H__
+
+/* Automatically generated file; DO NOT EDIT. */
+/* RT-Thread pre-include file */
+
+#define CLI_CONFIG_STACK_SIZE 8192
+#define CONFIG_APP_TASK_STACK_SIZE 8192
+#define CONFIG_ARCH_INTERRUPTSTACK 8192
+#define CONFIG_ARCH_MAINSTACK 8192
+#define CONFIG_BOARD_XIAOHUI_EVB 1
+#define CONFIG_CLIC_BASE 201392128
+#define CONFIG_CPU_XUANTIE_C910V3 1
+#define CONFIG_CSI "csi2"
+#define CONFIG_CSI_V2 1
+#define CONFIG_DEBUG 1
+#define CONFIG_FPP_ENABLE 0
+#define CONFIG_INIT_TASK_STACK_SIZE 8192
+#define CONFIG_INTC_CLIC_PLIC 1
+#define CONFIG_KERNEL_RTTHREAD 1
+#define CONFIG_PLIC_BASE 134217728
+#define CONFIG_SUPPORT_IRQ_NESTED 0
+#define CONFIG_SUPPORT_TSPEND 0
+#define CONFIG_SYSTICK_HZ 100
+#define CONFIG_VIC_TSPDR 201326592
+#define CONFIG_XIP 1
+#define RT_USING_LIBC
+#define RT_USING_NEWLIBC
+#define _POSIX_C_SOURCE 1
+#define __RTTHREAD__
+#define __RT_KERNEL_SOURCE__ 1
+#define _REENT_SMALL
+
+#endif /*RTCONFIG_PREINC_H__*/
+
diff --git a/bsp/xuantie/xiaohui/r908/.cproject b/bsp/xuantie/xiaohui/r908/.cproject
new file mode 100644
index 00000000000..1fbce3e2ae3
--- /dev/null
+++ b/bsp/xuantie/xiaohui/r908/.cproject
@@ -0,0 +1,912 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/bsp/xuantie/xiaohui/r908/.project b/bsp/xuantie/xiaohui/r908/.project
new file mode 100644
index 00000000000..c7455faa7a8
--- /dev/null
+++ b/bsp/xuantie/xiaohui/r908/.project
@@ -0,0 +1,27 @@
+
+
+ project
+
+
+
+
+
+ org.eclipse.cdt.managedbuilder.core.genmakebuilder
+ clean,full,incremental,
+
+
+
+
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder
+ full,incremental,
+
+
+
+
+
+ org.eclipse.cdt.core.cnature
+ org.eclipse.cdt.managedbuilder.core.managedBuildNature
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigNature
+
+
+
diff --git a/bsp/xuantie/xiaohui/r908/.settings/org.eclipse.core.runtime.prefs b/bsp/xuantie/xiaohui/r908/.settings/org.eclipse.core.runtime.prefs
new file mode 100644
index 00000000000..9f1acfcfba2
--- /dev/null
+++ b/bsp/xuantie/xiaohui/r908/.settings/org.eclipse.core.runtime.prefs
@@ -0,0 +1,3 @@
+content-types/enabled=true
+content-types/org.eclipse.cdt.core.asmSource/file-extensions=s
+eclipse.preferences.version=1
\ No newline at end of file
diff --git a/bsp/xuantie/xiaohui/r908/.settings/projcfg.ini b/bsp/xuantie/xiaohui/r908/.settings/projcfg.ini
new file mode 100644
index 00000000000..df67663c912
--- /dev/null
+++ b/bsp/xuantie/xiaohui/r908/.settings/projcfg.ini
@@ -0,0 +1,20 @@
+#RT-Thread Studio Project Configuration
+# Tue Sep 23 15:06:09 2025
+cfg_version=v3.0
+
+board_name=
+bsp_version=
+bsp_path=
+chip_name=
+project_base_rtt_bsp=true
+is_use_scons_build=true
+hardware_adapter=
+selected_rtt_version=latest
+board_base_nano_proj=false
+is_base_example_project=false
+example_name=
+project_type=rt-thread
+os_branch=master
+os_version=latest
+project_name=project
+output_project_path=E:\rt-thread\bsp\xuantie\xiaohui\r908
\ No newline at end of file
diff --git a/bsp/xuantie/xiaohui/r908/Kconfig b/bsp/xuantie/xiaohui/r908/Kconfig
index 25ddbef03ff..41a6fba7cb7 100644
--- a/bsp/xuantie/xiaohui/r908/Kconfig
+++ b/bsp/xuantie/xiaohui/r908/Kconfig
@@ -1,18 +1,35 @@
mainmenu "RT-Thread Configuration"
-BSP_DIR := .
+config BSP_DIR
+ string
+ option env="BSP_ROOT"
+ default "."
-RTT_DIR := ../../../..
+config RTT_DIR
+ string
+ option env="RTT_ROOT"
+ default "rt-thread"
-PKGS_DIR := packages
+# you can change the RTT_ROOT default "rt-thread"
+# example : default "F:/git_repositories/rt-thread"
-config XUANTIAN_XIAOHUI_R908
+config PKGS_DIR
+ string
+ option env="PKGS_ROOT"
+ default "packages"
+
+config ENV_DIR
+ string
+ option env="ENV_ROOT"
+ default "/"
+
+ config XUANTIAN_XIAOHUI_R908
bool
select ARCH_RISCV64
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
-source "$(RTT_DIR)/Kconfig"
-osource "$PKGS_DIR/Kconfig"
-rsource "board/Kconfig"
+source "$RTT_DIR/Kconfig"
+source "$PKGS_DIR/Kconfig"
+source "$BSP_DIR/board/Kconfig"
diff --git a/bsp/xuantie/xiaohui/r908/rtconfig_preinc.h b/bsp/xuantie/xiaohui/r908/rtconfig_preinc.h
new file mode 100644
index 00000000000..9defb7a5a51
--- /dev/null
+++ b/bsp/xuantie/xiaohui/r908/rtconfig_preinc.h
@@ -0,0 +1,36 @@
+
+#ifndef RTCONFIG_PREINC_H__
+#define RTCONFIG_PREINC_H__
+
+/* Automatically generated file; DO NOT EDIT. */
+/* RT-Thread pre-include file */
+
+#define CLI_CONFIG_STACK_SIZE 8192
+#define CONFIG_APP_TASK_STACK_SIZE 8192
+#define CONFIG_ARCH_INTERRUPTSTACK 8192
+#define CONFIG_ARCH_MAINSTACK 8192
+#define CONFIG_BOARD_XIAOHUI_EVB 1
+#define CONFIG_CLIC_BASE 201392128
+#define CONFIG_CPU_XUANTIE_R908 1
+#define CONFIG_CSI "csi2"
+#define CONFIG_CSI_V2 1
+#define CONFIG_DEBUG 1
+#define CONFIG_FPP_ENABLE 0
+#define CONFIG_INIT_TASK_STACK_SIZE 8192
+#define CONFIG_INTC_CLIC_PLIC 1
+#define CONFIG_KERNEL_RTTHREAD 1
+#define CONFIG_PLIC_BASE 134217728
+#define CONFIG_SUPPORT_IRQ_NESTED 0
+#define CONFIG_SUPPORT_TSPEND 0
+#define CONFIG_SYSTICK_HZ 100
+#define CONFIG_VIC_TSPDR 201326592
+#define CONFIG_XIP 1
+#define RT_USING_LIBC
+#define RT_USING_NEWLIBC
+#define _POSIX_C_SOURCE 1
+#define __RTTHREAD__
+#define __RT_KERNEL_SOURCE__ 1
+#define _REENT_SMALL
+
+#endif /*RTCONFIG_PREINC_H__*/
+
diff --git a/bsp/xuantie/xiaohui/r910/.cproject b/bsp/xuantie/xiaohui/r910/.cproject
new file mode 100644
index 00000000000..5f3f5834044
--- /dev/null
+++ b/bsp/xuantie/xiaohui/r910/.cproject
@@ -0,0 +1,912 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/bsp/xuantie/xiaohui/r910/.project b/bsp/xuantie/xiaohui/r910/.project
new file mode 100644
index 00000000000..c7455faa7a8
--- /dev/null
+++ b/bsp/xuantie/xiaohui/r910/.project
@@ -0,0 +1,27 @@
+
+
+ project
+
+
+
+
+
+ org.eclipse.cdt.managedbuilder.core.genmakebuilder
+ clean,full,incremental,
+
+
+
+
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder
+ full,incremental,
+
+
+
+
+
+ org.eclipse.cdt.core.cnature
+ org.eclipse.cdt.managedbuilder.core.managedBuildNature
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigNature
+
+
+
diff --git a/bsp/xuantie/xiaohui/r910/.settings/org.eclipse.core.runtime.prefs b/bsp/xuantie/xiaohui/r910/.settings/org.eclipse.core.runtime.prefs
new file mode 100644
index 00000000000..9f1acfcfba2
--- /dev/null
+++ b/bsp/xuantie/xiaohui/r910/.settings/org.eclipse.core.runtime.prefs
@@ -0,0 +1,3 @@
+content-types/enabled=true
+content-types/org.eclipse.cdt.core.asmSource/file-extensions=s
+eclipse.preferences.version=1
\ No newline at end of file
diff --git a/bsp/xuantie/xiaohui/r910/.settings/projcfg.ini b/bsp/xuantie/xiaohui/r910/.settings/projcfg.ini
new file mode 100644
index 00000000000..037bd4ee60c
--- /dev/null
+++ b/bsp/xuantie/xiaohui/r910/.settings/projcfg.ini
@@ -0,0 +1,20 @@
+#RT-Thread Studio Project Configuration
+# Tue Sep 23 15:24:56 2025
+cfg_version=v3.0
+
+board_name=
+bsp_version=
+bsp_path=
+chip_name=
+project_base_rtt_bsp=true
+is_use_scons_build=true
+hardware_adapter=
+selected_rtt_version=latest
+board_base_nano_proj=false
+is_base_example_project=false
+example_name=
+project_type=rt-thread
+os_branch=master
+os_version=latest
+project_name=project
+output_project_path=E:\rt-thread\bsp\xuantie\xiaohui\r910
\ No newline at end of file
diff --git a/bsp/xuantie/xiaohui/r910/Kconfig b/bsp/xuantie/xiaohui/r910/Kconfig
index 8b80ddb798f..6f263e0019a 100644
--- a/bsp/xuantie/xiaohui/r910/Kconfig
+++ b/bsp/xuantie/xiaohui/r910/Kconfig
@@ -1,18 +1,35 @@
mainmenu "RT-Thread Configuration"
-BSP_DIR := .
+config BSP_DIR
+ string
+ option env="BSP_ROOT"
+ default "."
-RTT_DIR := ../../../..
+config RTT_DIR
+ string
+ option env="RTT_ROOT"
+ default "rt-thread"
-PKGS_DIR := packages
+# you can change the RTT_ROOT default "rt-thread"
+# example : default "F:/git_repositories/rt-thread"
-config XUANTIAN_XIAOHUI_R910
+config PKGS_DIR
+ string
+ option env="PKGS_ROOT"
+ default "packages"
+
+config ENV_DIR
+ string
+ option env="ENV_ROOT"
+ default "/"
+
+ config XUANTIAN_XIAOHUI_R910
bool
select ARCH_RISCV64
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
-
-source "$(RTT_DIR)/Kconfig"
-osource "$PKGS_DIR/Kconfig"
-rsource "board/Kconfig"
+
+source "$RTT_DIR/Kconfig"
+source "$PKGS_DIR/Kconfig"
+source "$BSP_DIR/board/Kconfig"
diff --git a/bsp/xuantie/xiaohui/r910/rtconfig.py b/bsp/xuantie/xiaohui/r910/rtconfig.py
index cb92fb4d27c..287b0e4fdb0 100644
--- a/bsp/xuantie/xiaohui/r910/rtconfig.py
+++ b/bsp/xuantie/xiaohui/r910/rtconfig.py
@@ -94,6 +94,6 @@
def dist_handle(BSP_ROOT, dist_dir):
import sys
cwd_path = os.getcwd()
- sys.path.append(os.path.join(os.path.dirname(BSP_ROOT), 'tools'))
+ sys.path.append(os.path.join(os.path.dirname(BSP_ROOT), '../tools'))
from sdk_dist import dist_do_building
dist_do_building(BSP_ROOT, dist_dir)
diff --git a/bsp/xuantie/xiaohui/r910/rtconfig_preinc.h b/bsp/xuantie/xiaohui/r910/rtconfig_preinc.h
new file mode 100644
index 00000000000..a3826ec92b9
--- /dev/null
+++ b/bsp/xuantie/xiaohui/r910/rtconfig_preinc.h
@@ -0,0 +1,36 @@
+
+#ifndef RTCONFIG_PREINC_H__
+#define RTCONFIG_PREINC_H__
+
+/* Automatically generated file; DO NOT EDIT. */
+/* RT-Thread pre-include file */
+
+#define CLI_CONFIG_STACK_SIZE 8192
+#define CONFIG_APP_TASK_STACK_SIZE 8192
+#define CONFIG_ARCH_INTERRUPTSTACK 8192
+#define CONFIG_ARCH_MAINSTACK 8192
+#define CONFIG_BOARD_XIAOHUI_EVB 1
+#define CONFIG_CLIC_BASE 201392128
+#define CONFIG_CPU_XUANTIE_R910 1
+#define CONFIG_CSI "csi2"
+#define CONFIG_CSI_V2 1
+#define CONFIG_DEBUG 1
+#define CONFIG_FPP_ENABLE 0
+#define CONFIG_INIT_TASK_STACK_SIZE 8192
+#define CONFIG_INTC_CLIC_PLIC 1
+#define CONFIG_KERNEL_RTTHREAD 1
+#define CONFIG_PLIC_BASE 134217728
+#define CONFIG_SUPPORT_IRQ_NESTED 0
+#define CONFIG_SUPPORT_TSPEND 0
+#define CONFIG_SYSTICK_HZ 100
+#define CONFIG_VIC_TSPDR 201326592
+#define CONFIG_XIP 1
+#define RT_USING_LIBC
+#define RT_USING_NEWLIBC
+#define _POSIX_C_SOURCE 1
+#define __RTTHREAD__
+#define __RT_KERNEL_SOURCE__ 1
+#define _REENT_SMALL
+
+#endif /*RTCONFIG_PREINC_H__*/
+
diff --git a/bsp/xuantie/xiaohui/r920/.cproject b/bsp/xuantie/xiaohui/r920/.cproject
new file mode 100644
index 00000000000..ea03bf448a7
--- /dev/null
+++ b/bsp/xuantie/xiaohui/r920/.cproject
@@ -0,0 +1,912 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/bsp/xuantie/xiaohui/r920/.project b/bsp/xuantie/xiaohui/r920/.project
new file mode 100644
index 00000000000..c7455faa7a8
--- /dev/null
+++ b/bsp/xuantie/xiaohui/r920/.project
@@ -0,0 +1,27 @@
+
+
+ project
+
+
+
+
+
+ org.eclipse.cdt.managedbuilder.core.genmakebuilder
+ clean,full,incremental,
+
+
+
+
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder
+ full,incremental,
+
+
+
+
+
+ org.eclipse.cdt.core.cnature
+ org.eclipse.cdt.managedbuilder.core.managedBuildNature
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigNature
+
+
+
diff --git a/bsp/xuantie/xiaohui/r920/.settings/org.eclipse.core.runtime.prefs b/bsp/xuantie/xiaohui/r920/.settings/org.eclipse.core.runtime.prefs
new file mode 100644
index 00000000000..9f1acfcfba2
--- /dev/null
+++ b/bsp/xuantie/xiaohui/r920/.settings/org.eclipse.core.runtime.prefs
@@ -0,0 +1,3 @@
+content-types/enabled=true
+content-types/org.eclipse.cdt.core.asmSource/file-extensions=s
+eclipse.preferences.version=1
\ No newline at end of file
diff --git a/bsp/xuantie/xiaohui/r920/.settings/projcfg.ini b/bsp/xuantie/xiaohui/r920/.settings/projcfg.ini
new file mode 100644
index 00000000000..84be51a1fa0
--- /dev/null
+++ b/bsp/xuantie/xiaohui/r920/.settings/projcfg.ini
@@ -0,0 +1,20 @@
+#RT-Thread Studio Project Configuration
+# Tue Sep 23 15:29:31 2025
+cfg_version=v3.0
+
+board_name=
+bsp_version=
+bsp_path=
+chip_name=
+project_base_rtt_bsp=true
+is_use_scons_build=true
+hardware_adapter=
+selected_rtt_version=latest
+board_base_nano_proj=false
+is_base_example_project=false
+example_name=
+project_type=rt-thread
+os_branch=master
+os_version=latest
+project_name=project
+output_project_path=E:\rt-thread\bsp\xuantie\xiaohui\r920
\ No newline at end of file
diff --git a/bsp/xuantie/xiaohui/r920/Kconfig b/bsp/xuantie/xiaohui/r920/Kconfig
index 4f7c32e9a67..7464b3e434e 100644
--- a/bsp/xuantie/xiaohui/r920/Kconfig
+++ b/bsp/xuantie/xiaohui/r920/Kconfig
@@ -1,18 +1,35 @@
mainmenu "RT-Thread Configuration"
-BSP_DIR := .
+config BSP_DIR
+ string
+ option env="BSP_ROOT"
+ default "."
-RTT_DIR := ../../../..
+config RTT_DIR
+ string
+ option env="RTT_ROOT"
+ default "rt-thread"
-PKGS_DIR := packages
+# you can change the RTT_ROOT default "rt-thread"
+# example : default "F:/git_repositories/rt-thread"
-config XUANTIAN_XIAOHUI_R920
+config PKGS_DIR
+ string
+ option env="PKGS_ROOT"
+ default "packages"
+
+config ENV_DIR
+ string
+ option env="ENV_ROOT"
+ default "/"
+
+ config XUANTIAN_XIAOHUI_R920
bool
select ARCH_RISCV64
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
-source "$(RTT_DIR)/Kconfig"
-osource "$PKGS_DIR/Kconfig"
-rsource "board/Kconfig"
+source "$RTT_DIR/Kconfig"
+source "$PKGS_DIR/Kconfig"
+source "$BSP_DIR/board/Kconfig"
diff --git a/bsp/xuantie/xiaohui/r920/rtconfig_preinc.h b/bsp/xuantie/xiaohui/r920/rtconfig_preinc.h
new file mode 100644
index 00000000000..7827d269dc5
--- /dev/null
+++ b/bsp/xuantie/xiaohui/r920/rtconfig_preinc.h
@@ -0,0 +1,36 @@
+
+#ifndef RTCONFIG_PREINC_H__
+#define RTCONFIG_PREINC_H__
+
+/* Automatically generated file; DO NOT EDIT. */
+/* RT-Thread pre-include file */
+
+#define CLI_CONFIG_STACK_SIZE 8192
+#define CONFIG_APP_TASK_STACK_SIZE 8192
+#define CONFIG_ARCH_INTERRUPTSTACK 8192
+#define CONFIG_ARCH_MAINSTACK 8192
+#define CONFIG_BOARD_XIAOHUI_EVB 1
+#define CONFIG_CLIC_BASE 201392128
+#define CONFIG_CPU_XUANTIE_R920 1
+#define CONFIG_CSI "csi2"
+#define CONFIG_CSI_V2 1
+#define CONFIG_DEBUG 1
+#define CONFIG_FPP_ENABLE 0
+#define CONFIG_INIT_TASK_STACK_SIZE 8192
+#define CONFIG_INTC_CLIC_PLIC 1
+#define CONFIG_KERNEL_RTTHREAD 1
+#define CONFIG_PLIC_BASE 134217728
+#define CONFIG_SUPPORT_IRQ_NESTED 0
+#define CONFIG_SUPPORT_TSPEND 0
+#define CONFIG_SYSTICK_HZ 100
+#define CONFIG_VIC_TSPDR 201326592
+#define CONFIG_XIP 1
+#define RT_USING_LIBC
+#define RT_USING_NEWLIBC
+#define _POSIX_C_SOURCE 1
+#define __RTTHREAD__
+#define __RT_KERNEL_SOURCE__ 1
+#define _REENT_SMALL
+
+#endif /*RTCONFIG_PREINC_H__*/
+