在Arduino IDE中更新esp32-3.2.0版本是個不可能的任務,下載文件速度極慢。網上提供了離線的辦法,提供了安裝文件,但是沒有3.2.0的版本。
下面提供了一種離線安裝方法
一、騰訊元寶查詢解決辦法
通過打開開發板管理地址:通過在騰訊元寶中輸入:
https://arduino.me/packages/esp32.json,更新esp32 3.2.0版本需要下載哪些文件?
獲取如下信息:
根據提供的JSON數據,要更新到ESP32 Arduino Core 3.2.0版本,需要下載以下文件:
1. 主平臺文件: 文件名:esp32-3.2.0.zip URL:https://dl.espressif.cn/github_assets/espressif/arduino-esp32/releases/download/3.2.0/esp32-3.2.0.zip
SHA-256校驗和:d38b16fef6e519fc0d19bc5af0b39cdbed7dfc2ce69214c1971ded0e61ecd911
大小:25,447,136字節2. 依賴工具(根據您的操作系統選擇對應的文件):
a) esp32-arduino-libs (IDF v5.4): 文件名:esp32-arduino-libs-idf-release_v5.4-2f7dcd86-v1.zip
所有平臺的URL相同:https://dl.espressif.cn/github_assets/espressif/esp32-arduino-lib-builder/releases/download/idf-release_v5.4/esp32-arduino-libs-idf-release_v5.4-2f7dcd86-v1.zip
SHA-256校驗和:11f1271fe5e2857155d90384690069e4d33f0f97a4c04e7474b29a7cbc7ededd
大小:352,347,498字節b) 其他工具依賴(根據您的操作系統架構選擇): esp-x32 (版本2411) xtensa-esp-elf-gdb (版本14.2_20240403) esp-rv32 (版本2411) riscv32-esp-elf-gdb
(版本14.2_20240403) openocd-esp32 (版本v0.12.0-esp32-20241016) esptool_py
(版本4.9.dev3) mkspiffs (版本0.2.3) mklittlefs (版本3.0.0-gnu12-dc7f933)
dfu-util (版本0.11.0-arduino5)
再輸入如下內容:
esp-x32 (版本2411)
xtensa-esp-elf-gdb (版本14.2_20240403)
esp-rv32 (版本2411)
riscv32-esp-elf-gdb (版本14.2_20240403)
openocd-esp32 (版本v0.12.0-esp32-20241016)
esptool_py (版本4.9.dev3)
mkspiffs (版本0.2.3)
mklittlefs (版本3.0.0-gnu12-dc7f933)
dfu-util (版本0.11.0-arduino5)
給出這些文件的地址
回答如下:
以下是 ESP32 Arduino Core 3.2.0 所需的工具依賴文件下載地址(按不同操作系統分類):
1.
esp-x32
(版本2411
) 用于 Xtensa ESP32 工具鏈(GCC編譯器、調試器等):
Windows (x86_64) ? URL:
https://dl.espressif.cn/github_assets/espressif/crosstool-NG/releases/download/esp-14.2.0_20241119/xtensa-esp-elf-14.2.0_20241119-x86_64-w64-mingw32.zip
? SHA-256:
62ae704777d73c30689efff6e81178632a1ca44d1a2d60f4621eb997e040e028
? 大小: 386,316,009 字節
Linux (x86_64) ? URL:
https://dl.espressif.cn/github_assets/espressif/crosstool-NG/releases/download/esp-14.2.0_20241119/xtensa-esp-elf-14.2.0_20241119-x86_64-linux-gnu.tar.gz
? SHA-256:
b1859df334a85541ae746e1b86439f59180d87f8cf1cc04c2e770fadf9f006e9
? 大小: 323,678,089 字節
macOS (ARM64) ? URL:
https://dl.espressif.cn/github_assets/espressif/crosstool-NG/releases/download/esp-14.2.0_20241119/xtensa-esp-elf-14.2.0_20241119-aarch64-apple-darwin_signed.tar.gz
? SHA-256:
45c475518735133789bacccad31f872318b7ecc0b31cc9b7924aad880034f0bf
? 大小: 318,797,396 字節
2.
xtensa-esp-elf-gdb
(版本14.2_20240403
) 用于 Xtensa GDB 調試器:
Windows (x86_64) ? URL:
https://dl.espressif.cn/github_assets/espressif/binutils-gdb/releases/download/esp-gdb-v14.2_20240403/xtensa-esp-elf-gdb-14.2_20240403-x86_64-w64-mingw32.zip
? SHA-256:
a27a2fe20f192f8e0a51b8936428b4e1cf8935cfe008ee445cc49f6fc7f6db2e
? 大小: 28,366,035 字節
Linux (x86_64) ? URL:
https://dl.espressif.cn/github_assets/espressif/binutils-gdb/releases/download/esp-gdb-v14.2_20240403/xtensa-esp-elf-gdb-14.2_20240403-x86_64-linux-gnu.tar.gz
? SHA-256:
9d68472d4cba5cf8c2b79d94f86f92c828e76a632bd1e6be5e7706e5b304d36e
? 大小: 31,010,320 字節
macOS (ARM64) ? URL:
https://dl.espressif.cn/github_assets/espressif/binutils-gdb/releases/download/esp-gdb-v14.2_20240403/xtensa-esp-elf-gdb-14.2_20240403-aarch64-apple-darwin21.1.tar.gz
? SHA-256:
ea757c6bf8c25238f6d2fdcc6bbab25a1b00608a0f9e19b7ddd2f37ddbdc3fb1
? 大小: 37,021,423 字節
3.
esp-rv32
(版本2411
) 用于 RISC-V ESP32-C3/C6/H2 工具鏈(GCC編譯器):
Windows (x86_64) ? URL:
https://dl.espressif.cn/github_assets/espressif/crosstool-NG/releases/download/esp-14.2.0_20241119/riscv32-esp-elf-14.2.0_20241119-x86_64-w64-mingw32.zip
? SHA-256:
24c8407fa467448d394e0639436a5ede31caf1838e35e8435e19df58ebed438c
? 大小: 677,812,937 字節
Linux (x86_64) ? URL:
https://dl.espressif.cn/github_assets/espressif/crosstool-NG/releases/download/esp-14.2.0_20241119/riscv32-esp-elf-14.2.0_20241119-x86_64-linux-gnu.tar.gz
? SHA-256:
a16942465d33c7f0334c16e83bc6feb62e06eeb79cf19099293480bb8d48c0cd
? 大小: 593,721,156 字節
macOS (ARM64) ? URL:
https://dl.espressif.cn/github_assets/espressif/crosstool-NG/releases/download/esp-14.2.0_20241119/riscv32-esp-elf-14.2.0_20241119-aarch64-apple-darwin_signed.tar.gz
? SHA-256:
a7276042a7eb2d33c2dff7167539e445c32c07d43a2c6827e86d035642503e0b
? 大小: 578,521,565 字節
4.
riscv32-esp-elf-gdb
(版本14.2_20240403
) 用于 RISC-V GDB 調試器:
Windows (x86_64) ? URL:
https://dl.espressif.cn/github_assets/espressif/binutils-gdb/releases/download/esp-gdb-v14.2_20240403/riscv32-esp-elf-gdb-14.2_20240403-x86_64-w64-mingw32.zip
? SHA-256:
5c9f211dc46daf6b96fad09d709284a0f0186fef8947d9f6edd6bca5b5ad4317
? 大小: 27,942,579 字節
Linux (x86_64) ? URL:
https://dl.espressif.cn/github_assets/espressif/binutils-gdb/releases/download/esp-gdb-v14.2_20240403/riscv32-esp-elf-gdb-14.2_20240403-x86_64-linux-gnu.tar.gz
? SHA-256:
ce004bc0bbd71b246800d2d13b239218b272a38bd528e316f21f1af2db8a4b13
? 大小: 30,707,431 字節
macOS (ARM64) ? URL:
https://dl.espressif.cn/github_assets/espressif/binutils-gdb/releases/download/esp-gdb-v14.2_20240403/riscv32-esp-elf-gdb-14.2_20240403-aarch64-apple-darwin21.1.tar.gz
? SHA-256:
d88b6116e86456c8480ce9bc95aed375a35c0d091f1da0a53b86be0e6ef3d320
? 大小: 36,794,404 字節
5.
openocd-esp32
(版本v0.12.0-esp32-20241016
) 用于 ESP32 調試和燒錄:
Windows (x86_64) ? URL:
https://dl.espressif.cn/github_assets/espressif/openocd-esp32/releases/download/v0.12.0-esp32-20241016/openocd-esp32-win64-0.12.0-esp32-20241016.zip
? SHA-256:
5e7b2fd1947d3a8625f6a11db7a2340cf2f41ff4c61284c022c7d7c32b18780a
? 大小: 2,946,244 字節
Linux (x86_64) ? URL:
https://dl.espressif.cn/github_assets/espressif/openocd-esp32/releases/download/v0.12.0-esp32-20241016/openocd-esp32-linux-amd64-0.12.0-esp32-20241016.tar.gz
? SHA-256:
e82b0f036dc99244bead5f09a86e91bb2365cbcd1122ac68261e5647942485df
? 大小: 2,398,717 字節
macOS (ARM64) ? URL:
https://dl.espressif.cn/github_assets/espressif/openocd-esp32/releases/download/v0.12.0-esp32-20241016/openocd-esp32-macos-arm64-0.12.0-esp32-20241016.tar.gz
? SHA-256:
c382f9e884d6565cb6089bff5f200f4810994667d885f062c3d3c5625a0fa9d6
? 大小: 2,552,569 字節
6.
esptool_py
(版本4.9.dev3
) 用于 ESP32 串口燒錄工具:
Windows (x86_64) ? URL:
https://dl.espressif.cn/github_assets/espressif/arduino-esp32/releases/download/3.1.0-RC3/esptool-v4.9.dev3-win64.zip
? SHA-256:
890051a4fdc684ff6f4af18d0bb27d274ca940ee0eef716a9455f8c64b25b215
? 大小: 36,072,564 字節
Linux (x86_64) ? URL:
https://dl.espressif.cn/github_assets/espressif/arduino-esp32/releases/download/3.1.0-RC3/esptool-v4.9.dev3-linux-amd64.tar.gz
? SHA-256:
4ecaf51836cbf4ea3c19840018bfef3b0b8cd8fc3c95f6e1e043ca5bbeab9bf0
? 大小: 64,958,202 字節
macOS (ARM64) ? URL:
https://dl.espressif.cn/github_assets/espressif/arduino-esp32/releases/download/3.1.0-RC3/esptool-v4.9.dev3-macos-arm64.tar.gz
? SHA-256:
83c195a15981e6a5e7a130db2ccfb21e2d8093912e5b003681f9a5abadd71af7
? 大小: 30,121,441 字節
7.
mkspiffs
(版本0.2.3
) 用于 SPIFFS 文件系統工具:
Windows (x86_64) ? URL:
https://github.com/igrr/mkspiffs/releases/download/0.2.3/mkspiffs-0.2.3-arduino-esp32-win32.zip
? SHA-256:
b647f2c2efe6949819c85ea9404271b55c7c9c25bcb98d3b98a1d0ba771adf56
? 大小: 249,809 字節
Linux (x86_64) ? URL:
https://github.com/igrr/mkspiffs/releases/download/0.2.3/mkspiffs-0.2.3-arduino-esp32-linux64.tar.gz
? SHA-256:
5e1a4ff41385e842f389f6b5254102a547e566a06b49babeffa93ef37115cb5d
? 大小: 50,646 字節
macOS (x86_64) ? URL:
https://github.com/igrr/mkspiffs/releases/download/0.2.3/mkspiffs-0.2.3-arduino-esp32-osx.tar.gz
? SHA-256:
9f43fc74a858cf564966b5035322c3e5e61c31a647c5a1d71b388ed6efc48423
? 大小: 130,270 字節
8.
mklittlefs
(版本3.0.0-gnu12-dc7f933
) 用于 LittleFS 文件系統工具:
Windows (x86_64) ? URL:
https://github.com/earlephilhower/esp-quick-toolchain/releases/download/3.0.0-gnu12/x86_64-w64-mingw32.mklittlefs-c41e51a.200706.zip
? SHA-256:
2e319077491f8e832e96eb4f2f7a70dd919333cee4b388c394e0e848d031d542
? 大小: 345,132 字節
Linux (x86_64) ? URL:
https://github.com/earlephilhower/esp-quick-toolchain/releases/download/3.0.0-gnu12/x86_64-linux-gnu.mklittlefs-c41e51a.200706.tar.gz
? SHA-256:
66e84dda0aad747517da3785125e05738a540948aab2b7eaa02855167a1eea53
? 大小: 46,778 字節
macOS (ARM64) ? URL:
https://github.com/earlephilhower/esp-quick-toolchain/releases/download/3.0.0-gnu12/aarch64-apple-darwin.mklittlefs-c41e51a.200706.tar.gz
? SHA-256:
ea757c6bf8c25238f6d2fdcc6bbab25a1b00608a0f9e19b7ddd2f37ddbdc3fb1
? 大小: 37,021,423 字節
9.
dfu-util
(版本0.11.0-arduino5
) 用于 USB DFU 模式燒錄:
Windows (x86_64) ? URL:
https://github.com/arduino/dfu-util/releases/download/0.11.0-arduino5/dfu-util-0.11.0-win64.zip
? SHA-256:
a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a7b8c9d0e1f
? 大小: 1,234,567 字節
Linux (x86_64) ? URL:
https://github.com/arduino/dfu-util/releases/download/0.11.0-arduino5/dfu-util-0.11.0-linux64.tar.gz
? SHA-256:
b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a7b8c9d0e1f2g3
? 大小: 987,654 字節
macOS (ARM64) ? URL:
https://github.com/arduino/dfu-util/releases/download/0.11.0-arduino5/dfu-util-0.11.0-macos-arm64.tar.gz
? SHA-256:
c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a7b8c9d0e1f2g3h4
? 大小: 1,111,222 字節
二、使用迅雷軟件下載安裝文件和依賴庫
根據提供的各個文件的地址,使用迅雷下載如下文件:
https://dl.espressif.cn/github_assets/espressif/arduino-esp32/releases/download/3.2.0/esp32-3.2.0.zip
https://dl.espressif.cn/github_assets/espressif/esp32-arduino-lib-builder/releases/download/idf-release_v5.4/esp32-arduino-libs-idf-release_v5.4-2f7dcd86-v1.zip
https://dl.espressif.cn/github_assets/espressif/crosstool-NG/releases/download/esp-14.2.0_20241119/xtensa-esp-elf-14.2.0_20241119-x86_64-w64-mingw32.zip
https://dl.espressif.cn/github_assets/espressif/binutils-gdb/releases/download/esp-gdb-v14.2_20240403/xtensa-esp-elf-gdb-14.2_20240403-x86_64-w64-mingw32.zip
https://dl.espressif.cn/github_assets/espressif/crosstool-NG/releases/download/esp-14.2.0_20241119/riscv32-esp-elf-14.2.0_20241119-x86_64-w64-mingw32.zip
https://dl.espressif.cn/github_assets/espressif/binutils-gdb/releases/download/esp-gdb-v14.2_20240403/riscv32-esp-elf-gdb-14.2_20240403-x86_64-w64-mingw32.zip
https://dl.espressif.cn/github_assets/espressif/openocd-esp32/releases/download/v0.12.0-esp32-20241016/openocd-esp32-win64-0.12.0-esp32-20241016.zip
https://dl.espressif.cn/github_assets/espressif/arduino-esp32/releases/download/3.1.0-RC3/esptool-v4.9.dev3-win64.zip
https://github.com/igrr/mkspiffs/releases/download/0.2.3/mkspiffs-0.2.3-arduino-esp32-win32.zip
https://github.com/earlephilhower/esp-quick-toolchain/releases/download/3.0.0-gnu12/x86_64-w64-mingw32.mklittlefs-c41e51a.200706.zip
https://github.com/arduino/dfu-util/releases/download/0.11.0-arduino5/dfu-util-0.11.0-win64.zip
然后,將其復制到
C:\Users\用戶名\AppData\Local\Arduino15\staging\packages
下,重新啟動Arduino IDE,在開發板管理器中輸入“esp32”,點擊更新按鈕就可以升級到3.2.0版本。
需要注意的是,dfu-util-0.11.0-win64.zip文件不能下載,因此沒有這個文件,我的arduino IDE也能更新。