|
@@ -13,11 +13,11 @@ The user profile scripts are contained in ``C:/msys32/etc/profile.d/`` directory
|
|
|
|
|
|
|
|
#. Create a new script file in ``C:/msys32/etc/profile.d/`` directory. Name it ``export_idf_path.sh``.
|
|
#. Create a new script file in ``C:/msys32/etc/profile.d/`` directory. Name it ``export_idf_path.sh``.
|
|
|
|
|
|
|
|
-#. Identify the path to ESP-IDF directory. It is specific to your system configuration and may look something like ``C:\msys32\home\Krzysztof\esp\esp-idf``
|
|
|
|
|
|
|
+#. Identify the path to ESP-IDF directory. It is specific to your system configuration and may look something like ``C:\msys32\home\user-name\esp\esp-idf``
|
|
|
|
|
|
|
|
#. Add the ``export`` command to the script file, e.g.::
|
|
#. Add the ``export`` command to the script file, e.g.::
|
|
|
|
|
|
|
|
- export IDF_PATH="C:/msys32/home/Krzysztof/esp/esp-idf"
|
|
|
|
|
|
|
+ export IDF_PATH="C:/msys32/home/user-name/esp/esp-idf"
|
|
|
|
|
|
|
|
Remember to replace back-slashes with forward-slashes in the original Windows path.
|
|
Remember to replace back-slashes with forward-slashes in the original Windows path.
|
|
|
|
|
|
|
@@ -31,7 +31,7 @@ The user profile scripts are contained in ``C:/msys32/etc/profile.d/`` directory
|
|
|
|
|
|
|
|
If you do not like to have ``IDF_PATH`` set up permanently in user profile, you should enter it manually on opening of an MSYS2 window::
|
|
If you do not like to have ``IDF_PATH`` set up permanently in user profile, you should enter it manually on opening of an MSYS2 window::
|
|
|
|
|
|
|
|
- export IDF_PATH="C:/msys32/home/Krzysztof/esp/esp-idf"
|
|
|
|
|
|
|
+ export IDF_PATH="C:/msys32/home/user-name/esp/esp-idf"
|
|
|
|
|
|
|
|
If you got here from section :ref:`get-started-setup-path`, while installing s/w for ESP32 development, then go back to section :ref:`get-started-start-project`.
|
|
If you got here from section :ref:`get-started-setup-path`, while installing s/w for ESP32 development, then go back to section :ref:`get-started-start-project`.
|
|
|
|
|
|
|
@@ -41,19 +41,24 @@ If you got here from section :ref:`get-started-setup-path`, while installing s/w
|
|
|
Linux and MacOS
|
|
Linux and MacOS
|
|
|
---------------
|
|
---------------
|
|
|
|
|
|
|
|
-Set up ``IDF_PATH`` by adding the following line to ``~/.bash`` file: ::
|
|
|
|
|
|
|
+Set up ``IDF_PATH`` by adding the following line to ``~/.profile`` file::
|
|
|
|
|
|
|
|
export IDF_PATH=~/esp/esp-idf
|
|
export IDF_PATH=~/esp/esp-idf
|
|
|
|
|
|
|
|
Log off and log in back to make this change effective.
|
|
Log off and log in back to make this change effective.
|
|
|
|
|
|
|
|
-If you do not like to have ``IDF_PATH`` set up permanently, you should enter it manually in terminal window on each restart or logout.
|
|
|
|
|
|
|
+.. note::
|
|
|
|
|
+
|
|
|
|
|
+ If you have ``/bin/bash`` set as login shell, and both ``.bash_profile`` and ``.profile`` exist, then update ``.bash_profile`` instead.
|
|
|
|
|
|
|
|
Run the following command to check if ``IDF_PATH`` is set::
|
|
Run the following command to check if ``IDF_PATH`` is set::
|
|
|
|
|
|
|
|
printenv IDF_PATH
|
|
printenv IDF_PATH
|
|
|
|
|
|
|
|
-The path previously entered in ``~/.bash`` file (or set manually) should be printed out.
|
|
|
|
|
|
|
+The path previously entered in ``~/.profile`` file (or set manually) should be printed out.
|
|
|
|
|
+
|
|
|
|
|
+If you do not like to have ``IDF_PATH`` set up permanently, you should enter it manually in terminal window on each restart or logout::
|
|
|
|
|
|
|
|
|
|
+ export IDF_PATH=~/esp/esp-idf
|
|
|
|
|
|
|
|
If you got here from section :ref:`get-started-setup-path`, while installing s/w for ESP32 development, then go back to section :ref:`get-started-start-project`.
|
|
If you got here from section :ref:`get-started-setup-path`, while installing s/w for ESP32 development, then go back to section :ref:`get-started-start-project`.
|