You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/05/01 20:50:41 UTC
[incubator-nuttx-testing] 20/41: Configure python environment and
install esptool
This is an automated email from the ASF dual-hosted git repository.
gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-testing.git
commit 0b2171b63bbe4b555e1277e59bef7e58487f8dd5
Author: Brennan Ashton <ba...@brennanashton.com>
AuthorDate: Sat Mar 21 22:59:29 2020 -0700
Configure python environment and install esptool
Signed-off-by: Brennan Ashton <ba...@brennanashton.com>
---
cibuild.sh | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/cibuild.sh b/cibuild.sh
index 2c70b7c..1742405 100755
--- a/cibuild.sh
+++ b/cibuild.sh
@@ -24,12 +24,19 @@ apps=$WD/../apps
tools=$WD/../tools
prebuilt=$WD/../prebuilt
-install="gen-romfs gperf kconfig-frontends arm-gcc-toolchain mips-gcc-toolchain riscv-gcc-toolchain xtensa-esp32-gcc-toolchain c-cache"
+install="python-tools gen-romfs gperf kconfig-frontends arm-gcc-toolchain mips-gcc-toolchain riscv-gcc-toolchain xtensa-esp32-gcc-toolchain c-cache"
function add_path {
PATH=$1:$PATH
}
+function python-tools {
+ # Python User Env
+ PIP_USER=yes
+ PYTHONUSERBASE=$prebuilt/pylocal
+ add_path $PYTHONUSERBASE/bin
+}
+
function gen-romfs {
add_path $prebuilt/genromfs/usr/bin
@@ -118,6 +125,7 @@ function xtensa-esp32-gcc-toolchain {
rm xtensa-esp32-elf-gcc8_2_0-esp32-2019r1-rc2-linux-amd64.tar
fi
xtensa-esp32-elf-gcc --version
+ pip install esptool
}
function c-cache {