Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-ASCII characters in library installation or cache path breaks library compilation caching #2671

Closed
3 tasks done
vvb333007 opened this issue Jul 20, 2024 · 12 comments · Fixed by #2733
Closed
3 tasks done
Assignees
Labels
conclusion: resolved Issue was resolved topic: build-process Related to the sketch build process type: imperfection Perceived defect in any part of project

Comments

@vvb333007
Copy link

vvb333007 commented Jul 20, 2024

Describe the problem

I am using Windows 10, and my user name is in Cyrillic letters.

c33f6745d4032407c57a000d575faeb4b2947a8a

Every library gets recompiled every time I press "Compile button" even if no files were changed. This happens because .d (dependencies) files contain wrong path. Example below shows the problem win RTCLib but you can use any library/code to reproduce

I checked .d files in a temp folder and this is what I found inside:

(must be C:\Users\ֲВячеслав....)

C:\Users\ֲקוסכאג\AppData\Local\Temp\arduino\sketches\5E52C855D96EEA0FECA98993020C8EE1\libraries\RTClib\RTC_DS1307.cpp.o: \
 c:\Users\ֲקוסכאג\Desktop\Arduino\libraries\RTClib\src\RTC_DS1307.cpp \
 c:\Users\ֲקוסכאג\Desktop\Arduino\libraries\RTClib\src\RTClib.h \
 c:\Users\ֲקוסכאג\Desktop\Arduino\libraries\Adafruit_BusIO/Adafruit_I2CDevice.h \

So no wonder that is "up-to-date" check fails leading to full recompiling. Some paths are Ok tho.

PS: All the .o and .a files do exist in temp folder but get recompiled every time

To reproduce

Setup environment

$ arduino-cli version

arduino-cli  Version: git-snapshot Commit: c86ca3012 Date: 2024-07-31T11:02:30Z

$ mkdir -p "/tmp/Håkan/arduino-cli-directories/user"  # Note that the path contains the "å" character.

$ export ARDUINO_DIRECTORIES_USER="/tmp/Håkan/arduino-cli-directories/user"

$ arduino-cli lib install Servo

Downloading [email protected]...
[email protected] [email protected] already downloaded
Installing [email protected]...
Installed [email protected]

$ arduino-cli core install arduino:avr

Platform arduino:[email protected] already installed

$ mkdir "/tmp/ServoSketch"

$ printf '#include <Servo.h>\nvoid setup() {}\nvoid loop() {}\n' > "/tmp/ServoSketch/ServoSketch.ino"

Demo

$ arduino-cli compile --fqbn arduino:avr:uno --verbose "/tmp/ServoSketch/ServoSketch.ino" # It is expected that the Servo library will be compiled from source on this first compile command.

[...]

Compiling library "Servo"
"C:\\Users\\per\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\per\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\per\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\standard" "-IC:\\Users\\per\\AppData\\Local\\Temp\\Håkan\\arduino-cli-directories\\user\\libraries\\Servo\\src" "C:\\Users\\per\\AppData\\Local\\Temp\\Håkan\\arduino-cli-directories\\user\\libraries\\Servo\\src\\avr\\Servo.cpp" -o "C:\\Users\\per\\AppData\\Local\\Temp\\arduino\\sketches\\BFDE784884ED2EECC432F1D25AE2F6D2\\libraries\\Servo\\avr\\Servo.cpp.o"

$ arduino-cli compile --fqbn arduino:avr:uno --verbose "/tmp/ServoSketch/ServoSketch.ino" # It is expected that the Servo library objects cached during the previous compile will be used this time.

[...]

Compiling library "Servo"
"C:\\Users\\per\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\per\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\per\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\standard" "-IC:\\Users\\per\\AppData\\Local\\Temp\\Håkan\\arduino-cli-directories\\user\\libraries\\Servo\\src" "C:\\Users\\per\\AppData\\Local\\Temp\\Håkan\\arduino-cli-directories\\user\\libraries\\Servo\\src\\avr\\Servo.cpp" -o "C:\\Users\\per\\AppData\\Local\\Temp\\arduino\\sketches\\BFDE784884ED2EECC432F1D25AE2F6D2\\libraries\\Servo\\avr\\Servo.cpp.o"

[...]

🐛 The "Servo" library was compiled from source instead of using cached objects produced by the previous compile command.

Now we try again, but this time with a directories.user path that only contains ASCII characters:

$ mkdir -p "/tmp/Hakan/arduino-cli-directories/user"  # Note that the path contains only ASCII characters.

$ export ARDUINO_DIRECTORIES_USER="/tmp/Hakan/arduino-cli-directories/user"

$ arduino-cli lib install Servo

Downloading [email protected]...
[email protected] [email protected] already downloaded
Installing [email protected]...
Installed [email protected]

$ arduino-cli compile --fqbn arduino:avr:uno --verbose "/tmp/ServoSketch/ServoSketch.ino" # It is expected that the Servo library will be compiled from source on this first compile command.

[...]

Compiling library "Servo"
"C:\\Users\\per\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\per\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\per\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\standard" "-IC:\\Users\\per\\AppData\\Local\\Temp\\Hakan\\arduino-cli-directories\\user\\libraries\\Servo\\src" "C:\\Users\\per\\AppData\\Local\\Temp\\Hakan\\arduino-cli-directories\\user\\libraries\\Servo\\src\\avr\\Servo.cpp" -o "C:\\Users\\per\\AppData\\Local\\Temp\\arduino\\sketches\\BFDE784884ED2EECC432F1D25AE2F6D2\\libraries\\Servo\\avr\\Servo.cpp.o"

[...]

$ arduino-cli compile --fqbn arduino:avr:uno --verbose "/tmp/ServoSketch/ServoSketch.ino" # It is expected that the Servo library objects cached during the previous compile will be used this time.

[...]

Compiling library "Servo"
Using previously compiled file: C:\Users\per\AppData\Local\Temp\arduino\sketches\BFDE784884ED2EECC432F1D25AE2F6D2\libraries\Servo\nrf52\Servo.cpp.o

[...]

🙂 When directories.user was changed to a path that only contains ASCII characters, the library compilation caching system worked as expected.

Expected behavior

Expected behaviour: not to recompile files which were not modified

Arduino CLI version

c86ca30

Operating system

Windows

Operating system version

  • 10
  • 11

Additional context

Originally reported at https://forum.arduino.cc/t/ide-2-3-2-very-slow-compiling/1281480

Additional reports

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@vvb333007 vvb333007 added the type: imperfection Perceived defect in any part of project label Jul 20, 2024
@vvb333007

This comment was marked as resolved.

@per1234 per1234 transferred this issue from arduino/arduino-ide Jul 20, 2024
@per1234 per1234 added the topic: build-process Related to the sketch build process label Jul 20, 2024
@per1234 per1234 changed the title Cyrillic characters in the path lead to all code recompiling every time Non-ASCII characters in the path lead to all code recompiling every time Jul 31, 2024
@per1234 per1234 changed the title Non-ASCII characters in the path lead to all code recompiling every time Non-ASCII characters in directories.user path breaks library compilation caching Jul 31, 2024
@per1234 per1234 changed the title Non-ASCII characters in directories.user path breaks library compilation caching Non-ASCII characters in library installation or cache path breaks library compilation caching Aug 1, 2024
@cmaglie cmaglie self-assigned this Oct 14, 2024
@cmaglie
Copy link
Member

cmaglie commented Oct 15, 2024

@vvb333007 I've implemented a tentative workaround here:
#2733

could you try a test build? (you can find at the bottom of this page)

@vvb333007
Copy link
Author

@vvb333007 I've implemented a tentative workaround here: #2733

could you try a test build? (you can find at the bottom of this page)

Well it still recompiles everything.

And .d files have cyrillic symbols in some unusual encoding (i.e. not totally damaged as when it is simply replaced with "?").

Image

@cmaglie
Copy link
Member

cmaglie commented Oct 16, 2024

Thanks for testing it!
Could you paste the output of the compile with the --log --log-level debug flags added?

@cmaglie
Copy link
Member

cmaglie commented Oct 16, 2024

And .d files have cyrillic symbols in some unusual encoding (i.e. not totally damaged as when it is simply replaced with "?").

Those .d files are directly created by g++/gcc, but for some reason, they are not UTF-8 encoded.
Looking at the documentation of the Win32 API, it's not clear what is the default encoding, instead it seems dependent on which part of the Win32 API is used in the application. I suspect that gcc/g++ uses an old API that writes using "codepages" which would make decoding those files a nightmare because the codepage depends on the currently selected locale.

To help me, I'd like to ask you:

  • The currently selected language on your PC
  • If you can provide a copy of a .d file together with the correct spelling of the path written in it (so I can try to figure out the encoding).

Thanks!

@cmaglie
Copy link
Member

cmaglie commented Oct 16, 2024

Ok, after some research, I may have found the key to solving this issue.

Please test this build before, if it works I don't need anything else: https://github.com/arduino/arduino-cli/actions/runs/11362531613

@vvb333007
Copy link
Author

Ok, after some research, I may have found the key to solving this issue.

Please test this build before, if it works I don't need anything else: https://github.com/arduino/arduino-cli/actions/runs/11362531613

Yay! It works. .d files now contain valid cyrillic paths. It reports that it uses precompiled .o files. Great!

@vvb333007
Copy link
Author

vvb333007 commented Oct 16, 2024

There are no ???? strings anymore. Examined whole output - it is all clean in proper encoding

@cmaglie
Copy link
Member

cmaglie commented Oct 16, 2024

That's fantastic news @vvb333007, thanks for your help in debugging this issue!

@vvb333007
Copy link
Author

vvb333007 commented Oct 16, 2024

Thanks for testing it! Could you paste the output of the compile with the --log --log-level debug flags added?

�[36mINFO�[0m[0000] arduino-cli version test-2733-e07b5117a6adc575eb7cd0c6cbabdac5a96e42c9-git-snapshot 
�[36mINFO�[0m[0000] Using config file: C:\Users\Вячеслав\AppData\Local\Arduino15\arduino-cli.yaml 
�[36mINFO�[0m[0000] Executing `arduino-cli compile`              
�[36mINFO�[0m[0000] Reading sketch from dir: E:\Arduino\espshell 
�[33mWARN�[0m[0000] Error checking for updates: no major version found 
�[36mINFO�[0m[0000] Checking signature                            �[36mindex�[0m="C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\package_index.json" �[36msignatureFile�[0m="C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\package_index.json.sig" �[36mtrusted�[0m=true
�[36mINFO�[0m[0000] Loading hardware from: C:\Users\Вячеслав\AppData\Local\Arduino15\packages 
�[36mINFO�[0m[0000] Loading package arduino from: C:\Users\Вячеслав\AppData\Local\Arduino15\packages\arduino\hardware 
�[36mINFO�[0m[0000] Checking existence of 'tools' path: C:\Users\Вячеслав\AppData\Local\Arduino15\packages\arduino\tools 
�[36mINFO�[0m[0000] Loading tools from dir: C:\Users\Вячеслав\AppData\Local\Arduino15\packages\arduino\tools 
�[36mINFO�[0m[0000] Loaded tool                                   �[36mtool�[0m="arduino:[email protected]"
�[36mINFO�[0m[0000] Loading package builtin from: C:\Users\Вячеслав\AppData\Local\Arduino15\packages\builtin 
�[36mINFO�[0m[0000] Checking existence of 'tools' path: C:\Users\Вячеслав\AppData\Local\Arduino15\packages\builtin\tools 
�[36mINFO�[0m[0000] Loading tools from dir: C:\Users\Вячеслав\AppData\Local\Arduino15\packages\builtin\tools 
�[36mINFO�[0m[0000] Loaded tool                                   �[36mtool�[0m="builtin:[email protected]"
�[36mINFO�[0m[0000] Loaded tool                                   �[36mtool�[0m="builtin:[email protected]"
�[36mINFO�[0m[0000] Loaded tool                                   �[36mtool�[0m="builtin:[email protected]"
�[36mINFO�[0m[0000] Loaded tool                                   �[36mtool�[0m="builtin:[email protected]"
�[36mINFO�[0m[0000] Loaded tool                                   �[36mtool�[0m="builtin:[email protected]"
�[36mINFO�[0m[0000] Loading package esp32 from: C:\Users\Вячеслав\AppData\Local\Arduino15\packages\esp32\hardware 
�[36mINFO�[0m[0000] Missing signature file                        �[36mindex�[0m="C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.5\\installed.json"
�[36mINFO�[0m[0000] Adding monitor tool                           �[36mprotocol�[0m=serial �[36mtool�[0m="builtin:serial-monitor"
�[36mINFO�[0m[0000] Loaded platform                               �[36mplatform�[0m="esp32:[email protected]"
�[36mINFO�[0m[0000] Checking existence of 'tools' path: C:\Users\Вячеслав\AppData\Local\Arduino15\packages\esp32\tools 
�[36mINFO�[0m[0000] Loading tools from dir: C:\Users\Вячеслав\AppData\Local\Arduino15\packages\esp32\tools 
�[36mINFO�[0m[0000] Loaded tool                                   �[36mtool�[0m="esp32:esp-rv32@2302"
�[36mINFO�[0m[0000] Loaded tool                                   �[36mtool�[0m="esp32:esp-x32@2302"
�[36mINFO�[0m[0000] Loaded tool                                   �[36mtool�[0m="esp32:esp-xs2@2302"
�[36mINFO�[0m[0000] Loaded tool                                   �[36mtool�[0m="esp32:esp-xs3@2302"
�[36mINFO�[0m[0000] Loaded tool                                   �[36mtool�[0m="esp32:esp32-arduino-libs@idf-release_v5.1-33fbade6"
�[36mINFO�[0m[0000] Loaded tool                                   �[36mtool�[0m="esp32:[email protected]"
�[36mINFO�[0m[0000] Loaded tool                                   �[36mtool�[0m="esp32:[email protected]"
�[36mINFO�[0m[0000] Loaded tool                                   �[36mtool�[0m="esp32:[email protected]"
�[36mINFO�[0m[0000] Loaded tool                                   �[36mtool�[0m="esp32:[email protected]"
�[36mINFO�[0m[0000] Loaded tool                                   �[36mtool�[0m="esp32:[email protected]_20231023"
�[36mINFO�[0m[0000] Loaded tool                                   �[36mtool�[0m="esp32:[email protected]_20231023"
�[37mDEBU�[0m[0000] current best: esp32:[email protected]               �[37mmanaged�[0m=true �[37mversion�[0m=3.0.5
�[36mINFO�[0m[0000] Adding libraries dir                          �[36mdir�[0m="C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.5\\libraries" �[36misSingleLibrary�[0m=false �[36mlocation�[0m=platform
�[36mINFO�[0m[0000] Loading libraries index file                  �[36mindex�[0m="C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\library_index.json"
�[36mINFO�[0m[0000] Adding libraries dir                          �[36mdir�[0m="C:\\Users\\Вячеслав\\Documents\\Arduino\\libraries" �[36misSingleLibrary�[0m=false �[36mlocation�[0m=user
�[37mDEBU�[0m[0001] current best: esp32:[email protected]               �[37mmanaged�[0m=true �[37mversion�[0m=3.0.5
�[37mDEBU�[0m[0001] Required tool                                 �[37mtool�[0m="arduino:[email protected]"
�[37mDEBU�[0m[0001] Required tool                                 �[37mtool�[0m="esp32:esp-rv32@2302"
�[37mDEBU�[0m[0001] Required tool                                 �[37mtool�[0m="esp32:esp-x32@2302"
�[37mDEBU�[0m[0001] Required tool                                 �[37mtool�[0m="esp32:esp-xs2@2302"
�[37mDEBU�[0m[0001] Required tool                                 �[37mtool�[0m="esp32:esp-xs3@2302"
�[37mDEBU�[0m[0001] Required tool                                 �[37mtool�[0m="esp32:esp32-arduino-libs@idf-release_v5.1-33fbade6"
�[37mDEBU�[0m[0001] Required tool                                 �[37mtool�[0m="esp32:[email protected]"
�[37mDEBU�[0m[0001] Required tool                                 �[37mtool�[0m="esp32:[email protected]"
�[37mDEBU�[0m[0001] Required tool                                 �[37mtool�[0m="esp32:[email protected]"
�[37mDEBU�[0m[0001] Required tool                                 �[37mtool�[0m="esp32:[email protected]"
�[37mDEBU�[0m[0001] Required tool                                 �[37mtool�[0m="esp32:[email protected]_20231023"
�[37mDEBU�[0m[0001] Required tool                                 �[37mtool�[0m="esp32:[email protected]_20231023"
�[37mDEBU�[0m[0001] Required tool                                 �[37mtool�[0m="arduino:[email protected]"
�[37mDEBU�[0m[0001] Required tool                                 �[37mtool�[0m="esp32:esp-rv32@2302"
�[37mDEBU�[0m[0001] Required tool                                 �[37mtool�[0m="esp32:esp-x32@2302"
�[37mDEBU�[0m[0001] Required tool                                 �[37mtool�[0m="esp32:esp-xs2@2302"
�[37mDEBU�[0m[0001] Required tool                                 �[37mtool�[0m="esp32:esp-xs3@2302"
�[37mDEBU�[0m[0001] Required tool                                 �[37mtool�[0m="esp32:esp32-arduino-libs@idf-release_v5.1-33fbade6"
�[37mDEBU�[0m[0001] Required tool                                 �[37mtool�[0m="esp32:[email protected]"
�[37mDEBU�[0m[0001] Required tool                                 �[37mtool�[0m="esp32:[email protected]"
�[37mDEBU�[0m[0001] Required tool                                 �[37mtool�[0m="esp32:[email protected]"
�[37mDEBU�[0m[0001] Required tool                                 �[37mtool�[0m="esp32:[email protected]"
�[37mDEBU�[0m[0001] Required tool                                 �[37mtool�[0m="esp32:[email protected]_20231023"
�[37mDEBU�[0m[0001] Required tool                                 �[37mtool�[0m="esp32:[email protected]_20231023"
�[36mINFO�[0m[0001] Adding libraries dir                          �[36mdir�[0m="C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.5\\libraries" �[36misSingleLibrary�[0m=false �[36mlocation�[0m=platform
�[36mINFO�[0m[0001] Adding libraries dir                          �[36mdir�[0m="C:\\Users\\Вячеслав\\Documents\\Arduino\\libraries" �[36misSingleLibrary�[0m=false �[36mlocation�[0m=user
�[37mDEBU�[0m[0002] current best: esp32:[email protected]               �[37mmanaged�[0m=true �[37mversion�[0m=3.0.5
�[37mDEBU�[0m[0002] Required tool                                 �[37mtool�[0m="arduino:[email protected]"
�[37mDEBU�[0m[0002] Required tool                                 �[37mtool�[0m="esp32:esp-rv32@2302"
�[37mDEBU�[0m[0002] Required tool                                 �[37mtool�[0m="esp32:esp-x32@2302"
�[37mDEBU�[0m[0002] Required tool                                 �[37mtool�[0m="esp32:esp-xs2@2302"
�[37mDEBU�[0m[0002] Required tool                                 �[37mtool�[0m="esp32:esp-xs3@2302"
�[37mDEBU�[0m[0002] Required tool                                 �[37mtool�[0m="esp32:esp32-arduino-libs@idf-release_v5.1-33fbade6"
�[37mDEBU�[0m[0002] Required tool                                 �[37mtool�[0m="esp32:[email protected]"
�[37mDEBU�[0m[0002] Required tool                                 �[37mtool�[0m="esp32:[email protected]"
�[37mDEBU�[0m[0002] Required tool                                 �[37mtool�[0m="esp32:[email protected]"
�[37mDEBU�[0m[0002] Required tool                                 �[37mtool�[0m="esp32:[email protected]"
�[37mDEBU�[0m[0002] Required tool                                 �[37mtool�[0m="esp32:[email protected]_20231023"
�[37mDEBU�[0m[0002] Required tool                                 �[37mtool�[0m="esp32:[email protected]_20231023"
FQBN: esp32:esp32:esp32
Using board 'esp32' from platform in folder: C:\Users\Вячеслав\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.5
Using core 'esp32' from platform in folder: C:\Users\Вячеслав\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.5

�[37mDEBU�[0m[0003] Looking for recipes like recipe.hooks.prebuild*.pattern 
�[37mDEBU�[0m[0003] Running recipe: recipe.hooks.prebuild.1.pattern 
cmd /c if exist "E:\\Arduino\\espshell\\partitions.csv" COPY /y "E:\\Arduino\\espshell\\partitions.csv" "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B\\partitions.csv"
�[37mDEBU�[0m[0003] Running recipe: recipe.hooks.prebuild.2.pattern 
�[37mDEBU�[0m[0003] Running recipe: recipe.hooks.prebuild.3.pattern 
cmd /c if not exist "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B\\partitions.csv" if exist "C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.5\\variants\\esp32\\partitions.csv" COPY "C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.5\\variants\\esp32\\partitions.csv" "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B\\partitions.csv"
cmd /c if not exist "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B\\partitions.csv" COPY "C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.5\\tools\\partitions\\default.csv" "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B\\partitions.csv"
�[37mDEBU�[0m[0003] Running recipe: recipe.hooks.prebuild.4.pattern 
cmd /c IF EXIST "E:\\Arduino\\espshell\\bootloader.bin" ( COPY /y "E:\\Arduino\\espshell\\bootloader.bin" "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B\\espshell.ino.bootloader.bin" ) ELSE ( IF EXIST "C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.5\\variants\\esp32\\bootloader.bin" ( COPY "C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.5\\variants\\esp32\\bootloader.bin" "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B\\espshell.ino.bootloader.bin" ) ELSE ( "C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esptool_py\\4.6\\esptool.exe" --chip esp32 elf2image --flash_mode dio --flash_freq 80m --flash_size 4MB -o "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B\\espshell.ino.bootloader.bin" "C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-33fbade6\\esp32\\bin\\bootloader_qio_80m.elf" ) )
esptool.py v4.6
Creating esp32 image...
Merged 1 ELF section
Successfully created esp32 image.
�[37mDEBU�[0m[0004] Running recipe: recipe.hooks.prebuild.5.pattern 
cmd /c if exist "E:\\Arduino\\espshell\\build_opt.h" COPY /y "E:\\Arduino\\espshell\\build_opt.h" "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B\\build_opt.h"
�[37mDEBU�[0m[0004] Running recipe: recipe.hooks.prebuild.6.pattern 
�[37mDEBU�[0m[0004] Running recipe: recipe.hooks.prebuild.7.pattern 
cmd /c if not exist "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B\\build_opt.h" type nul > "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B\\build_opt.h"
cmd /c type nul > "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B/file_opts"
�[37mDEBU�[0m[0004] Checking previous results for C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\espshell.ino.cpp (result = C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\espshell.ino.cpp.o, dep = C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\espshell.ino.cpp.d) 
�[37mDEBU�[0m[0004] C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\espshell.ino.cpp newer than C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\espshell.ino.cpp.o 
Detecting libraries used...
�[37mDEBU�[0m[0007] Checking previous results for C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\esp32cam_handlers.c (result = C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\esp32cam_handlers.c.o, dep = C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\esp32cam_handlers.c.d) 
�[37mDEBU�[0m[0007] Checking previous results for C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\esp32cam_keywords.c (result = C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\esp32cam_keywords.c.o, dep = C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\esp32cam_keywords.c.d) 
�[37mDEBU�[0m[0007] Checking previous results for C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\espshell.c (result = C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\espshell.c.o, dep = C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\espshell.c.d) 
C:\Users\Вячеслав\AppData\Local\Arduino15\packages\esp32\tools\esp-x32\2302/bin/xtensa-esp32-elf-g++ -c @C:\Users\Вячеслав\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-33fbade6\esp32/flags/cpp_flags -w -Os -Werror=return-type -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10607 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 -DARDUINO_BOARD="ESP32_DEV" -DARDUINO_VARIANT="esp32" -DARDUINO_PARTITION_default -DARDUINO_HOST_OS="windows" -DARDUINO_FQBN="esp32:esp32:esp32" -DESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_RUNNING_CORE=1 -DARDUINO_EVENT_RUNNING_CORE=1 -DARDUINO_USB_CDC_ON_BOOT=0 @C:\Users\Вячеслав\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-33fbade6\esp32/flags/defines -IE:\Arduino\espshell -iprefix C:\Users\Вячеслав\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-33fbade6\esp32/include/ @C:\Users\Вячеслав\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-33fbade6\esp32/flags/includes -IC:\Users\Вячеслав\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-33fbade6\esp32/qio_qspi/include -IC:\Users\Вячеслав\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.5\cores\esp32 -IC:\Users\Вячеслав\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.5\variants\esp32 @C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B/build_opt.h @C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B/file_opts C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\espshell.ino.cpp -o nul
Using cached library dependencies for file: C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\esp32cam_handlers.c
Using cached library dependencies for file: C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\esp32cam_keywords.c
Using cached library dependencies for file: C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\espshell.c
Generating function prototypes...
�[37mDEBU�[0m[0011] Looking for recipes like recipe.hooks.sketch.prebuild*.pattern 
�[37mDEBU�[0m[0011] Checking previous results for C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\esp32cam_handlers.c (result = C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\esp32cam_handlers.c.o, dep = C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\esp32cam_handlers.c.d) 
�[37mDEBU�[0m[0011] Checking previous results for C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\esp32cam_keywords.c (result = C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\esp32cam_keywords.c.o, dep = C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\esp32cam_keywords.c.d) 
�[37mDEBU�[0m[0011] Checking previous results for C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\espshell.c (result = C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\espshell.c.o, dep = C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\espshell.c.d) 
C:\Users\Вячеслав\AppData\Local\Arduino15\packages\esp32\tools\esp-x32\2302/bin/xtensa-esp32-elf-g++ -c @C:\Users\Вячеслав\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-33fbade6\esp32/flags/cpp_flags -w -Os -Werror=return-type -w -x c++ -E -CC -DF_CPU=240000000L -DARDUINO=10607 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 -DARDUINO_BOARD="ESP32_DEV" -DARDUINO_VARIANT="esp32" -DARDUINO_PARTITION_default -DARDUINO_HOST_OS="windows" -DARDUINO_FQBN="esp32:esp32:esp32" -DESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_RUNNING_CORE=1 -DARDUINO_EVENT_RUNNING_CORE=1 -DARDUINO_USB_CDC_ON_BOOT=0 @C:\Users\Вячеслав\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-33fbade6\esp32/flags/defines -IE:\Arduino\espshell -iprefix C:\Users\Вячеслав\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-33fbade6\esp32/include/ @C:\Users\Вячеслав\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-33fbade6\esp32/flags/includes -IC:\Users\Вячеслав\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-33fbade6\esp32/qio_qspi/include -IC:\Users\Вячеслав\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.5\cores\esp32 -IC:\Users\Вячеслав\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.5\variants\esp32 @C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B/build_opt.h @C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B/file_opts C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\espshell.ino.cpp -o C:\Temp\2635229461\sketch_merged.cpp
C:\Users\Вячеслав\AppData\Local\Arduino15\packages\builtin\tools\ctags\5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives C:\Temp\2635229461\sketch_merged.cpp
Компиляция скетча...
Используем предварительно скомпилированный файл: C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\esp32cam_handlers.c.o
�[37mDEBU�[0m[0011] Checking previous results for C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\espshell.ino.cpp (result = C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\espshell.ino.cpp.o, dep = C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\espshell.ino.cpp.d) 
�[37mDEBU�[0m[0011] C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\espshell.ino.cpp newer than C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\espshell.ino.cpp.o 
"C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp-x32\\2302/bin/xtensa-esp32-elf-g++" -MMD -c "@C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-33fbade6\\esp32/flags/cpp_flags" -w -Os -Werror=return-type -DF_CPU=240000000L -DARDUINO=10607 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"ESP32_DEV\"" "-DARDUINO_VARIANT=\"esp32\"" -DARDUINO_PARTITION_default "-DARDUINO_HOST_OS=\"windows\"" "-DARDUINO_FQBN=\"esp32:esp32:esp32\"" -DESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_RUNNING_CORE=1 -DARDUINO_EVENT_RUNNING_CORE=1 -DARDUINO_USB_CDC_ON_BOOT=0 "@C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-33fbade6\\esp32/flags/defines" "-IE:\\Arduino\\espshell" -iprefix "C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-33fbade6\\esp32/include/" "@C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-33fbade6\\esp32/flags/includes" "-IC:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-33fbade6\\esp32/qio_qspi/include" "-IC:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.5\\cores\\esp32" "-IC:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.5\\variants\\esp32" "@C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B/build_opt.h" "@C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B/file_opts" "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B\\sketch\\espshell.ino.cpp" -o "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B\\sketch\\espshell.ino.cpp.o"
Используем предварительно скомпилированный файл: C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\espshell.c.o
Используем предварительно скомпилированный файл: C:\Users\Вячеслав\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B\sketch\esp32cam_keywords.c.o
�[37mDEBU�[0m[0014] Looking for recipes like recipe.hooks.sketch.postbuild*.pattern 
�[37mDEBU�[0m[0014] Looking for recipes like recipe.hooks.libraries.prebuild*.pattern 
Compiling libraries...
�[37mDEBU�[0m[0014] Looking for recipes like recipe.hooks.libraries.postbuild*.pattern 
�[37mDEBU�[0m[0014] Looking for recipes like recipe.hooks.core.prebuild*.pattern 
�[37mDEBU�[0m[0014] Running recipe: recipe.hooks.core.prebuild.1.pattern 
Compiling core...
cmd /c echo -DARDUINO_CORE_BUILD > "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B/file_opts"
�[37mDEBU�[0m[0015] Looking for recipes like recipe.hooks.core.postbuild*.pattern 
�[37mDEBU�[0m[0015] Running recipe: recipe.hooks.core.postbuild.1.pattern 
Using precompiled core: C:\Users\Вячеслав\AppData\Local\arduino\cores\esp32_esp32_esp32_f5c45253b63d5b333d4079b0a6366da8\core.a
cmd /c type nul > "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B/file_opts"
�[37mDEBU�[0m[0015] Looking for recipes like recipe.hooks.linking.prelink*.pattern 
Linking everything together...
"C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp-x32\\2302/bin/xtensa-esp32-elf-g++" "@C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-33fbade6\\esp32/flags/ld_flags" "@C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-33fbade6\\esp32/flags/ld_scripts" "-Wl,--Map=C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B/espshell.ino.map" "-LC:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-33fbade6\\esp32/lib" "-LC:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-33fbade6\\esp32/ld" "-LC:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-33fbade6\\esp32/qio_qspi" -Wl,--wrap=esp_panic_handler -Wl,--start-group "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B\\sketch\\esp32cam_handlers.c.o" "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B\\sketch\\esp32cam_keywords.c.o" "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B\\sketch\\espshell.c.o" "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B\\sketch\\espshell.ino.cpp.o" "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\cores\\esp32_esp32_esp32_f5c45253b63d5b333d4079b0a6366da8\\core.a" "@C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-33fbade6\\esp32/flags/ld_libs" -Wl,--end-group -Wl,-EL -o "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B/espshell.ino.elf"
�[37mDEBU�[0m[0020] Looking for recipes like recipe.hooks.linking.postlink*.pattern 
�[37mDEBU�[0m[0020] Looking for recipes like recipe.hooks.objcopy.preobjcopy*.pattern 
�[37mDEBU�[0m[0020] Looking for recipes like recipe.objcopy.*.pattern 
�[37mDEBU�[0m[0020] Running recipe: recipe.objcopy.bin.pattern   
"C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esptool_py\\4.6/esptool.exe" --chip esp32 elf2image --flash_mode dio --flash_freq 80m --flash_size 4MB --elf-sha256-offset 0xb0 -o "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B/espshell.ino.bin" "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B/espshell.ino.elf"
esptool.py v4.6
Creating esp32 image...
Merged 2 ELF sections
Successfully created esp32 image.
�[37mDEBU�[0m[0020] Running recipe: recipe.objcopy.partitions.bin.pattern 
"C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.5\\tools\\gen_esp32part.exe" -q "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B/partitions.csv" "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B/espshell.ino.partitions.bin"
�[37mDEBU�[0m[0021] Looking for recipes like recipe.hooks.objcopy.postobjcopy*.pattern 
�[37mDEBU�[0m[0021] Running recipe: recipe.hooks.objcopy.postobjcopy.1.pattern 
cmd /c if exist "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B\\libraries\\Insights" "C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.5\\tools\\gen_insights_package.exe" "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B" espshell.ino "E:\\Arduino\\espshell"
�[37mDEBU�[0m[0021] Running recipe: recipe.hooks.objcopy.postobjcopy.2.pattern 
�[37mDEBU�[0m[0021] Running recipe: recipe.hooks.objcopy.postobjcopy.3.pattern 
cmd /c if exist "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B\\libraries\\ESP_SR" if exist "C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-33fbade6\\esp32\\esp_sr\\srmodels.bin" COPY /y "C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp32-arduino-libs\\idf-release_v5.1-33fbade6\\esp32\\esp_sr\\srmodels.bin" "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B\\srmodels.bin"
"C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esptool_py\\4.6/esptool.exe" --chip esp32 merge_bin -o "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B/espshell.ino.merged.bin" --fill-flash-size 4MB --flash_mode keep --flash_freq keep --flash_size keep 0x1000 "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B/espshell.ino.bootloader.bin" 0x8000 "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B/espshell.ino.partitions.bin" 0xe000 "C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.5/tools/partitions/boot_app0.bin" 0x10000 "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B/espshell.ino.bin"
esptool.py v4.6
Wrote 0x400000 bytes to file C:\Users\������������������������\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B/espshell.ino.merged.bin, ready to flash to offset 0x0
�[37mDEBU�[0m[0021] Looking for recipes like recipe.hooks.postbuild*.pattern 

"C:\\Users\\Вячеслав\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esp-x32\\2302/bin/xtensa-esp32-elf-size" -A "C:\\Users\\Вячеслав\\AppData\\Local\\arduino\\sketches\\C7FAA3C305436E6DB4A2D213C3851A1B/espshell.ino.elf"
Скетч использует 377173 байт (28%) памяти устройства. Всего доступно 1310720 байт.
Глобальные переменные используют 22400 байт (6%) динамической памяти, оставляя 305280 байт для локальных переменных. Максимум: 327680 байт.

�[92mUsed platform�[0m �[92mVersion�[0m �[90mPath�[0m
�[93mesp32:esp32�[0m   3.0.5   �[90mC:\Users\Вячеслав\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.5�[0m

@vvb333007
Copy link
Author

vvb333007 commented Oct 16, 2024

The only problem with encoding is this lines:

esptool.py v4.6
Wrote 0x400000 bytes to file C:\Users\��������\AppData\Local\arduino\sketches\C7FAA3C305436E6DB4A2D213C3851A1B/espshell.ino.merged.bin, ready to flash to offset 0x0

But this does not affect compiling or/and uploading.

JFY: lines "Используем предварительно скомпилированный файл:" in the output in the previous comment mean "Using precompiled file". There are both english and russian messages about using precompiled files

@cmaglie cmaglie added the conclusion: resolved Issue was resolved label Oct 16, 2024
@cmaglie
Copy link
Member

cmaglie commented Oct 16, 2024

The only problem with encoding is this lines:

That line is the output of esptool, the Arduino CLI has no control over it. BTW it's an info message, I guess it won't affect the compile/upload outcome.

@cmaglie cmaglie added this to the Arduino CLI v1.1.0 milestone Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: build-process Related to the sketch build process type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants