mainmenu "RT-Thread Configuration" config $BSP_DIR string option env="BSP_ROOT" default "." config $RTT_DIR string option env="RTT_ROOT" default "E:/rt-thread" # you can change the RTT_ROOT default "../.." to your rtthread_root, # example : default "F:/git_repositories/rt-thread" config $PKGS_DIR string option env="PKGS_ROOT" default "packages" source "$RTT_DIR/KConfig" source "$PKGS_DIR/KConfig" source "$BSP_DIR/drivers/Kconfig"