mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-11-16 12:34:33 +00:00
scons --menuconfig will report: ``` warning: the choice symbol PKG_USING_ZLIB_LATEST_VERSION (defined at /home/u/.env/packages/packages/misc/zlib/Kconfig:31) is selected by the following symbols, but select/imply has no effect on choice symbols - BSP_ROOTFS_TYPE_CROMFS (defined at Kconfig:36) warning: default on the choice symbol BSP_USING_SDIO0 (defined at board/Kconfig:20) will have no effect, as defaults do not affect choice symbols warning: default on the choice symbol BSP_USING_SDIO1 (defined at board/Kconfig:34) will have no effect, as defaults do not affect choice symbols ``` Fix and remove these warnings. Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
41 lines
882 B
Plaintext
41 lines
882 B
Plaintext
mainmenu "RT-Thread Project Configuration"
|
|
|
|
BSP_DIR := .
|
|
|
|
RTT_DIR := ../../
|
|
|
|
PKGS_DIR := packages
|
|
|
|
source "$RTT_DIR/Kconfig"
|
|
source "$PKGS_DIR/Kconfig"
|
|
rsource "board/Kconfig"
|
|
|
|
config BOARD_fpgac908
|
|
bool
|
|
select ARCH_RISCV64
|
|
select RT_USING_COMPONENTS_INIT
|
|
select RT_USING_USER_MAIN
|
|
select RT_USING_CACHE
|
|
select ARCH_MM_MMU
|
|
select ARCH_RISCV_FPU_D
|
|
select ARCH_REMAP_KERNEL if RT_USING_SMART
|
|
default y
|
|
|
|
config __STACKSIZE__
|
|
int "stack size for interrupt"
|
|
default 4096
|
|
|
|
choice BSP_ROOTFS_TYPE
|
|
prompt "Root File-System type"
|
|
default BSP_ROOTFS_TYPE_ELMFAT
|
|
|
|
config BSP_ROOTFS_TYPE_ELMFAT
|
|
bool "Use Elm-chan FAT File-System"
|
|
select RT_USING_DFS_ELMFAT
|
|
|
|
config BSP_ROOTFS_TYPE_CROMFS
|
|
bool "Use Compressed ROM File-System (ReadOnly)"
|
|
select RT_USING_DFS_CROMFS
|
|
select PKG_USING_ZLIB
|
|
endchoice
|