一、导出bin文件的方法一
1.通过IDE直接导出,选择 项目 --> 导出已编译的二进制文件,会在工程下生成 build 文件夹,里面有导出的bin文件。
一、导出bin文件的方法二
通过临时文件,找到生成的bin文件。
临时文件的位置,在Windows上,它可能位于
C:\Users<你的用户名>\AppData\Local\Temp\arduino_build_XXXXXX,
其中XXXXXX是一个随机生成的目录名。
实际测试发现,文件位置在如下位置
C:\Users\Administrator\AppData\Local\Temp\arduino\sketches\xxxxxxxx
xxxxxxxx 是一串随机生成的目录名。
临时文件的位置,可通过编译输出的详细信息查到。
三、IDE 输出和上传详细信息的设置
Arduino IDE软件设置编译和上传的详细输出
编译输出的详细信息如下:
FQBN: esp8266:esp8266:generic
Using board 'generic' from platform in folder: C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2
Using core 'esp8266' from platform in folder: C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/mkbuildoptglobals.py" "D:\\Programs\\Arduino IDE\\resources\\app\\lib\\backend\\resources" 10607 "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\DFBEF75828E57CD523AD427B9209F18F" "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\DFBEF75828E57CD523AD427B9209F18F/core/build.opt" "D:\\Programs\\demo\\TestLittleFS\\TestLittleFS/TestLittleFS.ino.globals.h" "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2\\cores\\esp8266/CommonHFile.h"
default_encoding: cp936
Assume aggressive 'core.a' caching enabled.
Note: optional global include file 'D:\Programs\demo\TestLittleFS\TestLittleFS\TestLittleFS.ino.globals.h' does not exist.Read more at https://arduino-esp8266.readthedocs.io/en/latest/faq/a06-global-build-options.html
Detecting libraries used...
C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.1.0-gcc10.3-e5f9fec/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE -DESP8266 @C:\Users\Administrator\AppData\Local\Temp\arduino\sketches\DFBEF75828E57CD523AD427B9209F18F/core/build.opt -IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2/tools/sdk/include -IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2/tools/sdk/lwip2/include -IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2/tools/sdk/libc/xtensa-lx106-elf/include -IC:\Users\Administrator\AppData\Local\Temp\arduino\sketches\DFBEF75828E57CD523AD427B9209F18F/core -c @C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2/tools/warnings/none-cppflags -Os -g -free -fipa-pta -Werror=return-type -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++17 -ffunction-sections -fdata-sections -fno-exceptions -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10607 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_GENERIC" -DARDUINO_BOARD_ID="generic" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\cores\esp8266 -IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\variants\generic C:\Users\Administrator\AppData\Local\Temp\arduino\sketches\DFBEF75828E57CD523AD427B9209F18F\sketch\TestLittleFS.ino.cpp -o nul
Alternatives for ArduinoJson.h: [ArduinoJson@7.0.4]
ResolveLibrary(ArduinoJson.h)-> candidates: [ArduinoJson@7.0.4]
C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.1.0-gcc10.3-e5f9fec/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE -DESP8266 @C:\Users\Administrator\AppData\Local\Temp\arduino\sketches\DFBEF75828E57CD523AD427B9209F18F/core/build.opt -IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2/tools/sdk/include -IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2/tools/sdk/lwip2/include -IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2/tools/sdk/libc/xtensa-lx106-elf/include -IC:\Users\Administrator\AppData\Local\Temp\arduino\sketches\DFBEF75828E57CD523AD427B9209F18F/core -c @C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2/tools/warnings/none-cppflags -Os -g -free -fipa-pta -Werror=return-type -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++17 -ffunction-sections -fdata-sections -fno-exceptions -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10607 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_GENERIC" -DARDUINO_BOARD_ID="generic" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\cores\esp8266 -IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\variants\generic -Ic:\Users\Administrator\Documents\Arduino\libraries\ArduinoJson\src C:\Users\Administrator\AppData\Local\Temp\arduino\sketches\DFBEF75828E57CD523AD427B9209F18F\sketch\TestLittleFS.ino.cpp -o nul
Alternatives for LittleFS.h: [LittleFS@0.1.0]
ResolveLibrary(LittleFS.h)-> candidates: [LittleFS@0.1.0]
C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.1.0-gcc10.3-e5f9fec/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE -DESP8266 @C:\Users\Administrator\AppData\Local\Temp\arduino\sketches\DFBEF75828E57CD523AD427B9209F18F/core/build.opt -IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2/tools/sdk/include -IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2/tools/sdk/lwip2/include -IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2/tools/sdk/libc/xtensa-lx106-elf/include -IC:\Users\Administrator\AppData\Local\Temp\arduino\sketches\DFBEF75828E57CD523AD427B9209F18F/core -c @C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2/tools/warnings/none-cppflags -Os -g -free -fipa-pta -Werror=return-type -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++17 -ffunction-sections -fdata-sections -fno-exceptions -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10607 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_GENERIC" -DARDUINO_BOARD_ID="generic" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\cores\esp8266 -IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\variants\generic -Ic:\Users\Administrator\Documents\Arduino\libraries\ArduinoJson\src -IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\LittleFS\src C:\Users\Administrator\AppData\Local\Temp\arduino\sketches\DFBEF75828E57CD523AD427B9209F18F\sketch\TestLittleFS.ino.cpp -o nul
Using cached library dependencies for file: C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\LittleFS\src\LittleFS.cpp
Using cached library dependencies for file: C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\LittleFS\src\lfs.c
Using cached library dependencies for file: C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\LittleFS\src\lfs_util.c
Generating function prototypes...
C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.1.0-gcc10.3-e5f9fec/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE -DESP8266 @C:\Users\Administrator\AppData\Local\Temp\arduino\sketches\DFBEF75828E57CD523AD427B9209F18F/core/build.opt -IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2/tools/sdk/include -IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2/tools/sdk/lwip2/include -IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2/tools/sdk/libc/xtensa-lx106-elf/include -IC:\Users\Administrator\AppData\Local\Temp\arduino\sketches\DFBEF75828E57CD523AD427B9209F18F/core -c @C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2/tools/warnings/none-cppflags -Os -g -free -fipa-pta -Werror=return-type -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++17 -ffunction-sections -fdata-sections -fno-exceptions -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10607 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_GENERIC" -DARDUINO_BOARD_ID="generic" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\cores\esp8266 -IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\variants\generic -Ic:\Users\Administrator\Documents\Arduino\libraries\ArduinoJson\src -IC:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\LittleFS\src C:\Users\Administrator\AppData\Local\Temp\arduino\sketches\DFBEF75828E57CD523AD427B9209F18F\sketch\TestLittleFS.ino.cpp -o C:\Users\Administrator\AppData\Local\Temp\2072797425\sketch_merged.cpp
C:\Users\Administrator\AppData\Local\Arduino15\packages\builtin\tools\ctags\5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives C:\Users\Administrator\AppData\Local\Temp\2072797425\sketch_merged.cpp
Compiling sketch...
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/signing.py" --mode header --publickey "D:\\Programs\\demo\\TestLittleFS\\TestLittleFS/public.key" --out "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\DFBEF75828E57CD523AD427B9209F18F/core/Updater_Signing.h"
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.1.0-gcc10.3-e5f9fec/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE -DESP8266 "@C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\DFBEF75828E57CD523AD427B9209F18F/core/build.opt" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/include" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/lwip2/include" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\DFBEF75828E57CD523AD427B9209F18F/core" -c "@C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/warnings/none-cppflags" -Os -g -free -fipa-pta -Werror=return-type -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++17 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10607 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" "-DARDUINO_BOARD_ID=\"generic\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2\\cores\\esp8266" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2\\variants\\generic" "-Ic:\\Users\\Administrator\\Documents\\Arduino\\libraries\\ArduinoJson\\src" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2\\libraries\\LittleFS\\src" "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\DFBEF75828E57CD523AD427B9209F18F\\sketch\\TestLittleFS.ino.cpp" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\DFBEF75828E57CD523AD427B9209F18F\\sketch\\TestLittleFS.ino.cpp.o"
Compiling libraries...
Compiling library "ArduinoJson"
Compiling library "LittleFS"
Using previously compiled file: C:\Users\Administrator\AppData\Local\Temp\arduino\sketches\DFBEF75828E57CD523AD427B9209F18F\libraries\LittleFS\LittleFS.cpp.o
Using previously compiled file: C:\Users\Administrator\AppData\Local\Temp\arduino\sketches\DFBEF75828E57CD523AD427B9209F18F\libraries\LittleFS\lfs.c.o
Using previously compiled file: C:\Users\Administrator\AppData\Local\Temp\arduino\sketches\DFBEF75828E57CD523AD427B9209F18F\libraries\LittleFS\lfs_util.c.o
Using previously compiled file: C:\Users\Administrator\AppData\Local\Temp\arduino\sketches\DFBEF75828E57CD523AD427B9209F18F\libraries\LittleFS\LittleFS.a
Compiling core...
Using precompiled core: C:\Users\Administrator\AppData\Local\Temp\arduino\cores\1a5240c2e1f869576cbec3058420a342\core.a
Linking everything together...
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/mkdir.py" -p "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\DFBEF75828E57CD523AD427B9209F18F/ld_h/"
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/cp.py" "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/ld/eagle.flash.1m64.ld" "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\DFBEF75828E57CD523AD427B9209F18F/ld_h/local.eagle.flash.ld.h"
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.1.0-gcc10.3-e5f9fec/bin/xtensa-lx106-elf-gcc" -CC -E -P -DVTABLES_IN_FLASH -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\DFBEF75828E57CD523AD427B9209F18F/ld_h/local.eagle.flash.ld.h" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\DFBEF75828E57CD523AD427B9209F18F/local.eagle.flash.ld"
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.1.0-gcc10.3-e5f9fec/bin/xtensa-lx106-elf-gcc" -CC -E -P -DVTABLES_IN_FLASH -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/ld/eagle.app.v6.common.ld.h" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\DFBEF75828E57CD523AD427B9209F18F/local.eagle.app.v6.common.ld"
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.1.0-gcc10.3-e5f9fec/bin/xtensa-lx106-elf-gcc" -fno-exceptions -Wl,-Map "-Wl,C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\DFBEF75828E57CD523AD427B9209F18F/TestLittleFS.ino.map" -g "@C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/warnings/none-cflags" -Os -nostdlib -Wl,--no-check-sections -u app_entry -u _printf_float -u _scanf_float -Wl,-static "-LC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/lib" "-LC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/lib/NONOSDK22x_190703" "-LC:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\DFBEF75828E57CD523AD427B9209F18F" "-LC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sdk/libc/xtensa-lx106-elf/lib" -Tlocal.eagle.flash.ld -Wl,--gc-sections -Wl,-wrap,system_restart_local -Wl,-wrap,spi_flash_read -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\DFBEF75828E57CD523AD427B9209F18F/TestLittleFS.ino.elf" -Wl,--start-group "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\DFBEF75828E57CD523AD427B9209F18F\\sketch\\TestLittleFS.ino.cpp.o" "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\DFBEF75828E57CD523AD427B9209F18F\\libraries\\LittleFS\\LittleFS.a" "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\cores\\1a5240c2e1f869576cbec3058420a342\\core.a" -lhal -lphy -lpp -lnet80211 -llwip2-536-feat -lwpa -lcrypto -lmain -lwps -lbearssl -lespnow -lsmartconfig -lairkiss -lwpa2 -lstdc++ -lm -lc -lgcc -Wl,--end-group "-LC:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\DFBEF75828E57CD523AD427B9209F18F"
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/elf2bin.py" --eboot "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/bootloaders/eboot/eboot.elf" --app "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\DFBEF75828E57CD523AD427B9209F18F/TestLittleFS.ino.elf" --flash_mode dout --flash_freq 40 --flash_size 1M --path "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.1.0-gcc10.3-e5f9fec/bin" --out "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\DFBEF75828E57CD523AD427B9209F18F/TestLittleFS.ino.bin"
Creating BIN file "C:\Users\Administrator\AppData\Local\Temp\arduino\sketches\DFBEF75828E57CD523AD427B9209F18F/TestLittleFS.ino.bin" using "C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2/bootloaders/eboot/eboot.elf" and "C:\Users\Administrator\AppData\Local\Temp\arduino\sketches\DFBEF75828E57CD523AD427B9209F18F/TestLittleFS.ino.elf"
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/signing.py" --mode sign --privatekey "D:\\Programs\\demo\\TestLittleFS\\TestLittleFS/private.key" --bin "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\DFBEF75828E57CD523AD427B9209F18F/TestLittleFS.ino.bin" --out "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\DFBEF75828E57CD523AD427B9209F18F/TestLittleFS.ino.bin.signed" --legacy "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\DFBEF75828E57CD523AD427B9209F18F/TestLittleFS.ino.bin.legacy_sig"
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" -X utf8 -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.1.2/tools/sizes.py" --elf "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino\\sketches\\DFBEF75828E57CD523AD427B9209F18F/TestLittleFS.ino.elf" --path "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.1.0-gcc10.3-e5f9fec/bin" --mmu "-DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000"
. Variables and constants in RAM (global, static), used 29128 / 80192 bytes (36%)
║ SEGMENT BYTES DESCRIPTION
╠══ DATA 1500 initialized variables
╠══ RODATA 1924 constants
╚══ BSS 25704 zeroed variables
. Instruction RAM (IRAM_ATTR, ICACHE_RAM_ATTR), used 59831 / 65536 bytes (91%)
║ SEGMENT BYTES DESCRIPTION
╠══ ICACHE 32768 reserved space for flash instruction cache
╚══ IRAM 27063 code in IRAM
. Code in flash (default, ICACHE_FLASH_ATTR), used 272092 / 1048576 bytes (25%)
║ SEGMENT BYTES DESCRIPTION
╚══ IROM 272092 code in flash Using library ArduinoJson at version 7.0.4 in folder: C:\Users\Administrator\Documents\Arduino\libraries\ArduinoJson
Using library LittleFS at version 0.1.0 in folder: C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\LittleFS
临时文件的位置
四、其它
参考:
https://blog.csdn.net/xiaoyuanwuhui/article/details/131522889
https://stackoom.com/question/4Xkd0