Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wwsmg1
rt-thread
提交
6db1bd45
R
rt-thread
项目概览
wwsmg1
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
6db1bd45
编写于
9月 15, 2019
作者:
B
Bernard Xiong
提交者:
GitHub
9月 15, 2019
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #3062 from yangjie11/yj_kconfig_com
[bsp]解除组件初始化与使用user main的依赖,并修改相应的 Kconfig
上级
6e0369b1
1ef33e66
变更
92
隐藏空白更改
内联
并排
Showing
92 changed file
with
286 addition
and
20 deletion
+286
-20
bsp/allwinner_tina/Kconfig
bsp/allwinner_tina/Kconfig
+2
-0
bsp/amebaz/Kconfig
bsp/amebaz/Kconfig
+6
-1
bsp/asm9260t/Kconfig
bsp/asm9260t/Kconfig
+5
-1
bsp/at91sam9260/Kconfig
bsp/at91sam9260/Kconfig
+6
-0
bsp/beaglebone/Kconfig
bsp/beaglebone/Kconfig
+6
-0
bsp/ck802/Kconfig
bsp/ck802/Kconfig
+6
-0
bsp/dm365/Kconfig
bsp/dm365/Kconfig
+6
-0
bsp/es32f0334/Kconfig
bsp/es32f0334/Kconfig
+2
-0
bsp/es32f0654/Kconfig
bsp/es32f0654/Kconfig
+2
-0
bsp/gd32303e-eval/Kconfig
bsp/gd32303e-eval/Kconfig
+6
-0
bsp/gd32450z-eval/Kconfig
bsp/gd32450z-eval/Kconfig
+6
-0
bsp/gd32e230k-start/Kconfig
bsp/gd32e230k-start/Kconfig
+6
-0
bsp/gd32vf103v-eval/Kconfig
bsp/gd32vf103v-eval/Kconfig
+6
-0
bsp/gkipc/Kconfig
bsp/gkipc/Kconfig
+5
-0
bsp/hifive1/Kconfig
bsp/hifive1/Kconfig
+6
-0
bsp/imx6sx/cortex-a9/Kconfig
bsp/imx6sx/cortex-a9/Kconfig
+6
-0
bsp/imx6ul/Kconfig
bsp/imx6ul/Kconfig
+6
-0
bsp/imxrt/imxrt1052-atk-commander/board/Kconfig
bsp/imxrt/imxrt1052-atk-commander/board/Kconfig
+2
-0
bsp/imxrt/imxrt1052-fire-pro/board/Kconfig
bsp/imxrt/imxrt1052-fire-pro/board/Kconfig
+2
-0
bsp/imxrt/imxrt1052-nxp-evk/board/Kconfig
bsp/imxrt/imxrt1052-nxp-evk/board/Kconfig
+2
-0
bsp/imxrt/imxrt1064-nxp-evk/board/Kconfig
bsp/imxrt/imxrt1064-nxp-evk/board/Kconfig
+2
-0
bsp/k210/Kconfig
bsp/k210/Kconfig
+2
-0
bsp/lpc1114/Kconfig
bsp/lpc1114/Kconfig
+2
-0
bsp/lpc408x/Kconfig
bsp/lpc408x/Kconfig
+2
-0
bsp/lpc54114-lite/Kconfig
bsp/lpc54114-lite/Kconfig
+2
-0
bsp/lpc54608-LPCXpresso/Kconfig
bsp/lpc54608-LPCXpresso/Kconfig
+2
-0
bsp/ls1cdev/Kconfig
bsp/ls1cdev/Kconfig
+6
-1
bsp/mm32l07x/Kconfig
bsp/mm32l07x/Kconfig
+6
-0
bsp/mm32l3xx/Kconfig
bsp/mm32l3xx/Kconfig
+6
-0
bsp/nrf52832/Kconfig
bsp/nrf52832/Kconfig
+6
-0
bsp/nuvoton_m05x/Kconfig
bsp/nuvoton_m05x/Kconfig
+6
-1
bsp/nuvoton_m487/Kconfig
bsp/nuvoton_m487/Kconfig
+5
-0
bsp/qemu-vexpress-a9/Kconfig
bsp/qemu-vexpress-a9/Kconfig
+2
-0
bsp/qemu-vexpress-gemini/Kconfig
bsp/qemu-vexpress-gemini/Kconfig
+2
-0
bsp/raspi2/Kconfig
bsp/raspi2/Kconfig
+2
-0
bsp/rv32m1_vega/ri5cy/Kconfig
bsp/rv32m1_vega/ri5cy/Kconfig
+2
-0
bsp/stm32/libraries/templates/stm32f0xx/board/Kconfig
bsp/stm32/libraries/templates/stm32f0xx/board/Kconfig
+2
-0
bsp/stm32/libraries/templates/stm32f10x/board/Kconfig
bsp/stm32/libraries/templates/stm32f10x/board/Kconfig
+2
-0
bsp/stm32/libraries/templates/stm32f2xx/board/Kconfig
bsp/stm32/libraries/templates/stm32f2xx/board/Kconfig
+2
-0
bsp/stm32/libraries/templates/stm32f4xx/board/Kconfig
bsp/stm32/libraries/templates/stm32f4xx/board/Kconfig
+2
-0
bsp/stm32/libraries/templates/stm32f7xx/board/Kconfig
bsp/stm32/libraries/templates/stm32f7xx/board/Kconfig
+2
-0
bsp/stm32/libraries/templates/stm32h7xx/board/Kconfig
bsp/stm32/libraries/templates/stm32h7xx/board/Kconfig
+2
-0
bsp/stm32/libraries/templates/stm32l4xx/board/Kconfig
bsp/stm32/libraries/templates/stm32l4xx/board/Kconfig
+2
-0
bsp/stm32/libraries/templates/stm32xx_board_Kconfig
bsp/stm32/libraries/templates/stm32xx_board_Kconfig
+2
-0
bsp/stm32/stm32f072-st-nucleo/board/Kconfig
bsp/stm32/stm32f072-st-nucleo/board/Kconfig
+2
-0
bsp/stm32/stm32f091-st-nucleo/board/Kconfig
bsp/stm32/stm32f091-st-nucleo/board/Kconfig
+2
-0
bsp/stm32/stm32f103-atk-nano/board/Kconfig
bsp/stm32/stm32f103-atk-nano/board/Kconfig
+2
-0
bsp/stm32/stm32f103-atk-warshipv3/board/Kconfig
bsp/stm32/stm32f103-atk-warshipv3/board/Kconfig
+2
-0
bsp/stm32/stm32f103-dofly-M3S/board/Kconfig
bsp/stm32/stm32f103-dofly-M3S/board/Kconfig
+2
-0
bsp/stm32/stm32f103-dofly-lyc8/board/Kconfig
bsp/stm32/stm32f103-dofly-lyc8/board/Kconfig
+2
-0
bsp/stm32/stm32f103-fire-arbitrary/board/Kconfig
bsp/stm32/stm32f103-fire-arbitrary/board/Kconfig
+2
-0
bsp/stm32/stm32f103-gizwits-gokitv21/board/Kconfig
bsp/stm32/stm32f103-gizwits-gokitv21/board/Kconfig
+2
-0
bsp/stm32/stm32f103-hw100k-ibox/board/Kconfig
bsp/stm32/stm32f103-hw100k-ibox/board/Kconfig
+2
-0
bsp/stm32/stm32f103-mini-system/board/Kconfig
bsp/stm32/stm32f103-mini-system/board/Kconfig
+2
-0
bsp/stm32/stm32f103-yf-ufun/board/Kconfig
bsp/stm32/stm32f103-yf-ufun/board/Kconfig
+2
-0
bsp/stm32/stm32f107-uc-eval/board/Kconfig
bsp/stm32/stm32f107-uc-eval/board/Kconfig
+2
-0
bsp/stm32/stm32f401-st-nucleo/board/Kconfig
bsp/stm32/stm32f401-st-nucleo/board/Kconfig
+2
-0
bsp/stm32/stm32f405-smdz-breadfruit/board/Kconfig
bsp/stm32/stm32f405-smdz-breadfruit/board/Kconfig
+2
-0
bsp/stm32/stm32f407-atk-explorer/board/Kconfig
bsp/stm32/stm32f407-atk-explorer/board/Kconfig
+2
-0
bsp/stm32/stm32f407-st-discovery/board/Kconfig
bsp/stm32/stm32f407-st-discovery/board/Kconfig
+2
-0
bsp/stm32/stm32f411-st-nucleo/board/Kconfig
bsp/stm32/stm32f411-st-nucleo/board/Kconfig
+2
-0
bsp/stm32/stm32f429-armfly-v6/board/Kconfig
bsp/stm32/stm32f429-armfly-v6/board/Kconfig
+2
-0
bsp/stm32/stm32f429-atk-apollo/board/Kconfig
bsp/stm32/stm32f429-atk-apollo/board/Kconfig
+2
-0
bsp/stm32/stm32f429-fire-challenger/board/Kconfig
bsp/stm32/stm32f429-fire-challenger/board/Kconfig
+2
-0
bsp/stm32/stm32f446-st-nucleo/board/Kconfig
bsp/stm32/stm32f446-st-nucleo/board/Kconfig
+2
-0
bsp/stm32/stm32f469-st-disco/board/Kconfig
bsp/stm32/stm32f469-st-disco/board/Kconfig
+2
-0
bsp/stm32/stm32f746-st-disco/board/Kconfig
bsp/stm32/stm32f746-st-disco/board/Kconfig
+2
-0
bsp/stm32/stm32f767-atk-apollo/board/Kconfig
bsp/stm32/stm32f767-atk-apollo/board/Kconfig
+2
-0
bsp/stm32/stm32f767-fire-challenger/board/Kconfig
bsp/stm32/stm32f767-fire-challenger/board/Kconfig
+2
-0
bsp/stm32/stm32f767-st-nucleo/board/Kconfig
bsp/stm32/stm32f767-st-nucleo/board/Kconfig
+2
-0
bsp/stm32/stm32g071-st-nucleo/board/Kconfig
bsp/stm32/stm32g071-st-nucleo/board/Kconfig
+2
-0
bsp/stm32/stm32h743-atk-apollo/board/Kconfig
bsp/stm32/stm32h743-atk-apollo/board/Kconfig
+2
-0
bsp/stm32/stm32l053-st-nucleo/board/Kconfig
bsp/stm32/stm32l053-st-nucleo/board/Kconfig
+2
-0
bsp/stm32/stm32l432-st-nucleo/board/Kconfig
bsp/stm32/stm32l432-st-nucleo/board/Kconfig
+2
-0
bsp/stm32/stm32l452-st-nucleo/board/Kconfig
bsp/stm32/stm32l452-st-nucleo/board/Kconfig
+2
-0
bsp/stm32/stm32l475-atk-pandora/board/Kconfig
bsp/stm32/stm32l475-atk-pandora/board/Kconfig
+2
-0
bsp/stm32/stm32l475-st-discovery/board/Kconfig
bsp/stm32/stm32l475-st-discovery/board/Kconfig
+2
-0
bsp/stm32/stm32l476-st-nucleo/board/Kconfig
bsp/stm32/stm32l476-st-nucleo/board/Kconfig
+2
-0
bsp/stm32/stm32l496-ali-developer/board/Kconfig
bsp/stm32/stm32l496-ali-developer/board/Kconfig
+2
-0
bsp/stm32/stm32l4r9-st-eval/board/Kconfig
bsp/stm32/stm32l4r9-st-eval/board/Kconfig
+2
-0
bsp/stm32f20x/Kconfig
bsp/stm32f20x/Kconfig
+6
-0
bsp/stm32f429-disco/Kconfig
bsp/stm32f429-disco/Kconfig
+5
-0
bsp/stm32h743-nucleo/Kconfig
bsp/stm32h743-nucleo/Kconfig
+6
-0
bsp/swm320-lq100/Kconfig
bsp/swm320-lq100/Kconfig
+2
-0
bsp/synopsys/emsk_em9d/Kconfig
bsp/synopsys/emsk_em9d/Kconfig
+3
-1
bsp/tm4c129x/Kconfig
bsp/tm4c129x/Kconfig
+6
-0
bsp/tms320f28379d/Kconfig
bsp/tms320f28379d/Kconfig
+2
-0
bsp/w60x/Kconfig
bsp/w60x/Kconfig
+6
-0
bsp/x1000/Kconfig
bsp/x1000/Kconfig
+2
-0
components/Kconfig
components/Kconfig
+7
-9
src/SConscript
src/SConscript
+0
-3
src/components.c
src/components.c
+4
-3
未找到文件。
bsp/allwinner_tina/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -24,6 +24,8 @@ source "$PKGS_DIR/Kconfig"
config SOC_TINA
bool
select ARCH_ARM_ARM9
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
source "$BSP_DIR/drivers/Kconfig"
bsp/amebaz/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -29,4 +29,9 @@ source "$ENV_DIR/tools/scripts/cmds/Kconfig"
source "$BSP_DIR/libraries/Kconfig"
source "$BSP_DIR/drivers/Kconfig"
select PKG_USING_REALTEK_AMEBA
config SOC_AMEBAZ
bool
select PKG_USING_REALTEK_AMEBA
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
bsp/asm9260t/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -18,6 +18,11 @@ config PKGS_DIR
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
config SOC_AT91SAM926
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
config RT_USING_UART0
bool "Using RT_USING_UART0"
default n
...
...
@@ -35,4 +40,3 @@ config RT_USING_LED
default y
help
led blink demo
bsp/at91sam9260/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -18,6 +18,12 @@ config PKGS_DIR
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
config SOC_AT91SAM926
bool
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
config RT_USING_DBGU
bool "Using RT_USING_DBGU"
default y
...
...
bsp/beaglebone/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -26,6 +26,12 @@ config ENV_DIR
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
config SOC_AM335X
bool
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
config RT_USING_UART1
bool "Using RT_USING_UART1"
default y
...
...
bsp/ck802/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -21,6 +21,12 @@ config PKGS_DIR
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
config SOC_CK802
bool
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
if RT_USING_SERIAL
config RT_USING_UART1
...
...
bsp/dm365/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -18,6 +18,12 @@ config PKGS_DIR
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
config SOC_DM365
bool
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
comment "BSP configure"
config RT_USING_GPIO_DEVICE
...
...
bsp/es32f0334/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -20,6 +20,8 @@ source "$PKGS_DIR/Kconfig"
config SOC_ES32F0334LT
bool
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
source "drivers/Kconfig"
bsp/es32f0654/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -20,6 +20,8 @@ source "$PKGS_DIR/Kconfig"
config SOC_ES32F0654LT
bool
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
source "drivers/Kconfig"
bsp/gd32303e-eval/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -18,6 +18,12 @@ config PKGS_DIR
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
config SOC_GD32303E
bool
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
config RT_USING_USART0
bool "Using USART0"
select RT_USING_SERIAL
...
...
bsp/gd32450z-eval/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -21,6 +21,12 @@ config PKGS_DIR
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
config SOC_GD32450Z
bool
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
config BSP_USING_SDRAM
bool "Using sdram"
default y
...
...
bsp/gd32e230k-start/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -18,6 +18,12 @@ config PKGS_DIR
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
config SOC_GD32E230K
bool
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
config RT_USING_USART0
bool "Using USART0"
select RT_USING_SERIAL
...
...
bsp/gd32vf103v-eval/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -18,3 +18,9 @@ config PKGS_DIR
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
source "board/Kconfig"
config SOC_GD32VF103
bool
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
bsp/gkipc/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -18,6 +18,11 @@ config PKGS_DIR
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
config SOC_GK710
bool
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
choice
prompt "Device type"
...
...
bsp/hifive1/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -17,3 +17,9 @@ config PKGS_DIR
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
config SOC_FE310
bool
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
bsp/imx6sx/cortex-a9/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -26,6 +26,12 @@ config ENV_DIR
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
config SOC_MCIMX6X4
bool
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
config RT_USING_UART1
bool "Using RT_USING_UART1"
default y
...
...
bsp/imx6ul/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -24,3 +24,9 @@ source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
source "$BSP_DIR/drivers/Kconfig"
config SOC_MCIMX6X4
bool
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
bsp/imxrt/imxrt1052-atk-commander/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_IMXRT1052CVL5B
bool
select SOC_MIMXRT1050_SERIES
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "On-chip Peripheral Drivers"
...
...
bsp/imxrt/imxrt1052-fire-pro/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_IMXRT1052CVL5B
bool
select SOC_MIMXRT1050_SERIES
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "On-chip Peripheral Drivers"
...
...
bsp/imxrt/imxrt1052-nxp-evk/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -8,6 +8,8 @@ config SOC_MIMXRT1052DVL6B
bool
select SOC_MIMXRT1050_SERIES
select BSP_USING_HYPERFLASH
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "On-chip Peripheral Drivers"
...
...
bsp/imxrt/imxrt1064-nxp-evk/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -13,6 +13,8 @@ config SOC_MIMXRT1064DVL6A
bool
select SOC_MIMXRT1064_SERIES
select BSP_USING_4MFLASH
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "On-chip Peripheral Drivers"
...
...
bsp/k210/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -22,6 +22,8 @@ config BOARD_K210_EVB
bool
select ARCH_RISCV64
select PKG_USING_KENDRYTE_SDK
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
source "driver/Kconfig"
...
...
bsp/lpc1114/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -24,6 +24,8 @@ source "$PKGS_DIR/Kconfig"
config SOC_LPC1114
bool
select ARCH_ARM_CORTEX_M0
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
#source "$BSP_DIR/drivers/Kconfig"
bsp/lpc408x/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -21,6 +21,8 @@ source "$PKGS_DIR/Kconfig"
config SOC_LPC4088
bool
select ARCH_ARM_CORTEX_M4
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
source "$BSP_DIR/drivers/Kconfig"
bsp/lpc54114-lite/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -21,6 +21,8 @@ source "$PKGS_DIR/Kconfig"
config SOC_LPC54114
bool
select ARCH_ARM_CORTEX_M4
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
...
...
bsp/lpc54608-LPCXpresso/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -24,6 +24,8 @@ source "$PKGS_DIR/Kconfig"
config SOC_LPC54608
bool
select ARCH_ARM_CORTEX_M4
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
source "$BSP_DIR/drivers/Kconfig"
...
...
bsp/ls1cdev/Kconfig
浏览文件 @
6db1bd45
mainmenu "RT-Thread Configuration"
config BSP_DIR
string
option env="BSP_ROOT"
...
...
@@ -19,6 +18,12 @@ config PKGS_DIR
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
config SOC_1C300
bool
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
config RT_USING_SELF_BOOT
bool "Enable RT-Thread run without bootloader"
default n
...
...
bsp/mm32l07x/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -18,3 +18,9 @@ config PKGS_DIR
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
source "drivers/Kconfig"
config SOC_MM32L073
bool
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
bsp/mm32l3xx/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -18,3 +18,9 @@ config PKGS_DIR
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
source "drivers/Kconfig"
config SOC_MM32L373
bool
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
bsp/nrf52832/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -18,3 +18,9 @@ config PKGS_DIR
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
config SOC_NRF52832
bool
select RT_USING_COMPONENTS_INIT
# select RT_USING_USER_MAIN
default y
bsp/nuvoton_m05x/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -18,8 +18,13 @@ config PKGS_DIR
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
config SOC_M051
bool
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
config RT_USING_UART0
bool "Using Uart0"
select RT_USING_SERIAL
default y
\ No newline at end of file
default y
bsp/nuvoton_m487/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -23,3 +23,8 @@ source "$PKGS_DIR/Kconfig"
source "$BSP_DIR/driver/Kconfig"
config SOC_M487
bool
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
bsp/qemu-vexpress-a9/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -21,6 +21,8 @@ source "$PKGS_DIR/Kconfig"
config SOC_VEXPRESS_A9
bool
select ARCH_ARM_CORTEX_A9
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
source "$BSP_DIR/drivers/Kconfig"
bsp/qemu-vexpress-gemini/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -21,6 +21,8 @@ source "$PKGS_DIR/Kconfig"
config SOC_VEXPRESS_GEMINI
bool
select ARCH_ARM_CORTEX_A9
select RT_USING_COMPONENTS_INIT
# select RT_USING_USER_MAIN
default y
source "$BSP_DIR/drivers/Kconfig"
bsp/raspi2/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -21,6 +21,8 @@ source "$PKGS_DIR/Kconfig"
config BCM2836_SOC
bool
select ARCH_ARM_CORTEX_A7
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
source "driver/Kconfig"
bsp/rv32m1_vega/ri5cy/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -25,6 +25,8 @@ config SOC_VEGA_RI5CY
config BOARD_X_FRDM_VEGA
bool
select SOC_VEGA_RI5CY
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
source "driver/Kconfig"
bsp/stm32/libraries/templates/stm32f0xx/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F091RC
bool
select SOC_SERIES_STM32F0
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/libraries/templates/stm32f10x/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F103RB
bool
select SOC_SERIES_STM32F1
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/libraries/templates/stm32f2xx/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F207VE
bool
select SOC_SERIES_STM32F2
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/libraries/templates/stm32f4xx/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F407ZG
bool
select SOC_SERIES_STM32F4
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/libraries/templates/stm32f7xx/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F767IG
bool
select SOC_SERIES_STM32F7
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/libraries/templates/stm32h7xx/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32H743II
bool
select SOC_SERIES_STM32H7
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/libraries/templates/stm32l4xx/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32L475VE
bool
select SOC_SERIES_STM32L4
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/libraries/templates/stm32xx_board_Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32L475VE
bool
select SOC_SERIES_STM32L4
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32f072-st-nucleo/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F072RB
bool
select SOC_SERIES_STM32F0
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32f091-st-nucleo/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F091RC
bool
select SOC_SERIES_STM32F0
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32f103-atk-nano/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F103RB
bool
select SOC_SERIES_STM32F1
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32f103-atk-warshipv3/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F103ZE
bool
select SOC_SERIES_STM32F1
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32f103-dofly-M3S/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F103ZE
bool
select SOC_SERIES_STM32F1
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32f103-dofly-lyc8/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F103C8
bool
select SOC_SERIES_STM32F1
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32f103-fire-arbitrary/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F103ZE
bool
select SOC_SERIES_STM32F1
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32f103-gizwits-gokitv21/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F103C8
bool
select SOC_SERIES_STM32F1
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32f103-hw100k-ibox/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F103ZE
bool
select SOC_SERIES_STM32F1
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32f103-mini-system/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F103C8
bool
select SOC_SERIES_STM32F1
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32f103-yf-ufun/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F103RC
bool
select SOC_SERIES_STM32F1
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32f107-uc-eval/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F107VC
bool
select SOC_SERIES_STM32F1
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32f401-st-nucleo/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F401RE
bool
select SOC_SERIES_STM32F4
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32f405-smdz-breadfruit/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F405RG
bool
select SOC_SERIES_STM32F4
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32f407-atk-explorer/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F407ZG
bool
select SOC_SERIES_STM32F4
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32f407-st-discovery/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F407VG
bool
select SOC_SERIES_STM32F4
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32f411-st-nucleo/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F411RE
bool
select SOC_SERIES_STM32F4
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32f429-armfly-v6/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F429BI
bool
select SOC_SERIES_STM32F4
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32f429-atk-apollo/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F429IG
bool
select SOC_SERIES_STM32F4
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32f429-fire-challenger/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F429IG
bool
select SOC_SERIES_STM32F4
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32f446-st-nucleo/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F446ZE
bool
select SOC_SERIES_STM32F4
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32f469-st-disco/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F469NI
bool
select SOC_SERIES_STM32F4
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32f746-st-disco/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F746NG
bool
select SOC_SERIES_STM32F7
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32f767-atk-apollo/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F767IG
bool
select SOC_SERIES_STM32F7
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32f767-fire-challenger/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F767IG
bool
select SOC_SERIES_STM32F7
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32f767-st-nucleo/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F767ZI
bool
select SOC_SERIES_STM32F7
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32g071-st-nucleo/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32G071RB
bool
select SOC_SERIES_STM32G0
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32h743-atk-apollo/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32H743II
bool
select SOC_SERIES_STM32H7
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32l053-st-nucleo/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32L053R8
bool
select SOC_SERIES_STM32L0
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32l432-st-nucleo/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32L432KC
bool
select SOC_SERIES_STM32L4
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32l452-st-nucleo/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32L452RE
bool
select SOC_SERIES_STM32L4
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32l475-atk-pandora/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32L475VE
bool
select SOC_SERIES_STM32L4
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32l475-st-discovery/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32L475VG
bool
select SOC_SERIES_STM32L4
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32l476-st-nucleo/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32L476RG
bool
select SOC_SERIES_STM32L4
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32l496-ali-developer/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32L496VG
bool
select SOC_SERIES_STM32L4
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32/stm32l4r9-st-eval/board/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32L4R9AI
bool
select SOC_SERIES_STM32L4
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
...
...
bsp/stm32f20x/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -24,3 +24,9 @@ config SOC_STM32F2
default y
source "$BSP_DIR/Drivers/Kconfig"
config SOC_STM32F20X
bool
# select RT_USING_COMPONENTS_INIT
# select RT_USING_USER_MAIN
default y
bsp/stm32f429-disco/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -23,3 +23,8 @@ source "$PKGS_DIR/Kconfig"
source "$BSP_DIR/drivers/Kconfig"
config SOC_STM32F429
bool
select RT_USING_COMPONENTS_INIT
# select RT_USING_USER_MAIN
default y
bsp/stm32h743-nucleo/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -18,6 +18,12 @@ config PKGS_DIR
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
config SOC_STM32H743
bool
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
config RT_USING_UART1
bool "Using uart1"
select RT_USING_SERIAL
...
...
bsp/swm320-lq100/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -20,6 +20,8 @@ source "$PKGS_DIR/Kconfig"
config SOC_SWM320VET7
bool
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
source "drivers/Kconfig"
bsp/synopsys/emsk_em9d/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -8,7 +8,7 @@ config BSP_DIR
config RTT_DIR
string
option env="RTT_ROOT"
default "../.."
default "../..
/..
"
config PKGS_DIR
string
...
...
@@ -21,6 +21,8 @@ source "$PKGS_DIR/Kconfig"
config SOC_EMSK
bool
select ARCH_ARC_EM
select RT_USING_COMPONENTS_INIT
# select RT_USING_USER_MAIN
default y
source "$BSP_DIR/drivers/Kconfig"
bsp/tm4c129x/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -18,6 +18,12 @@ config PKGS_DIR
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
config SOC_TM4C129
bool
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
config RT_USING_UART0
bool "Using RT_USING_UART0"
default y
...
...
bsp/tms320f28379d/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -21,6 +21,8 @@ config PKGS_DIR
config SOC_TMS320F28X
bool
select ARCH_TIDSP_C28X
select RT_USING_COMPONENTS_INIT
# select RT_USING_USER_MAIN
default y
source "$RTT_DIR/Kconfig"
...
...
bsp/w60x/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -27,3 +27,9 @@ source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
source "$ENV_DIR/tools/scripts/cmds/Kconfig"
source "$BSP_DIR/drivers/Kconfig"
config SOC_W60X
bool
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
bsp/x1000/Kconfig
浏览文件 @
6db1bd45
...
...
@@ -24,6 +24,8 @@ source "$PKGS_DIR/Kconfig"
config BOARD_X1000_REALBOARD
bool
select ARCH_MIPS_XBURST
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
config RT_USING_HARD_FLOAT
...
...
components/Kconfig
浏览文件 @
6db1bd45
menu "RT-Thread Components"
config RT_USING_COMPONENTS_INIT
bool "Use components automatically initialization"
default y
if RT_USING_COMPONENTS_INIT
config RT_USING_USER_MAIN
bool "The main() function as user entry function"
default y
bool
default n
config RT_USING_USER_MAIN
bool
default n
if RT_USING_USER_MAIN
config RT_MAIN_THREAD_STACK_SIZE
int "Set main thread stack size"
...
...
@@ -19,7 +18,6 @@ if RT_USING_COMPONENTS_INIT
default 10 if RT_THREAD_PRIORITY_32
default 85 if RT_THREAD_PRIORITY_256
endif
endif
source "$RTT_DIR/components/cplusplus/Kconfig"
...
...
src/SConscript
浏览文件 @
6db1bd45
...
...
@@ -6,9 +6,6 @@ src = Glob('*.c')
CPPPATH
=
[
RTT_ROOT
+
'/include'
]
if
GetDepend
(
'RT_USING_COMPONENTS_INIT'
)
==
False
:
SrcRemove
(
src
,
[
'components.c'
])
if
GetDepend
(
'RT_USING_MODULE'
)
==
False
:
SrcRemove
(
src
,
[
'module.c'
])
...
...
src/components.c
浏览文件 @
6db1bd45
...
...
@@ -126,6 +126,7 @@ void rt_components_init(void)
}
#endif
}
#endif
/* RT_USING_COMPONENTS_INIT */
#ifdef RT_USING_USER_MAIN
...
...
@@ -173,10 +174,11 @@ void main_thread_entry(void *parameter)
{
extern
int
main
(
void
);
extern
int
$
Super
$$
main
(
void
);
#ifdef RT_USING_COMPONENTS_INIT
/* RT-Thread components initialization */
rt_components_init
();
#endif
#ifdef RT_USING_SMP
rt_hw_secondary_cpu_up
();
#endif
...
...
@@ -254,4 +256,3 @@ int rtthread_startup(void)
return
0
;
}
#endif
#endif
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录