Last active
August 29, 2015 14:18
-
-
Save AutomationD/acc17595cea56e295db7 to your computer and use it in GitHub Desktop.
Install Sming
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Prerequisites: | |
# Xcode | |
# Homebrew: | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew tap homebrew/dupes | |
brew install binutils coreutils automake wget gawk libtool gettext gperf gnu-sed --with-default-names grep | |
export PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH" | |
sudo hdiutil create ~/Documents/case-sensitive.dmg -volname "case-sensitive" -size 10g -fs "Case-sensitive HFS+" | |
sudo hdiutil mount ~/Documents/case-sensitive.dmg | |
cd /Volumes/case-sensitive | |
git clone https://github.com/pfalcon/esp-open-sdk | |
cd esp-open-sdk | |
# Building sdk (it will take a while) | |
make STANDALONE=y | |
mv -r /Volumes/case-sensitive/esp-open-sdk /opt/esp-open-sdk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#DRAFT | |
# MacOS / Linux | |
cat << 'EOF' >> ~/.bash_profile | |
export SMING_HOME="/Users/dmitry/dev/Sming/Sming" | |
export ESP_HOME="/opt/esp-open-sdk" | |
EOF | |
source ~/.bash_profile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install Chocolatey first: | |
```powershell | |
# Powershell - run as Administrator | |
Set-ExecutionPolicy RemoteSigned -force | |
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1')) | |
``` | |
Add a repository | |
``` | |
choco sources add -name kireevco -source 'https://www.myget.org/F/kireevco-chocolatey/' | |
``` | |
Then install Sming | |
```powershell | |
# Powershell - run as Administrator | |
choco install sming -y | |
``` | |
It will install: | |
- Java Runtime 8 | |
- Eclipse C/C++ | |
- Unofficial Espressif Development Kit for Windows | |
- Sming | |
If for some reason you don't want Eclipse, UDK, mingw and Environment configured just run: | |
```cmd | |
choco install sming.core -y | |
``` | |
Optionally install Sming Examples: | |
```powershell | |
# Run as Administrator | |
choco install sming.examples -y | |
``` | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment