大师们帮我看看,Mac OS X系统上传项目出错-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 936|回复: 4

[未解决] 大师们帮我看看,Mac OS X系统上传项目出错

[复制链接]
发表于 2021-4-1 09:02 | 显示全部楼层 |阅读模式
Arduino:1.8.14 Hourly Build 2021/03/09 09:34 (Mac OS X), 开发板:"Generic ESP8266 Module, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

Executable segment sizes:
IROM   : 228400          - code in flash         (default or ICACHE_FLASH_ATTR)
IRAM   : 26348   / 32768 - code in IRAM          (ICACHE_RAM_ATTR, ISRs...)
DATA   : 1248  )         - initialized variables (global, static) in RAM/HEAP
RODATA : 688   ) / 81920 - constants             (global, static) in RAM/HEAP
BSS    : 24840 )         - zeroed variables      (global, static) in RAM/HEAP
项目使用了 256684 字节,占用了 (26%) 程序存储空间。最大为 958448 字节。
全局变量使用了26776字节,(32%)的动态内存,余留55144字节局部变量。最大为81920字节。
pyserial or esptool directories not found next to this upload.py tool.
上传项目出错


在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。


Arduino:1.8.14 Hourly Build 2021/03/09 09:34 (Mac OS X), 开发板:"Generic ESP8266 Module, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/oct/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/oct/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/oct/Documents/Arduino/libraries -fqbn=esp8266:esp8266:generic:xtal=80,vt=flash,exception=legacy,ssl=all,ResetMethod=nodemcu,CrystalFreq=26,FlashFreq=40,FlashMode=dout,eesz=1M64,led=2,sdk=nonosdk_190703,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200 -vid-pid=0000_0000 -ide-version=10814 -build-path /var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_build_283379 -warnings=none -build-cache /var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_cache_712440 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=/Users/oct/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506 -prefs=runtime.tools.xtensa-lx106-elf-gcc-2.5.0-4-b40a506.path=/Users/oct/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506 -prefs=runtime.tools.mklittlefs.path=/Users/oct/Library/Arduino15/packages/esp8266/tools/mklittlefs/2.5.0-4-fe5bb56 -prefs=runtime.tools.mklittlefs-2.5.0-4-fe5bb56.path=/Users/oct/Library/Arduino15/packages/esp8266/tools/mklittlefs/2.5.0-4-fe5bb56 -prefs=runtime.tools.mkspiffs.path=/Users/oct/Library/Arduino15/packages/esp8266/tools/mkspiffs/2.5.0-4-b40a506 -prefs=runtime.tools.mkspiffs-2.5.0-4-b40a506.path=/Users/oct/Library/Arduino15/packages/esp8266/tools/mkspiffs/2.5.0-4-b40a506 -prefs=runtime.tools.python3.path=/Users/oct/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1 -prefs=runtime.tools.python3-3.7.2-post1.path=/Users/oct/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1 -verbose /var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/untitled1067628722.tmp/sketch_apr01a/sketch_apr01a.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/oct/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/oct/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/oct/Documents/Arduino/libraries -fqbn=esp8266:esp8266:generic:xtal=80,vt=flash,exception=legacy,ssl=all,ResetMethod=nodemcu,CrystalFreq=26,FlashFreq=40,FlashMode=dout,eesz=1M64,led=2,sdk=nonosdk_190703,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200 -vid-pid=0000_0000 -ide-version=10814 -build-path /var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_build_283379 -warnings=none -build-cache /var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_cache_712440 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=/Users/oct/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506 -prefs=runtime.tools.xtensa-lx106-elf-gcc-2.5.0-4-b40a506.path=/Users/oct/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506 -prefs=runtime.tools.mklittlefs.path=/Users/oct/Library/Arduino15/packages/esp8266/tools/mklittlefs/2.5.0-4-fe5bb56 -prefs=runtime.tools.mklittlefs-2.5.0-4-fe5bb56.path=/Users/oct/Library/Arduino15/packages/esp8266/tools/mklittlefs/2.5.0-4-fe5bb56 -prefs=runtime.tools.mkspiffs.path=/Users/oct/Library/Arduino15/packages/esp8266/tools/mkspiffs/2.5.0-4-b40a506 -prefs=runtime.tools.mkspiffs-2.5.0-4-b40a506.path=/Users/oct/Library/Arduino15/packages/esp8266/tools/mkspiffs/2.5.0-4-b40a506 -prefs=runtime.tools.python3.path=/Users/oct/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1 -prefs=runtime.tools.python3-3.7.2-post1.path=/Users/oct/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1 -verbose /var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/untitled1067628722.tmp/sketch_apr01a/sketch_apr01a.ino
Using board 'generic' from platform in folder: /Users/oct/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4
Using core 'esp8266' from platform in folder: /Users/oct/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4
Detecting libraries used...
/Users/oct/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/Users/oct/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/sdk/include -I/Users/oct/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/sdk/lwip2/include -I/Users/oct/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/sdk/libc/xtensa-lx106-elf/include -I/var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_build_283379/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10814 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 -I/Users/oct/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/cores/esp8266 -I/Users/oct/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/variants/generic /var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_build_283379/sketch/sketch_apr01a.ino.cpp -o /dev/null
Generating function prototypes...
/Users/oct/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/Users/oct/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/sdk/include -I/Users/oct/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/sdk/lwip2/include -I/Users/oct/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/sdk/libc/xtensa-lx106-elf/include -I/var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_build_283379/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10814 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 -I/Users/oct/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/cores/esp8266 -I/Users/oct/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/variants/generic /var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_build_283379/sketch/sketch_apr01a.ino.cpp -o /var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_build_283379/preproc/ctags_target_for_gcc_minus_e.cpp
/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_build_283379/preproc/ctags_target_for_gcc_minus_e.cpp
正在编译项目...
/Users/oct/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3 /Users/oct/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/signing.py --mode header --publickey /var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/untitled1067628722.tmp/sketch_apr01a/public.key --out /var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_build_283379/core/Updater_Signing.h
/Users/oct/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/Users/oct/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/sdk/include -I/Users/oct/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/sdk/lwip2/include -I/Users/oct/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/sdk/libc/xtensa-lx106-elf/include -I/var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_build_283379/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10814 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 -I/Users/oct/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/cores/esp8266 -I/Users/oct/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/variants/generic /var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_build_283379/sketch/sketch_apr01a.ino.cpp -o /var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_build_283379/sketch/sketch_apr01a.ino.cpp.o
Compiling libraries...
Compiling core...
Using precompiled core: /var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_cache_712440/core/core_433a59acfcf87eefe80db77909196158.a
Linking everything together...
/Users/oct/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-gcc -CC -E -P -DVTABLES_IN_FLASH /Users/oct/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/sdk/ld/eagle.app.v6.common.ld.h -o /var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_build_283379/local.eagle.app.v6.common.ld
/Users/oct/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-gcc -fno-exceptions -Wl,-Map -Wl,/var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_build_283379/sketch_apr01a.ino.map -g -w -Os -nostdlib -Wl,--no-check-sections -u app_entry -u _printf_float -u _scanf_float -Wl,-static -L/Users/oct/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/sdk/lib -L/Users/oct/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/sdk/lib/NONOSDK22x_190703 -L/Users/oct/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/sdk/ld -L/Users/oct/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/sdk/libc/xtensa-lx106-elf/lib -Teagle.flash.1m64.ld -Wl,--gc-sections -Wl,-wrap,system_restart_local -Wl,-wrap,spi_flash_read -o /var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_build_283379/sketch_apr01a.ino.elf -Wl,--start-group /var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_build_283379/sketch/sketch_apr01a.ino.cpp.o /var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_cache_712440/core/core_433a59acfcf87eefe80db77909196158.a -lhal -lphy -lpp -lnet80211 -llwip2-536-feat -lwpa -lcrypto -lmain -lwps -lbearssl -laxtls -lespnow -lsmartconfig -lairkiss -lwpa2 -lstdc++ -lm -lc -lgcc -Wl,--end-group -L/var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_build_283379
/Users/oct/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3 /Users/oct/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/elf2bin.py --eboot /Users/oct/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/bootloaders/eboot/eboot.elf --app /var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_build_283379/sketch_apr01a.ino.elf --flash_mode dout --flash_freq 40 --flash_size 1M --path /Users/oct/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin --out /var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_build_283379/sketch_apr01a.ino.bin
Creating BIN file "/var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_build_283379/sketch_apr01a.ino.bin" using "/Users/oct/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/bootloaders/eboot/eboot.elf" and "/var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_build_283379/sketch_apr01a.ino.elf"
/Users/oct/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3 /Users/oct/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/signing.py --mode sign --privatekey /var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/untitled1067628722.tmp/sketch_apr01a/private.key --bin /var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_build_283379/sketch_apr01a.ino.bin --out /var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_build_283379/sketch_apr01a.ino.bin.signed --legacy /var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_build_283379/sketch_apr01a.ino.bin.legacy_sig
/Users/oct/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3 /Users/oct/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/sizes.py --elf /var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_build_283379/sketch_apr01a.ino.elf --path /Users/oct/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin
Executable segment sizes:
IROM   : 228400          - code in flash         (default or ICACHE_FLASH_ATTR)
IRAM   : 26348   / 32768 - code in IRAM          (ICACHE_RAM_ATTR, ISRs...)
DATA   : 1248  )         - initialized variables (global, static) in RAM/HEAP
RODATA : 688   ) / 81920 - constants             (global, static) in RAM/HEAP
BSS    : 24840 )         - zeroed variables      (global, static) in RAM/HEAP
/Users/oct/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-size -A /var/folders/8s/tcgfrb3n5hbg369r3nfk84dh0000gn/T/arduino_build_283379/sketch_apr01a.ino.elf
项目使用了 256684 字节,占用了 (26%) 程序存储空间。最大为 958448 字节。
全局变量使用了26776字节,(32%)的动态内存,余留55144字节局部变量。最大为81920字节。
pyserial or esptool directories not found next to this upload.py tool.
上传项目出错





发表于 2021-4-1 10:00 | 显示全部楼层

回帖奖励 +1 金币

pyserial or esptool directories not found next to this upload.py tool.
重装package吧
 楼主| 发表于 2021-4-1 10:33 | 显示全部楼层
XlinliY.Zhang 发表于 2021-4-1 10:00
pyserial or esptool directories not found next to this upload.py tool.
重装package吧

有米有地址,谢谢
发表于 2021-4-1 10:38 | 显示全部楼层
jason693 发表于 2021-4-1 10:33
有米有地址,谢谢

没用过Mac
发表于 2021-4-1 10:55 | 显示全部楼层
用苹果搞开发是原罪
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|Arduino中文社区

GMT+8, 2024-11-29 10:40 , Processed in 0.072025 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表