Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
esp32
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bitsoko services
esp32
Commits
96d06944
Commit
96d06944
authored
Apr 03, 2017
by
Kiogora
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify script
parent
d0be9749
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
getESP32.sh
getESP32.sh
+7
-7
No files found.
getESP32.sh
View file @
96d06944
...
...
@@ -45,8 +45,8 @@ if [ -f *.tar.gz ] || [ -f *.tar.gz.* ]
then
echo
""
echo
"[
$0
]: Removing residual tar file(s)"
rm
*
.tar.gz
rm
*
.tar.gz.
*
rm
*
.tar.gz
2>/dev/null
rm
*
.tar.gz.
*
2>/dev/null
fi
## Get 64 bit linux binary toolchain -- this might get out of date when they change blobs:
...
...
@@ -61,12 +61,12 @@ then
echo
"[
$0
]: Check current version from http://esp-idf.readthedocs.io/en/latest/linux-setup.html"
rm
-rf
xtensa-esp32-elf
wget https://dl.espressif.com/dl/xtensa-esp32-elf-linux64-1.22.0-61-gab8375a-5.2.0.tar.gz
tar
xvzf xtensa-esp32-elf-linux64-1.22.0-61-gab8375a-5.2.0.tar.gz
&&
\
rm
*
.tar.gz
&&
rm
*
.tar.gz.
*
tar
-xvzf
xtensa-esp32-elf-linux64-1.22.0-61-gab8375a-5.2.0.tar.gz
# rm *.tar.gz 2>/dev/null && rm *.tar.gz.* 2>/dev/null
else
wget https://dl.espressif.com/dl/xtensa-esp32-elf-linux64-1.22.0-61-gab8375a-5.2.0.tar.gz
tar
xvzf xtensa-esp32-elf-linux64-1.22.0-61-gab8375a-5.2.0.tar.gz
&&
\
rm
xtensa-esp32-elf-linux64-1.22.0-61-gab8375a-5.2.0.tar.gz
tar
-xvzf
xtensa-esp32-elf-linux64-1.22.0-61-gab8375a-5.2.0.tar.gz
rm
*
.tar.gz 2>/dev/null
&&
rm
*
.tar.gz.
*
2>/dev/null
fi
## Get demo application
...
...
@@ -87,7 +87,7 @@ fi
## Also, you might copy these lines into a separate script to reset these variables as necessary.
echo
""
echo
"Setup environment variables"
echo
"
[
$0
]:
Setup environment variables"
echo
"[
$0
]: Exporting environment variables:"
export
IDF_PATH
=
${
BASE
}
/esp-idf
echo
"[
$0
]: export IDF_PATH=
${
BASE
}
/esp-idf"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment