我正在使用m1 MacBook pro,并尝试在ESP8266上运行arduino代码。每次它都会给我这个错误
Arduino: 1.8.13 (Mac OS X (BigSur)), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
Executable segment sizes:
IROM : 246940 - code in flash (default or ICACHE_FLASH_ATTR)
IRAM : 27260 / 32768 - code in IRAM (ICACHE_RAM_ATTR, ISRs...)
DATA : 1268 ) - initialized variables (global, static) in RAM/HEAP
RODATA : 924 ) / 81920 - constants (global, static) in RAM/HEAP
BSS : 25096 ) - zeroed variables (global, static) in RAM/HEAP
Sketch uses 276392 bytes (26%) of program storage space. Maximum is 1044464 bytes.
Global variables use 27288 bytes (33%) of dynamic memory, leaving 54632 bytes for local variables. Maximum is 81920 bytes.
pyserial or esptool directories not found next to this upload.py tool.
An error occurred while uploading the sketch我不知道是什么问题,我试着用我在另一个问题上找到的新文件夹来更新这两个文件夹,但没有起作用。我希望有一种方法可以运行它。否则,我尝试在Windows10虚拟机上,但它看不到一个驱动程序,所以我不能上传到那里。
发布于 2021-06-08 17:15:31
我找到了我的问题的答案:)它也可能取决于问题,但总的来说,你需要遵循以下步骤:
如果需要,请下载并删除它们(如果需要),然后转到~/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/
esptool (删除数字和空格)
7.重新启动Arduino,您就可以开始工作了。这里的问题是要确保你擦除了版本号,只留下了"esptool“和"pyserial”的名字,如果你不这样做,Arduino将不会识别它,并且仍然会给出错误。
https://stackoverflow.com/questions/67870816
复制相似问题