mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
docs: Fix toolchain URL generation for macos
Didn't backport the new URL scheme when we updated the toolchain version. Have put a link on the server so in this case the "osx" toolchain URL remains valid. Closes https://github.com/espressif/esp-idf/issues/5720
This commit is contained in:
parent
22e3c00b48
commit
78003e9437
@ -47,11 +47,11 @@ Toolchain Setup
|
||||
|
||||
ESP32 toolchain for macOS is available for download from Espressif website:
|
||||
|
||||
|download_link_osx|
|
||||
|download_link_macos|
|
||||
|
||||
Download this file, then extract it in ``~/esp`` directory:
|
||||
|
||||
.. include:: /_build/inc/unpack-code-osx.inc
|
||||
.. include:: /_build/inc/unpack-code-macos.inc
|
||||
|
||||
.. _setup-macos-toolchain-add-it-to-path-cmake:
|
||||
|
||||
|
@ -21,11 +21,11 @@ Toolchain Setup
|
||||
|
||||
ESP32 toolchain for macOS is available for download from Espressif website:
|
||||
|
||||
|download_link_osx|
|
||||
|download_link_macos|
|
||||
|
||||
Download this file, then extract it in ``~/esp`` directory:
|
||||
|
||||
.. include:: /_build/inc/unpack-code-osx.inc
|
||||
.. include:: /_build/inc/unpack-code-macos.inc
|
||||
|
||||
.. _setup-macos-toolchain-add-it-to-path:
|
||||
|
||||
|
@ -51,7 +51,7 @@ def main():
|
||||
|
||||
platform_info = [["linux64", "tar.gz", "z", unpack_code_linux_macos],
|
||||
["linux32", "tar.gz", "z", unpack_code_linux_macos],
|
||||
["osx", "tar.gz", "z", unpack_code_linux_macos],
|
||||
["macos", "tar.gz", "z", unpack_code_linux_macos],
|
||||
["win32", "zip", None, None]]
|
||||
|
||||
with open(os.path.join(out_dir, 'download-links.inc'), "w") as links_file:
|
||||
|
@ -48,11 +48,11 @@ ESP-IDF 将使用 Mac OS 上默认安装的 Python 版本。
|
||||
|
||||
下载 MacOS 版本的 ESP32 工具链,请前往乐鑫官网:
|
||||
|
||||
|download_link_osx|
|
||||
|download_link_macos|
|
||||
|
||||
完成下载后,请在 ``~/esp`` 目录下进行解压:
|
||||
|
||||
.. include:: /_build/inc/unpack-code-osx.inc
|
||||
.. include:: /_build/inc/unpack-code-macos.inc
|
||||
|
||||
.. _setup-macos-toolchain-add-it-to-path-cmake:
|
||||
|
||||
@ -92,4 +92,4 @@ ESP-IDF 将使用 Mac OS 上默认安装的 Python 版本。
|
||||
.. _ninja: https://ninja-build.org/
|
||||
.. _ccache: https://ccache.samba.org/
|
||||
.. _homebrew: https://brew.sh/
|
||||
.. _MacPorts: https://www.macports.org/install.php
|
||||
.. _MacPorts: https://www.macports.org/install.php
|
||||
|
@ -23,11 +23,11 @@
|
||||
|
||||
Mac OS 版本的 ESP32 工具链可以从以下地址下载:
|
||||
|
||||
|download_link_osx|
|
||||
|download_link_macos|
|
||||
|
||||
下载压缩文件之后,解压到 ``~/esp`` 目录中:
|
||||
|
||||
.. include:: /_build/inc/unpack-code-osx.inc
|
||||
.. include:: /_build/inc/unpack-code-macos.inc
|
||||
|
||||
.. _setup-macos-toolchain-add-it-to-path:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user