File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,19 @@ apps=$WD/../apps
24
24
tools=$WD /../tools
25
25
prebuilt=$WD /../prebuilt
26
26
27
- install=" gen-romfs gperf kconfig-frontends arm-gcc-toolchain mips-gcc-toolchain riscv-gcc-toolchain xtensa-esp32-gcc-toolchain c-cache"
27
+ install=" python-tools gen-romfs gperf kconfig-frontends arm-gcc-toolchain mips-gcc-toolchain riscv-gcc-toolchain xtensa-esp32-gcc-toolchain c-cache"
28
28
29
29
function add_path {
30
30
PATH=$1 :$PATH
31
31
}
32
32
33
+ function python-tools {
34
+ # Python User Env
35
+ PIP_USER=yes
36
+ PYTHONUSERBASE=$prebuilt /pylocal
37
+ add_path $PYTHONUSERBASE /bin
38
+ }
39
+
33
40
function gen-romfs {
34
41
add_path $prebuilt /genromfs/usr/bin
35
42
@@ -118,6 +125,7 @@ function xtensa-esp32-gcc-toolchain {
118
125
rm xtensa-esp32-elf-gcc8_2_0-esp32-2019r1-rc2-linux-amd64.tar
119
126
fi
120
127
xtensa-esp32-elf-gcc --version
128
+ pip install esptool
121
129
}
122
130
123
131
function c-cache {
You can’t perform that action at this time.
0 commit comments