ESP8266 Support WIKI

User Tools

Site Tools


setup-osx-compiler-esp8266

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
setup-osx-compiler-esp8266 [2015/01/12 11:01]
poopi OSX compilation with MacPorts
setup-osx-compiler-esp8266 [2017/03/13 22:41] (current)
polarstate [Dependencies]
Line 7: Line 7:
   hdiutil create ~/​Desktop/​eos.dmg -volname "​esp-open-sdk"​ -size 10g -fs "​Case-sensitive HFS+"   hdiutil create ~/​Desktop/​eos.dmg -volname "​esp-open-sdk"​ -size 10g -fs "​Case-sensitive HFS+"
   hdiutil mount ~/​Desktop/​eos.dmg   hdiutil mount ~/​Desktop/​eos.dmg
-  cd /Volumes/eos-open-sdk+  cd /Volumes/esp-open-sdk
  
 ===== esp-open-sdk with Brew ===== ===== esp-open-sdk with Brew =====
Line 17: Line 17:
   brew install gperf   brew install gperf
   brew install grep   brew install grep
 +  brew install autoconf
 +  brew install binutils
 +  brew install gawk
 +  brew install wget
 +  brew install automake
 +  brew install libtool
 +  brew install help2man
 +
 +binutils is needed for gobjcopy
 +
 +gawk is required for overwriting the non-gnu awk in my case
 +  ​
 +If you get the error "​configure:​ error: could not find GNU awk", run
 +
 +  brew link --overwrite gawk
 +  ​
 +If you get the error "​./​zconf.hash.c:​167:​1:​ error: conflicting types for '​kconf_id_lookup'"​
 +
 +  brew uninstall gperf
   ​   ​
 +see: https://​github.com/​pfalcon/​esp-open-sdk/​issues/​236 for reference
 ===== esp-open-sdk with MacPorts ===== ===== esp-open-sdk with MacPorts =====
  
 ==== Dependencies ==== ==== Dependencies ====
  
-  sudo port install ​git gsed gawk binutils gperf grep gettext py-serial+  sudo port install gsed gawk binutils gperf grep gettext py-serial ​wget 
 +   
 +==== Get the compiler ==== 
 + 
 +  git clone https://​github.com/​pfalcon/​esp-open-sdk.git --recursive 
 + 
 +Note the --recursive option. This will force git to initialize modules.
   ​   ​
 ==== Patches ==== ==== Patches ====
Line 32: Line 58:
   sed -i.bak '​s/​AM_PROG_AS/​AM_PROG_AS\'​$'​\nAM_PROG_AR/'​ lx106-hal/​configure.ac   sed -i.bak '​s/​AM_PROG_AS/​AM_PROG_AS\'​$'​\nAM_PROG_AR/'​ lx106-hal/​configure.ac
   ​   ​
- 
- 
setup-osx-compiler-esp8266.1421060483.txt.gz · Last modified: 2015/01/12 11:01 (external edit)