ESP8266 Support WIKI

User Tools

Site Tools


**This is an old revision of the document!**

Table of Contents

Mac OSX Compiler Setups


esp-open-sdk can be installed almost as described in Linux Compiler Setups.

Some problems have been reported if you build the toolchain in a case-insensitive filesystem. To avoid these issues create a case-sensitive volume:

hdiutil create ~/Desktop/eos.dmg -volname "esp-open-sdk" -size 10g -fs "Case-sensitive HFS+"
hdiutil mount ~/Desktop/eos.dmg
cd /Volumes/eos-open-sdk

esp-open-sdk with Brew


brew install gnu-sed --with-default-names
brew tap homebrew/dupes
brew install gperf
brew install grep

esp-open-sdk with MacPorts


sudo port install git gsed gawk binutils gperf grep gettext py-serial


These needs to be applied before build.

sed -i.bak '1s/^/gettext=\'$'\n/' crosstool-NG/kconfig/Makefile
sed -i.bak -e 's/[[:<:]]sed[[:>:]]/gsed/' Makefile
sed -i.bak -e 's/[[:<:]]awk[[:>:]]/\$(AWK)/' lx106-hal/src/
sed -i.bak 's/AM_PROG_AS/AM_PROG_AS\'$'\nAM_PROG_AR/' lx106-hal/
setup-osx-compiler-esp8266.1421060483.txt.gz · Last modified: 2015/01/12 11:01 (external edit)