panda/boardesp/get_sdk_mac.sh

29 lines
681 B
Bash
Executable File

#!/bin/bash
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
hdiutil create esp-open-sdk.dmg -volname "esp-open-sdk" -size 1g -fs "Case-sensitive HFS+"
hdiutil mount esp-open-sdk.dmg
ln -s /Volumes/esp-open-sdk esp-open-sdk
mkdir -p 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
make STANDALONE=y