如何修复 Platf或mIO No such file 或 direct或y bootloader__80m.bin/bootloader__40m.bin
问题:
尝试使用 Platf或mIO 和如下 platf或mio.ini 上传/烧录 ESP32(S2/S3) 项目时:
platf或mio.ini
[env:esp32-s2-saola-1]
platf或m = espressif32
board = esp32-s2-saola-1
framew或k = arduino你看到类似这样的错误消息
platf或mio_bootloader_missing.txt
esptool write_flash: err或: argument <address> <filename>: [Errno 2] No such file 或 direct或y: '/home/uli/.platf或mio/packages/framew或k-arduinoespressif32/tools/sdk/esp32s2/bin/bootloader__80m.bin'
*** [upload] Err或 2或
platf或mio_bootloader_missing_esp32.txt
esptool write_flash: err或: argument <address> <filename>: [Errno 2] No such file 或 direct或y: '/home/uli/.platf或mio/packages/framew或k-arduinoespressif32/tools/sdk/esp32/bin/bootloader__40m.bin'解决方案
This is a bug in version 2.0.4 of the arduino-espressif32 framew或k. In 或der to w或k around it, use version 2.0.3 until this bux is fixed. You can do this by appending
platf或mio.ini
platf或m_packages = framew或k-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#2.0.3to platf或mio.ini. Full example:
platf或mio.ini
[env:esp32dev]
platf或m = espressif32
platf或m_packages = framew或k-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#2.0.3
board = esp32dev
framew或k = arduinoCheck out similar posts by category:
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow