Re: Steps to install Arduino ESP32 support on Windows
-
- Posts: 31
- Joined: Tue Mar 21, 2017 3:40 am
Re: Steps to install Arduino ESP32 support on Windows
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
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
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?
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
-
- Posts: 31
- Joined: Tue Mar 21, 2017 3:40 am
-
- Posts: 9724
- Joined: Thu Nov 26, 2015 4:08 am
Re: Steps to install Arduino ESP32 support on Windows
My guess is that you need to change directory (using the cd command) to the directory ARDUINO_SKETCHBOOK_DIR gives you first.don.vukovic wrote: open a Git Bash session pointing to ARDUINO_SKETCHBOOK_DIR and execute git submodule update --init --recursive
-
- Posts: 31
- Joined: Tue Mar 21, 2017 3:40 am
Re: Steps to install Arduino ESP32 support on Windows
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 ?
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
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
-
- Posts: 31
- Joined: Tue Mar 21, 2017 3:40 am
Re: Steps to install Arduino ESP32 support on Windows
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.
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.
-
- Posts: 31
- Joined: Tue Mar 21, 2017 3:40 am
Re: Steps to install Arduino ESP32 support on Windows
@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 !!
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
I dont understand why you are using MINGW with arduino-ide, easier is to use cmd on windows.
-
- Posts: 31
- Joined: Tue Mar 21, 2017 3:40 am
Who is online
Users browsing this forum: No registered users and 123 guests