Building for esp32 on Mac OS question #7169
Replies: 1 comment
-
Posted at 2019-12-09 by AkosLukacs Try Posted at 2019-12-09 by n00b Thanks, that was what I did. It downloaded the idf and extensa stuff into folders, but running make command printed a couple of the ‘cannot execute binary file’ errors. The ESP32 page in Espruino mentioned getting build tools beforehand but Posted at 2019-12-09 by n00b Tried to use Vagrant and the vagrantfile in the repo folder. All pre-req scripts ran fine. But when I tried to do a make I get errors... :( : Is making your own build is a requirement to use SD card on ESP32? Bash output when I try to do a make from the VM (I'm totally clueless about non-web build systems):
Posted at 2019-12-09 by n00b Turned out I had a bad install of esp-idf so the includes weren’t resolving. After I fixed that, I managed to build and output the binaries for flashing. Posted at 2020-01-07 by MacChristmas How to build for esp32on Mac OS question, I want to setup esp32on on my mac Can I download or plugin on my macOS from the iTunes pc store? or any other way to install esp32on on macOS? because when I am trying to download anything from iTunes I had faced iTunes Error 4013 it only happens if anything downloads from iTunes on mac pc. Posted at 2020-01-07 by n00b @MacChristmas are you trying to install standard Espruino onto your esp32 board? Or are you trying to build your own custom Espruino to install onto your esp32 board? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2019-12-08 by n00b
I need to use SD card and disable FlashFS so I followed the instructions on https://www.espruino.com/ESP32. When I run make
make clean && BOARD=ESP32 make
, I hit error:espruino/Espruino/xtensa-esp32-elf/bin//xtensa-esp32-elf-gcc: cannot execute binary file
I suspect this is related to not having the build tools needed for Mac. If so what do I need in order to run make?
Beta Was this translation helpful? Give feedback.
All reactions