Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions install_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ if ! [ -x "$(command -v tqdm)" ]; then
$RTT_PYTHON -m pip install tqdm
fi

if ! [ -x "$(command -v kconfiglib)" ]; then
echo "Installing kconfiglib."
$RTT_PYTHON -m pip install kconfiglib
fi

if ! [ -x "$(command -v pyocd)" ]; then
echo "Installing pyocd."
$RTT_PYTHON -m pip install -U pyocd
Expand Down
2 changes: 1 addition & 1 deletion install_suse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
sudo zypper update -y

sudo zypper install python3 python3-pip gcc git ncurses-devel cross-arm-none-gcc11-bootstrap cross-arm-binutils qemu qemu-arm qemu-extra -y
python3 -m pip install scons requests tqdm
python3 -m pip install scons requests tqdm kconfiglib
python3 -m pip install -U pyocd

url=https://raw.githubusercontent.com/RT-Thread/env/master/touch_env.sh
Expand Down
2 changes: 1 addition & 1 deletion install_ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sudo apt-get update
sudo apt-get upgrade -y

sudo apt-get -qq install python3 python3-pip gcc git libncurses5-dev gcc-arm-none-eabi binutils-arm-none-eabi gdb-multiarch qemu qemu-system-arm -y
python3 -m pip install scons requests tqdm
python3 -m pip install scons requests tqdm kconfiglib
python3 -m pip install -U pyocd

url=https://raw.githubusercontent.com/RT-Thread/env/master/touch_env.sh
Expand Down
9 changes: 9 additions & 0 deletions install_windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,15 @@ if (!$?) {
echo "tqdm module has installed. Jump this step."
}

cmd /c $RTT_PYTHON -m pip list -i $PIP_SOURCE --trusted-host $PIP_HOST | findstr "kconfiglib" | Out-Null
if (!$?) {
echo "Installing kconfiglib module."
cmd /c $RTT_PYTHON -m pip install kconfiglib -i $PIP_SOURCE --trusted-host $PIP_HOST
} else {
echo "kconfiglib module has installed. Jump this step."
}


cmd /c $RTT_PYTHON -m pip list -i $PIP_SOURCE --trusted-host $PIP_HOST | findstr "requests" | Out-Null
if (!$?) {
echo "Installing requests module."
Expand Down