panda/boardesp/get_sdk_mac.sh

33 lines
807 B
Bash
Raw Normal View History

2017-07-29 18:49:53 -06:00
#!/bin/bash
2017-07-29 19:16:08 -06:00
# from http://www.esp8266.com/wiki/doku.php?id=setup-osx-compiler-esp8266
2017-07-29 18:49:53 -06:00
brew install gnu-sed --with-default-names
brew tap homebrew/dupes
brew install gperf
brew install grep
brew install autoconf
brew install binutils
brew install gawk
brew install wget
brew install automake
brew install libtool
brew install help2man
2017-07-29 19:16:08 -06:00
brew uninstall gperf
hdiutil create esp-open-sdk.dmg -volname "esp-open-sdk" -size 10g -fs "Case-sensitive HFS+"
2017-07-29 18:49:53 -06:00
hdiutil mount esp-open-sdk.dmg
ln -s /Volumes/esp-open-sdk esp-open-sdk
cd esp-open-sdk
git init
git remote add origin https://github.com/pfalcon/esp-open-sdk.git
git fetch origin
git checkout 03f5e898a059451ec5f3de30e7feff30455f7cec
git submodule init
git submodule update --recursive
2019-09-27 01:06:32 -06:00
cp ../python2_make.py .
python2 python2_make.py 'make STANDALONE=y'