Page 1 of 2
Re: Steps to install Arduino ESP32 support on Windows
Posted: Wed Apr 04, 2018 3:22 pm
by don.vukovic
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
Re: Steps to install Arduino ESP32 support on Windows
Posted: Wed Apr 04, 2018 4:14 pm
by kolban
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?
Re: Steps to install Arduino ESP32 support on Windows
Posted: Wed Apr 04, 2018 6:20 pm
by don.vukovic
Re: Steps to install Arduino ESP32 support on Windows
Posted: Thu Apr 05, 2018 2:27 am
by ESP_Sprite
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.
Re: Steps to install Arduino ESP32 support on Windows
Posted: Thu Apr 05, 2018 4:59 am
by don.vukovic
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 ?
Re: Steps to install Arduino ESP32 support on Windows
Posted: Thu Apr 05, 2018 5:19 am
by chegewara
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
Re: Steps to install Arduino ESP32 support on Windows
Posted: Thu Apr 05, 2018 8:53 pm
by don.vukovic
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.
Re: Steps to install Arduino ESP32 support on Windows
Posted: Thu Apr 05, 2018 9:10 pm
by don.vukovic
@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 !!
Re: Steps to install Arduino ESP32 support on Windows
Posted: Fri Apr 06, 2018 11:57 am
by chegewara
I dont understand why you are using MINGW with arduino-ide, easier is to use cmd on windows.
Re: Steps to install Arduino ESP32 support on Windows
Posted: Fri Apr 06, 2018 1:48 pm
by don.vukovic