How to add ESP32 in Arduino for Mac?

jamesliang
Posts: 3
Joined: Fri Oct 14, 2016 2:26 am

How to add ESP32 in Arduino for Mac?

Postby jamesliang » Fri Oct 14, 2016 10:27 am

I try follow github to add ESP32 on mac,but still not show in Arduino IDE (1.6.12) .
Please show me step by step.Thanks! :lol:

User avatar
ESP_Me-no-dev
Posts: 80
Joined: Mon Jan 04, 2016 6:30 pm

Re: How to add ESP32 in Arduino for Mac?

Postby ESP_Me-no-dev » Mon Oct 17, 2016 2:43 pm

first open Terminal.app
then:

Code: Select all

mkdir -p ~/Documents/Arduino/hardware/espressif
cd /Documents/Arduino/hardware/espressif
git clone https://github.com/espressif/arduino-esp32.git esp32
cd esp32/tools
python get.py
then open/restart Arduino IDE

jamesliang
Posts: 3
Joined: Fri Oct 14, 2016 2:26 am

Re: How to add ESP32 in Arduino for Mac?

Postby jamesliang » Fri Oct 21, 2016 5:30 am

ESP_Me-no-dev wrote:first open Terminal.app
then:

Code: Select all

mkdir -p ~/Documents/Arduino/hardware/espressif
cd /Documents/Arduino/hardware/espressif
git clone https://github.com/espressif/arduino-esp32.git esp32
cd esp32/tools
python get.py
then open/restart Arduino IDE
Thanks for your help!
I do it several times, but IDE still no show ESP32 options.
Any suggestion?
螢幕快照 2016-10-21 下午1.21.04.png
螢幕快照 2016-10-21 下午1.21.04.png (87.77 KiB) Viewed 18163 times

lakid74
Posts: 10
Joined: Mon Nov 16, 2015 8:53 pm

Re: How to add ESP32 in Arduino for Mac?

Postby lakid74 » Fri Oct 21, 2016 10:07 pm

It works for me...can you go into the directories you've created and type 'pwd' ?

jamesliang
Posts: 3
Joined: Fri Oct 14, 2016 2:26 am

Re: How to add ESP32 in Arduino for Mac?

Postby jamesliang » Wed Oct 26, 2016 1:49 am

Thanks a lot!
Finally it shows up.
It's my mistake to input all the code at once.
Should be run step by step. :lol:
螢幕快照 2016-10-26 上午9.42.29.png
螢幕快照 2016-10-26 上午9.42.29.png (19.03 KiB) Viewed 17992 times

ironsteam
Posts: 1
Joined: Mon Dec 12, 2016 2:10 am

Re: How to add ESP32 in Arduino for Mac?

Postby ironsteam » Mon Dec 12, 2016 2:14 am

Hi All!

I believe line 2 with the cd should be relative to the home directory.

Code: Select all

mkdir -p ~/Documents/Arduino/hardware/espressif
cd ~/Documents/Arduino/hardware/espressif
git clone https://github.com/espressif/arduino-esp32.git esp32
cd esp32/tools
python get.py

Cheers!

Alexandre_Ganso
Posts: 1
Joined: Sun Feb 05, 2017 12:39 pm

Re: How to add ESP32 in Arduino for Mac?

Postby Alexandre_Ganso » Sun Feb 05, 2017 2:31 pm

Ok, I found it. If you have a different sketch directory in your preferences, the script will obviously not work. So, you need to check where your sketch directory is.

Who is online

Users browsing this forum: Majestic-12 [Bot] and 143 guests