Command line tool to assist RT-Thread development

This project is modified from RT-Thread’s env script

The code has not been modified yet, so you will see a lot of unfinished code in the repository.

If you find a bug, please report it in the issue and I will actively fix it.

Mainly modified the following points:

  • Use python’s Kconfiglib and its menuconfig interface to replace the original kconfig-frontend.The purpose of this was originally to make the scripts under rt-thread/tools more refreshing, and to use python to expand more easily, or to combine with other tools.After using it, it will be found that it will respond faster than before.
  • The original env script, the function of menuconfig, and SCons are combined into one command line tool and packaged in the format of python wheel.The purpose of this is to install and use env in a consistent way on different platforms.

How to install

It has not been released to python’s PyPi yet, so it needs to be installed by the following command

    pip install env-0.1.0-py3-none-any.whl

How to use

First, you need to execute the following command to pull the package index of rt-thread to the local

    rtt pkgs init

After that, it can be used normally in a BSP directory.

For example, use menuconfig with the following command

    rtt menuconfig



View Github