File tree Expand file tree Collapse file tree 1 file changed +7
-23
lines changed Expand file tree Collapse file tree 1 file changed +7
-23
lines changed Original file line number Diff line number Diff line change @@ -13,32 +13,16 @@ $RTT_PYTHON --version 2 > /dev/null || {
1313 exit 1
1414}
1515
16- sudo apt update
17- sudo apt upgrade -y
18-
19- if ! [ -x " $( command -v gcc) " ]; then
20- echo " Installing gcc."
21- sudo apt install gcc
22- fi
23-
24- if ! [ -x " $( command -v git) " ]; then
25- echo " Installing git."
26- sudo apt install git
27- fi
28-
29- if [ $( dpkg-query -W -f=' ${Status}' libncurses5-dev 2> /dev/null | grep -c " ok installed" ) -eq 0 ]; then
30- echo " Installing ncurses."
31- sudo apt install libncurses5-dev
32- fi
33-
3416$RTT_PYTHON -m pip list > /dev/null || {
3517 echo " Installing pip."
36- sudo apt install $RTT_PYTHON -pip
18+ sudo apt install $RTT_PYTHON -pip -y
3719}
3820
39- if ! [ -x " $( command -v scons ) " ] ; then
40- echo " Installing scons. "
41- sudo apt install scons
42- fi
21+ sudo apt update
22+ sudo apt upgrade -y
23+
24+ sudo apt install gcc git libncurses5-dev scons gcc-arm-none-eabi gdb-arm-none-eabi binutils-arm-none-eabi qemu qemu-system-arm -y
4325
26+ wget https://raw.githubusercontent.com/RT-Thread/env/master/touch_env.sh -O touch_env.sh
27+ chmod 777 touch_env.sh
4428./touch_env.sh
You can’t perform that action at this time.
0 commit comments