Re: Steps to install Arduino ESP32 support on Windows

don.vukovic
Posts: 31
Joined: Tue Mar 21, 2017 3:40 am

Re: Steps to install Arduino ESP32 support on Windows

Postby don.vukovic » Wed Apr 04, 2018 3:22 pm

I followed the instructions of this above web page, but have hit a problem I do not understand what to do next.

The line says:
open a Git Bash session pointing to ARDUINO_SKETCHBOOK_DIR and execute git submodule update --init --recursive

$ git submodule update --init --recursive
fatal: Not a git repository (or any of the parent directories): .git

I opened the Arduino IDE and checked the location of the : ARDUINO_SKETCHBOOK_DIR
Looks right to me.

How was the ARDUINO_SKETCHBOOK_DIR set to start with ?
Did I miss something in the instructions ?
What should I do now ?

Thanks

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: Steps to install Arduino ESP32 support on Windows

Postby kolban » Wed Apr 04, 2018 4:14 pm

Howdy,
I didn't see a link to the instructions you referenced in your post. Could post a link? Maybe then we will have context to understand the context of the command. The error message seems to tell me that the directory in which you are running git does not contain a git project. Perhaps you ran a git clone and then did not change into the newly created directory?
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32


ESP_Sprite
Posts: 9724
Joined: Thu Nov 26, 2015 4:08 am

Re: Steps to install Arduino ESP32 support on Windows

Postby ESP_Sprite » Thu Apr 05, 2018 2:27 am

don.vukovic wrote: open a Git Bash session pointing to ARDUINO_SKETCHBOOK_DIR and execute git submodule update --init --recursive
My guess is that you need to change directory (using the cd command) to the directory ARDUINO_SKETCHBOOK_DIR gives you first.

don.vukovic
Posts: 31
Joined: Tue Mar 21, 2017 3:40 am

Re: Steps to install Arduino ESP32 support on Windows

Postby don.vukovic » Thu Apr 05, 2018 4:59 am

What command do I use to get BASH to tell me what ARDUINO_SKETCHBOOK_DIR is defined as ?

What command do I use to find what ARDUINO_SKETCHBOOK_DIR is defined as ?

How do I get BASH to tell me what ARDUINO_SKETCHBOOK_DIR looks like to it (BASH) ?

Is there a BASH command to tell me what it thinks ARDUINO_SKETCHBOOK_DIR is defined as ?

chegewara
Posts: 2364
Joined: Wed Jun 14, 2017 9:00 pm

Re: Steps to install Arduino ESP32 support on Windows

Postby chegewara » Thu Apr 05, 2018 5:19 am

If you have arduino-ide installed with standard settings then this is folder you are looking for:

Code: Select all

C:\Users\USER_NAME\Documents\Arduino\hardware\espressif\esp32

don.vukovic
Posts: 31
Joined: Tue Mar 21, 2017 3:40 am

Re: Steps to install Arduino ESP32 support on Windows

Postby don.vukovic » Thu Apr 05, 2018 8:53 pm

OK,
I do have the Arduino IDE installed.

In Arduino Preferences -> Sketchbook location is: C:\Users\Donald\Documents\Arduino

The directory you shown: C:\Users\USER_NAME\Documents\Arduino\hardware\espressif\esp32

So if I understand, the esp32 sketchbook location is in the \hardware\espressif\esp32 directory
and not in the Arduino sketchbook location.

OK, I'll try it.

don.vukovic
Posts: 31
Joined: Tue Mar 21, 2017 3:40 am

Re: Steps to install Arduino ESP32 support on Windows

Postby don.vukovic » Thu Apr 05, 2018 9:10 pm

@chegewara

This did not return anything on the Bash screen, but there are now a library directory in the:
C:\Users\USER_NAME\Documents\Arduino\hardware\espressif\esp32 path.

Thank You

Don

PS: I also noticed in the Bash window, the word (master):
Donald@Donald-PC MINGW64 ~/Documents/Arduino/hardware/espressif/esp32 (master)
$ git submodule update --init --recursive

Donald@Donald-PC MINGW64 ~/Documents/Arduino/hardware/espressif/esp32 (master)
$


Learn something new everyday !!

chegewara
Posts: 2364
Joined: Wed Jun 14, 2017 9:00 pm

Re: Steps to install Arduino ESP32 support on Windows

Postby chegewara » Fri Apr 06, 2018 11:57 am

I dont understand why you are using MINGW with arduino-ide, easier is to use cmd on windows.

don.vukovic
Posts: 31
Joined: Tue Mar 21, 2017 3:40 am

Re: Steps to install Arduino ESP32 support on Windows

Postby don.vukovic » Fri Apr 06, 2018 1:48 pm


Who is online

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