ENV-Windows v2.0.0 New Release!

RT-Thread IoT OS
3 min readJun 26, 2024

--

ENV-Windows 2.0 Version is officially released!

Update log: https://github.com/RT-Thread/env-windows/releases/tag/v2.0.0

Important Notice

If you’re working on the RT-Thread master branch on Windows, be sure to update to the latest version. Otherwise, tools like menuconfig and scons won’t work properly.

Below is a list of updates to this version and some notes on how to use it:

Major updates

  1. Menuconfig fully adopts kconfiglib, upgrades env scripts and python version
  • Upgrade tools/script to latest version rtt env
  • Upgrade python from 2.7 to 3.11 and delete python27 folder.
  • Delete the old version of menuconfig.exe and pkgs.exe from tools/bin.
  • Install env, scons, kconfiglib and other packages in the network when you start env.bat for the first time.
  • Modify tools/bin/env-init.bat to create or activate python venv on startup.

How to use the new version

Tip 1 (requires networked environment):

● Download and unzip env-windows-v2.0.0.7z to any directory of the system, double-click env.exe to enter the env environment, and initialize the environment for the first time.

Note:

When using env-windows-v2.0.0.7z for the first time, ensure you are connected to the internet to install the necessary pip dependencies. Please wait for the installation to complete. If the installation fails, manually delete the .Venv directory located in the env-windows directory, and then reopen env.exe to reinstall the dependencies.

● The environment will be initialized as shown below for the first time:

Tip 2 (offline environment):

● Download and unzip env-windows-v2.0.0-venv.7z to the root directory of C drive (the directory structure is: C:\env-windows), double-click env.exe to enter the env environment, and initialize the environment for the first time.

Note:

Must be extracted to the root directory of C disk, the structure is: C:\env-windows\env.exe…

● Env-windows-v2.0.0-venv.7z The decompression diagram is shown below:
extract to the current location.

● env unpacked directory structure

Register ENV-Windows to the environment variable

To avoid the inconvenience of navigating to the installation path to start env.exe each time, you should register env.exe in the system environment variables. This will make it easier to access for development.

● Please register env to the system environment variable as shown below:

● This enables us to open env with a right click in any directory on the system

--

--

RT-Thread IoT OS

An Open-Source Community-Powered Real-Time Operating System (RTOS) Project! Let’s develop, DIY, create, share, and explore this new IoT World together!