Skip to content

Commit 0794bdd

Browse files
sylvioalvescfriedt
authored andcommitted
docs: esp32: update environment setup content
Add toolchain path updates into documentation. Signed-off-by: Sylvio Alves <[email protected]>
1 parent e47eeec commit 0794bdd

File tree

3 files changed

+9
-16
lines changed

3 files changed

+9
-16
lines changed

boards/riscv/esp32c3_devkitm/doc/index.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,21 +51,19 @@ On Linux and macOS:
5151
.. code-block:: console
5252
5353
export ZEPHYR_TOOLCHAIN_VARIANT="espressif"
54-
export ESPRESSIF_TOOLCHAIN_PATH="${HOME}/.espressif/tools/riscv32-esp-elf/1.24.0.123_64eb9ff-8.4.0/riscv32-esp-elf"
54+
export ESPRESSIF_TOOLCHAIN_PATH="${HOME}/.espressif/tools/zephyr"
5555
5656
On Windows:
5757

5858
.. code-block:: console
5959
6060
# on CMD:
61-
set ESPRESSIF_TOOLCHAIN_PATH=%USERPROFILE%\.espressif\tools\riscv32-esp-elf\1.24.0.123_64eb9ff-8.4.0\riscv32-esp-elf
61+
set ESPRESSIF_TOOLCHAIN_PATH=%USERPROFILE%\.espressif\tools\zephyr
6262
set ZEPHYR_TOOLCHAIN_VARIANT=espressif
63-
set PATH=%PATH%;%ESPRESSIF_TOOLCHAIN_PATH%\bin
6463
6564
# on PowerShell
66-
$env:ESPRESSIF_TOOLCHAIN_PATH="$env:USERPROFILE\.espressif\tools\riscv32-esp-elf\1.24.0.123_64eb9ff-8.4.0\riscv32-esp-elf"
65+
$env:ESPRESSIF_TOOLCHAIN_PATH="$env:USERPROFILE\.espressif\tools\zephyr"
6766
$env:ZEPHYR_TOOLCHAIN_VARIANT="espressif"
68-
$env:Path += "$env:ESPRESSIF_TOOLCHAIN_PATH\bin"
6967
7068
Finally, retrieve required submodules to build this port. This might take a while for the first time:
7169

boards/xtensa/esp32/doc/index.rst

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ ESP32
66
Overview
77
********
88

9-
109
ESP32 is a series of low cost, low power system on a chip microcontrollers
1110
with integrated Wi-Fi & dual-mode Bluetooth. The ESP32 series employs a
1211
Tensilica Xtensa LX6 microprocessor in both dual-core and single-core
@@ -83,21 +82,19 @@ On Linux and macOS:
8382
.. code-block:: console
8483
8584
export ZEPHYR_TOOLCHAIN_VARIANT="espressif"
86-
export ESPRESSIF_TOOLCHAIN_PATH="${HOME}/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf"
85+
export ESPRESSIF_TOOLCHAIN_PATH="${HOME}/.espressif/tools/zephyr"
8786
8887
On Windows:
8988

9089
.. code-block:: console
9190
9291
# on CMD:
93-
set ESPRESSIF_TOOLCHAIN_PATH=%USERPROFILE%\.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf
92+
set ESPRESSIF_TOOLCHAIN_PATH=%USERPROFILE%\.espressif\tools\zephyr
9493
set ZEPHYR_TOOLCHAIN_VARIANT=espressif
95-
set PATH=%PATH%;%ESPRESSIF_TOOLCHAIN_PATH%\bin
9694
9795
# on PowerShell
98-
$env:ESPRESSIF_TOOLCHAIN_PATH="$env:USERPROFILE\.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf"
96+
$env:ESPRESSIF_TOOLCHAIN_PATH="$env:USERPROFILE\.espressif\tools\zephyr"
9997
$env:ZEPHYR_TOOLCHAIN_VARIANT="espressif"
100-
$env:Path += "$env:ESPRESSIF_TOOLCHAIN_PATH\bin"
10198
10299
Finally, retrieve required submodules to build this port. This might take a while for the first time:
103100

boards/xtensa/esp32s2_saola/doc/index.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,21 +48,19 @@ On Linux and macOS:
4848
.. code-block:: console
4949
5050
export ZEPHYR_TOOLCHAIN_VARIANT="espressif"
51-
export ESPRESSIF_TOOLCHAIN_PATH="${HOME}/.espressif/tools/xtensa-esp32s2-elf/esp-2020r3-8.4.0/xtensa-esp32s2-elf"
51+
export ESPRESSIF_TOOLCHAIN_PATH="${HOME}/.espressif/tools/zephyr"
5252
5353
On Windows:
5454

5555
.. code-block:: console
5656
5757
# on CMD:
58-
set ESPRESSIF_TOOLCHAIN_PATH=%USERPROFILE%\.espressif\tools\xtensa-esp32s2-elf\esp-2020r3-8.4.0\xtensa-esp32s2-elf
58+
set ESPRESSIF_TOOLCHAIN_PATH=%USERPROFILE%\.espressif\tools\zephyr
5959
set ZEPHYR_TOOLCHAIN_VARIANT=espressif
60-
set PATH=%PATH%;%ESPRESSIF_TOOLCHAIN_PATH%\bin
6160
6261
# on PowerShell
63-
$env:ESPRESSIF_TOOLCHAIN_PATH="$env:USERPROFILE\.espressif\tools\xtensa-esp32s2-elf\esp-2020r3-8.4.0\xtensa-esp32s2-elf"
62+
$env:ESPRESSIF_TOOLCHAIN_PATH="$env:USERPROFILE\.espressif\tools\zephyr"
6463
$env:ZEPHYR_TOOLCHAIN_VARIANT="espressif"
65-
$env:Path += "$env:ESPRESSIF_TOOLCHAIN_PATH\bin"
6664
6765
Finally, retrieve required submodules to build this port. This might take a while for the first time:
6866

0 commit comments

Comments
 (0)