Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
928 changes: 928 additions & 0 deletions bsp/xuantie/smartl/e902/.cproject

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions bsp/xuantie/smartl/e902/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>project</name>
<comment />
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
<triggers>clean,full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.cdt.core.cnature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
</natures>
<linkedResources />
</projectDescription>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
content-types/enabled=true
content-types/org.eclipse.cdt.core.asmSource/file-extensions=s
eclipse.preferences.version=1
20 changes: 20 additions & 0 deletions bsp/xuantie/smartl/e902/.settings/projcfg.ini
Original file line number Diff line number Diff line change
@@ -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
29 changes: 23 additions & 6 deletions bsp/xuantie/smartl/e902/Kconfig
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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"
27 changes: 27 additions & 0 deletions bsp/xuantie/smartl/e902/rtconfig_preinc.h
Original file line number Diff line number Diff line change
@@ -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__*/

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
content-types/enabled=true
content-types/org.eclipse.cdt.core.asmSource/file-extensions=s
eclipse.preferences.version=1
20 changes: 20 additions & 0 deletions bsp/xuantie/smartl/e906/.settings/projcfg.ini
Original file line number Diff line number Diff line change
@@ -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
29 changes: 23 additions & 6 deletions bsp/xuantie/smartl/e906/Kconfig
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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"
27 changes: 27 additions & 0 deletions bsp/xuantie/smartl/e906/rtconfig_preinc.h
Original file line number Diff line number Diff line change
@@ -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__*/

Loading